Thane Thomson
72bbe64da7
proto: update proto generation to use buf ( #7975 )
* Hard-code go_package option for .proto files
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Automatically relocate generated ABCI types after proto-gen
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Skip building gogoproto (i.e. only build our types)
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove unnecessary proto generation scripts
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Upgrade buf config from v1beta1 to v1
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Add simple proto generation script
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Replace buf-based protobuf generation with simple protoc-based approach
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove custom buf-based Docker image generation config and Dockerfile
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Adopt Cosmos SDK's approach to Protobuf linting and breakage checking in CI
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Suppress command echo when running proto checks
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Fix proto-check workflow YAML indentation
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Restore proto-format target
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Replace custom BASH script with make equivalent
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove proto linting/breaking changes CI checks after discussion today
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove dangling reference to CI workflow that no longer exists
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Update contributing guidelines relating to protos
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Use buf instead for generating protos
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove unused buf config for gogoprotobuf
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Add reminder for if we migrate fully to buf
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Restore protopackage script for #8065
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Fix permissions on protopackage script
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Update contributing guidelines to show building of protos using buf
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Fix breaking changes check and add disclaimer
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Expand on contributing guidelines for clarity
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Re-remove old proto workflows
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Add buf-based proto linting workflow in CI
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Superficially reorder proto targets
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Fix proto lints
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Fix GA workflow YAML indentation
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Temporarily use forked version of mlc
Use forked version of markdown-link-check until
https://github.com/gaurav-nelson/github-action-markdown-link-check/pull/126
lands.
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Temporarily disable markdown link checker
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove gogo protos - superseded by version from buf registry
Signed-off-by: Thane Thomson <connect@thanethomson.com>
2 years ago
William Banfield
1c34d17240
proto: rebuild the proto files from the spec repository ( #7291 )
* proto: rebuild the proto files from the spec repository
* remove proto checks
3 years ago
William Banfield
a00de7199f
update proto generation and testing pipelines ( #358 )
This pull request aims to make it possible to generate, format, and lint the protos within this repo.
To accomplish that end, the Dockerfile containing common tools for building the tendermint protos has been moved into this repository and several accompanying changes were made to streamline the proto generation process.
3 years ago
Callum Waters
68ca65f5d7
pex: remove legacy proto messages ( #7147 )
This PR implements the proto changes made in https://github.com/tendermint/spec/pull/352 , removing the legacy messages that were used in the pex reactor.
3 years ago
William Banfield
41e681293c
proto: move proto files under the correct directory related to their package name ( #344 )
3 years ago
Marko
eaa948ab7d
proto: bump gogoproto (1.3.2) ( #5886 )
## Description
- bump gogoproto (1.3.2)
- regenerate proto files
Closes: #XXX
3 years ago
Callum Waters
2f5e454892
remove unused version struct ( #5656 )
4 years ago
Erik Grinaker
66ed8ec39d
proto: reorganize Protobuf schemas ( #5102 )
Reorganizes the Protobuf schemas. It is mostly bikeshedding, so if something is contentious or causes a lot of extra work then I'm fine with reverting. Some Protobuf and Go import paths will change.
* Move `abci/types/types.proto` to `abci/types.proto`.
* Move `crypto/keys/types.proto` and `crypto/merkle/types.proto` to `crypto/keys.proto` and `crypto/proof.proto`.
* Drop the use of `msgs` in filenames, as "message" is a very overloaded term (all Protobuf types are messages, and we also have `message Message`). Use `types.proto` as a catch-all, and otherwise name files by conceptual grouping instead of message kind.
4 years ago
Marko
dedf0d2350
proto: folder structure adhere to buf ( #5025 )
4 years ago