Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ api-linter-install:

buf-install:
printf $(COLOR) "Install/update buf..."
go install github.com/bufbuild/buf/cmd/buf@v1.27.0
go install github.com/bufbuild/buf/cmd/buf@v1.49.0

##### Sync external proto dependencies #####
sync-nexus-annotations:
Expand All @@ -112,12 +112,12 @@ api-linter:
$(STAMPDIR):
mkdir $@

$(STAMPDIR)/buf-mod-prune: $(STAMPDIR) buf.yaml
$(STAMPDIR)/buf-dep-prune: $(STAMPDIR) buf.yaml
printf $(COLOR) "Pruning buf module"
buf mod prune
buf dep prune
touch $@

buf-lint: $(STAMPDIR)/buf-mod-prune
buf-lint: $(STAMPDIR)/buf-dep-prune
printf $(COLOR) "Run buf linter..."
(cd $(PROTO_ROOT) && buf lint)

Expand Down
20 changes: 0 additions & 20 deletions buf.gen.yaml

This file was deleted.

19 changes: 5 additions & 14 deletions buf.lock
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
29 changes: 14 additions & 15 deletions buf.yaml
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.
- google
- nexusannotations
deps:
- buf.build/grpc-ecosystem/grpc-gateway

Copy link
Copy Markdown
Contributor

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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Correct.

- 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
- google
# Same for nexusannotations - local copy for api-linter, BSR dep for buf
- nexusannotations
breaking:
lint:
use:
- WIRE_JSON
- STANDARD
ignore:
- cmd
- google
lint:
disallow_comment_ignores: true
breaking:
use:
- DEFAULT
- WIRE_JSON
ignore:
- google
- cmd
Loading