-
Notifications
You must be signed in to change notification settings - Fork 606
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
add latest buf generation #1614
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1614 +/- ##
=======================================
Coverage 19.60% 19.60%
=======================================
Files 242 242
Lines 32279 32279
=======================================
Hits 6329 6329
Misses 24792 24792
Partials 1158 1158 Continue to review full report at Codecov.
|
currently, it faces a weird problem of: interfacetype only supports messages with exactly one oneof declaration here is where the error comes from: Downloading gocosmos binary from cosmos will solve this: go get github.com/cosmos/gogoproto/protoc-gen-gocosmos 2>/dev/null |
Is this different then whats going on in #1589 |
hi :) I thinik that you might be able to use cosmos-proto to resolve this. Maybe that's a 46 thing though? |
oh, it is the same, I will move over that issue |
@alexanderbez ser, can you check over .yaml files that I have written here as well as new_protocgen.sh the generation is running
|
@nghuyenthevinh2000 how does this differ from my PR? I'd rather merge my PR (removing pulsar/ORM stuff) as it's a direct drop-in from the SDK. |
|
To be honest, I'd rather stay in line with what the SDK has. This includes using 0.7 proto version. |
I'm not sure I follow? Proto docs were and still are generated via |
I am in favor of only doing this upgrade when we switch to an SDK version that does it as well / changing things upstream in the SDK. I would like everything around build process / proto generation to be as standard as possible, despite costs this may induce relative to the ideal. Maintaining alternate protobuf generation doesn't seem like a great reward vs maintenance payoff to me. I currently build proto-docs via Thanks for the interest in changing things here! I'd personally prefer closing this though / making isolated issues / PR's for discussing further problems we may be having / if theres a setup problem your having. |
love to hear opinions. I will close this one for further discussion. |
Closes: #XXX
Protobuf generation with buf has gone a long way.
buf latest version: 1.4.0 has deleted "buf protoc".
the last version of buf that still supports "buf protoc" is: https://github.com/bufbuild/buf/releases/tag/v1.0.0-rc12
this creates frustration for engineers using latest version of buf since they will have to first figure out why "buf protoc" is gone when running ancient protocgen.sh
this pr intends to upgrade osmosis proto generation to latest with benefits:
(E.g.: This pull request improves documation of area A by adding ....
Brief Changelog
(for example:)
Testing and Verifying
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Documentation and Release Note
Unreleased
section inCHANGELOG.md
? (yes / no)x/<module>/spec/
) / Osmosis docs repo / not documented)