Skip to content

Tweak protogen to not change protos from cloud#24688

Merged
espadolini merged 2 commits intomasterfrom
espadolini/prehog-protos-gen
Apr 18, 2023
Merged

Tweak protogen to not change protos from cloud#24688
espadolini merged 2 commits intomasterfrom
espadolini/prehog-protos-gen

Conversation

@espadolini
Copy link
Copy Markdown
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
Copy link
Copy Markdown

@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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants