-
Notifications
You must be signed in to change notification settings - Fork 99
buf v2 config #859
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
Merged
Merged
buf v2 config #859
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
ff58180
Bump pinned buf to v1.49.0 and drop the unused grpc-gateway dep
dandavison d81350b
Migrate buf.yaml and buf.lock to v2
dandavison 4132ba7
Document the excludes and rename DEFAULT to STANDARD
dandavison aedf086
Delete apparently unused buf.gen.yaml
dandavison 90c110e
Remove two unnecessary exceptions
dandavison 187c7f0
drop auto-added except
dandavison File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,18 +1,9 @@ | ||
| # Generated by buf. DO NOT EDIT. | ||
| version: v1 | ||
| version: v2 | ||
| deps: | ||
| - remote: buf.build | ||
| owner: googleapis | ||
| repository: googleapis | ||
| - name: buf.build/googleapis/googleapis | ||
| commit: 004180b77378443887d3b55cabc00384 | ||
| digest: shake256:d26c7c2fd95f0873761af33ca4a0c0d92c8577122b6feb74eb3b0a57ebe47a98ab24a209a0e91945ac4c77204e9da0c2de0020b2cedc27bdbcdea6c431eec69b | ||
| - remote: buf.build | ||
| owner: grpc-ecosystem | ||
| repository: grpc-gateway | ||
| commit: 6467306b4f624747aaf6266762ee7a1c | ||
| digest: shake256:833d648b99b9d2c18b6882ef41aaeb113e76fc38de20dda810c588d133846e6593b4da71b388bcd921b1c7ab41c7acf8f106663d7301ae9e82ceab22cf64b1b7 | ||
| - remote: buf.build | ||
| owner: temporalio | ||
| repository: nexus-annotations | ||
| digest: b5:e8f475fe3330f31f5fd86ac689093bcd274e19611a09db91f41d637cb9197881ce89882b94d13a58738e53c91c6e4bae7dc1feba85f590164c975a89e25115dc | ||
| - name: buf.build/temporalio/nexus-annotations | ||
| commit: 599b78404fbe4e78b833d527a1d0da40 | ||
| digest: shake256:1f41ef11ccbf31d7318b0fe1915550ba6567c99dc94694d60b117fc1ffc756290ba9766c58b403986f079e2b861b42538e5f8cf0495f744cd390d223b81854ca | ||
| digest: b5:feb0298a2e7e60058a5dee533e166e152bd0c3b9f776170946fba80737722022a39a65b132af1028d150d2c5bc52990694f60fbcf89fbb9693f7a6b7803d9203 |
This file contains hidden or 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,24 +1,23 @@ | ||
| version: v1 | ||
| name: buf.build/temporalio/api | ||
| version: v2 | ||
| modules: | ||
| - path: . | ||
| name: buf.build/temporalio/api | ||
| excludes: | ||
| # Vendored for api-linter (can't read the BSR); excluded so buf sees them once. | ||
| - nexusannotations | ||
| deps: | ||
| - buf.build/grpc-ecosystem/grpc-gateway | ||
| - buf.build/googleapis/googleapis | ||
| - buf.build/temporalio/nexus-annotations | ||
| build: | ||
| excludes: | ||
| # Buf won't accept a local dependency on the google protos but we need them | ||
| # to run api-linter, so just tell buf it ignore it | ||
| # Same for nexusannotations - local copy for api-linter, BSR dep for buf | ||
| - nexusannotations | ||
| breaking: | ||
| lint: | ||
| use: | ||
| - WIRE_JSON | ||
| - STANDARD | ||
| ignore: | ||
| - cmd | ||
| lint: | ||
| disallow_comment_ignores: true | ||
| breaking: | ||
| use: | ||
| - DEFAULT | ||
| - WIRE_JSON | ||
| ignore: | ||
| - cmd | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we never used this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct.