Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak protogen to not change protos from cloud #24688

Merged
merged 2 commits into from
Apr 18, 2023

Conversation

espadolini
Copy link
Contributor

This PR tweaks the protogen for prehog protos so that we don't need any change when copying the protos over from the tip of gravitational/cloud.

In addition, it changes genproto.sh to list explicit exceptions to the protoc-gen-go+grpc generation rather than generating everything with gogoproto just to overwrite it.

The change to strategy: all (from the default of strategy: directory) doesn't affect codegen but improves generation speed a bit - it can't be used with protoc-gen-gogofast, however.

Paired with gravitational/cloud#4177.

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from tobiaszheller April 18, 2023 13:53
@espadolini espadolini enabled auto-merge April 18, 2023 14:04
@espadolini espadolini added this pull request to the merge queue Apr 18, 2023
Merged via the queue into master with commit 2966be6 Apr 18, 2023
@espadolini espadolini deleted the espadolini/prehog-protos-gen branch April 18, 2023 14:48
@public-teleport-github-review-bot

@espadolini See the table below for backport results.

Branch Result
branch/v11 Failed
branch/v12 Failed
branch/v13 Create PR

espadolini added a commit that referenced this pull request Apr 18, 2023
* Tweak protogen to not change protos from cloud

* Use strategy: all whenever possible

* Sync protos from gravitational/cloud
espadolini added a commit that referenced this pull request Apr 18, 2023
* Tweak protogen to not change protos from cloud

* Use strategy: all whenever possible

* Sync protos from gravitational/cloud
espadolini added a commit that referenced this pull request Apr 18, 2023
* Tweak protogen to not change protos from cloud

* Use strategy: all whenever possible

* Sync protos from gravitational/cloud
espadolini added a commit that referenced this pull request Apr 18, 2023
* Tweak protogen to not change protos from cloud

* Use strategy: all whenever possible

* Sync protos from gravitational/cloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants