Skip to content
Open
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
9 changes: 5 additions & 4 deletions buf.gen-golang.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# buf.gen.yaml sets up the generation configuration for all of our plugins.
# Note: buf does not allow multi roots that are within each other; as a result, the common-protos folders are
# symlinked into the top level directory.
version: v1
version: v2
plugins:
- name: go
out: .
opt: paths=source_relative
- local: protoc-gen-go
out: .
opt:
- paths=source_relative
34 changes: 21 additions & 13 deletions buf.gen-noncrd.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
version: v1
version: v2
plugins:
- name: go
out: .
opt: paths=source_relative
- name: go-grpc
out: .
opt: paths=source_relative
- name: docs
out: .
opt: warnings=false,dictionary=./dictionaries/en-US,custom_word_list=./dictionaries/custom.txt,per_file=true,mode=html_fragment_with_front_matter
- name: golang-jsonshim
out: .
opt: paths=source_relative
- local: protoc-gen-go
out: .
opt:
- paths=source_relative
- local: protoc-gen-go-grpc
out: .
opt:
- paths=source_relative
- local: protoc-gen-docs
out: .
opt:
- warnings=false
- dictionary=./dictionaries/en-US
- custom_word_list=./dictionaries/custom.txt
- per_file=true
- mode=html_fragment_with_front_matter
- local: protoc-gen-golang-jsonshim
out: .
opt:
- paths=source_relative
54 changes: 32 additions & 22 deletions buf.gen.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
version: v1
build:
excludes:
- common-protos
version: v2
modules:
- path: .
excludes:
- common-protos
breaking:
use:
- WIRE_JSON
- WIRE_JSON
lint:
use:
- BASIC
except:
- FIELD_LOWER_SNAKE_CASE
- PACKAGE_DIRECTORY_MATCH
allow_comment_ignores: true
9 changes: 9 additions & 0 deletions releasenotes/notes/3612.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: release-notes/v2
kind: bug-fix
area: documentation
issue:
- https://github.com/istio/istio/issues/3612

releaseNotes:
- |
**Upgraded** Buf configuration files from v1 to v2.