-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate buf config files to v2 (#4452)
* migrate buf config files to v2 * add changelog * fix buf files * v1 for gen files * bump buf * v2 for proto buf config * rollback gen version * bump buf * bump mod.plush deps * fix buf yaml parse * add name to module buf yaml config
- Loading branch information
Showing
25 changed files
with
419 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: v2 | ||
modules: | ||
- path: proto | ||
name: buf.build/ignitehq/cli | ||
lint: | ||
use: | ||
- DEFAULT | ||
- FILE_LOWER_SNAKE_CASE | ||
except: | ||
- COMMENT_FIELD | ||
- FIELD_NOT_REQUIRED | ||
- PACKAGE_NO_IMPORT_CYCLE | ||
- PACKAGE_VERSION_SUFFIX | ||
- RPC_REQUEST_STANDARD_NAME | ||
- SERVICE_SUFFIX | ||
- UNARY_RPC | ||
disallow_comment_ignores: true | ||
breaking: | ||
use: | ||
- FILE | ||
except: | ||
- EXTENSION_NO_DELETE | ||
- FIELD_SAME_DEFAULT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by buf. DO NOT EDIT. | ||
version: v2 | ||
deps: | ||
- name: buf.build/cosmos/cosmos-proto | ||
commit: 04467658e59e44bbb22fe568206e1f70 | ||
digest: b5:8058c0aadbee8c9af67a9cefe86492c6c0b0bd5b4526b0ec820507b91fc9b0b5efbebca97331854576d2d279b0b3f5ed6a7abb0640cb640c4186532239c48fc4 | ||
- name: buf.build/cosmos/cosmos-sdk | ||
commit: 05419252bcc241ea8023acf1ed4cadc5 | ||
digest: b5:bec474e46596bf183fa85eb5c33106d432992ae696785c1c5fc1ce2a8f8819cab80c89d0b11557f3e916fd65133451fca4471a05f75ed163c688a8964ecb97b8 | ||
- name: buf.build/cosmos/gogo-proto | ||
commit: 88ef6483f90f478fb938c37dde52ece3 | ||
digest: b5:f0c69202c9bca9672dc72a9737ea9bc83744daaed2b3da77e3a95b0e53b86dee76b5a7405b993181d6c863fd64afaca0976a302f700d6c4912eb1692a1782c0a | ||
- name: buf.build/cosmos/ics23 | ||
commit: dc427cb4519143d8996361c045a29ad7 | ||
digest: b5:8693e72e230bfaf58a88a47a4093ba99f6252c1957a45582567959b38a8563e2abd11443372283d75f4f2306a7e3cc9bf63604d284a016c11966fca4b74b7a28 | ||
- name: buf.build/googleapis/googleapis | ||
commit: acd896313c55464b993332136ded1b6e | ||
digest: b5:025d83e25193feb8dac5e5576113c8737006218b3b09fbc0d0ff652614da5424b336edb15bea139eb90d14eba656774a979d1fbdae81cbab2013932b84b98f53 | ||
- name: buf.build/protocolbuffers/wellknowntypes | ||
commit: 384f8deef6ae4110b57d996aad0032c4 | ||
digest: b5:8b023f5c2a872028738eef7ca2323d17379d05332f95fad1d3db3d356ad29f0644bf5868a14069f350bb967a7c8f4bd010228d2deb482e05f56ffd1a5bfc79b3 | ||
- name: buf.build/tendermint/tendermint | ||
commit: 33ed361a90514289beabf3189e1d7665 | ||
digest: b5:72e7b167e6a474c8ed7763e3fc811d756d48dd0e70d897c1d3b661656aa4ad3cf2adabadf1fa9a8fd644567678a1acd27bec139895b0469258cfa4c3ebae7aab |
This file was deleted.
Oops, something went wrong.
35 changes: 19 additions & 16 deletions
35
...templates/app/files/{{protoDir}}/buf.yaml → ignite/templates/app/files/buf.yaml.plush
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,32 @@ | ||
# This file is auto-generated from Ignite. You can edit | ||
# the file content but do not change the file name or path. | ||
# | ||
# buf.yaml | ||
# | ||
version: v1 | ||
version: v2 | ||
modules: | ||
- path: <%= ProtoDir %> | ||
deps: | ||
- buf.build/protocolbuffers/wellknowntypes | ||
- buf.build/cosmos/cosmos-sdk | ||
- buf.build/cosmos/cosmos-proto | ||
- buf.build/cosmos/cosmos-sdk | ||
- buf.build/cosmos/gogo-proto | ||
- buf.build/googleapis/googleapis | ||
- buf.build/cosmos/ics23 | ||
breaking: | ||
use: | ||
- FILE | ||
- buf.build/googleapis/googleapis | ||
- buf.build/protocolbuffers/wellknowntypes | ||
lint: | ||
use: | ||
- DEFAULT | ||
- COMMENTS | ||
- DEFAULT | ||
- FILE_LOWER_SNAKE_CASE | ||
except: | ||
- UNARY_RPC | ||
- COMMENT_FIELD | ||
- SERVICE_SUFFIX | ||
- FIELD_NOT_REQUIRED | ||
- PACKAGE_NO_IMPORT_CYCLE | ||
- PACKAGE_VERSION_SUFFIX | ||
- RPC_REQUEST_STANDARD_NAME | ||
- SERVICE_SUFFIX | ||
- UNARY_RPC | ||
ignore: | ||
- tendermint | ||
- proto/tendermint | ||
disallow_comment_ignores: true | ||
breaking: | ||
use: | ||
- FILE | ||
except: | ||
- EXTENSION_NO_DELETE | ||
- FIELD_SAME_DEFAULT |
Oops, something went wrong.