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

Setup buf generation plugins #11491

Closed
1 of 5 tasks
Tracked by #19503
aaronc opened this issue Mar 29, 2022 · 3 comments
Closed
1 of 5 tasks
Tracked by #19503

Setup buf generation plugins #11491

aaronc opened this issue Mar 29, 2022 · 3 comments

Comments

@aaronc
Copy link
Member

aaronc commented Mar 29, 2022

Review documentation here on how to use buf remote generation: https://docs.buf.build/bsr/remote-generation/overview. See https://docs.buf.build/bsr/remote-generation/plugin-example for an example of creating a plugin

@tac0turtle
Copy link
Member

this is blocked on removing the replace directive in the sdk.

@aaronc
Copy link
Member Author

aaronc commented Apr 4, 2022

Not necessarily. We can also create a plug-in for the current code generator

@julienrbrt
Copy link
Member

As the Cosmos SDK is an open-source project, we need public plugins for chain developers to use.
Namely, protoc-gen-pulsar (https://github.com/cosmos/cosmos-proto) and protoc-gen-gogo (https://github.com/cosmos/gogoproto).
We wanted as well to allow the usage of generated sdk thanks to the public plugin plugins, as we do for the default protocol buffer plugin.
However, due to buf change of pricing (https://buf.build/pricing) and them not having pricing for open-source project, I believe we cannot implement that anymore and neither make use of plugins and generated sdk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

3 participants