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

build: push automatically to buf #94

Closed
wants to merge 2 commits into from
Closed

build: push automatically to buf #94

wants to merge 2 commits into from

Conversation

julienrbrt
Copy link
Member

@julienrbrt julienrbrt commented Nov 9, 2022

Changes in cosmos.proto aren't automatically pushed to buf: https://buf.build/cosmos/cosmos-proto/commits/main
I have already added the buf token.

To be merged AFTER #93

@julienrbrt julienrbrt requested a review from a team as a code owner November 9, 2022 13:59
Copy link
Contributor

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LTGM

Copy link
Contributor

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, just thinking, do we want to push to buf on each change? This would make PRs like #93 proto-breaking.

How about pushing to buf on tag?

@julienrbrt
Copy link
Member Author

julienrbrt commented Nov 9, 2022

Wait, just thinking, do we want to push to buf on each changed? This would make PRs like #93 proto-breaking.

How about pushing to buf on tag?

Currently, this is what we do for the SDK (push on every proto changes). Then we have a commit that is linked to a version until buf improve their tagging mechanism.
The issue of pushing on tag is if we have minor version for cosmos-proto, then it will overwrite the latest changes on buf too.
Users should pin the version in their buf.yaml: https://github.com/cosmos/ibc-go/blob/main/proto/buf.yaml.

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

Successfully merging this pull request may close these issues.

2 participants