buf
buf copied to clipboard
The best way of working with Protocol Buffers.
before: ```protobuf message LoginRequest { string name = 1 [ (gogoproto.moretags) = 'binding:"required"', (google.api.field_behavior) = REQUIRED ]; string passwd = 2 [ (gogoproto.moretags) = 'binding:"required"', (google.api.field_behavior) = REQUIRED ]; }...
According to [docs](https://developers.google.com/protocol-buffers/docs/proto#specifying-rules) adding a value into required enum is a breaking change > A second issue with required fields appears when someone adds a value to an enum. In...
Currently, we are create a package declaration based on the final two elements of the path of the package: > If the Protobuf file's package declaration conforms to the PACKAGE_VERSION_SUFFIX...
It would be good to have `buf + dependabot` integration so that protobuf dependencies managed by `buf` can be updated at a regular period. Something like this: ``` # /path/to/.github/dependabot.yaml...
Update `buf lint` to support `--error-format junit` for a JUnit style report format supported by Jenkins, TeamCity, and other CI systems. Fixes #829.
Given a project in extra git repository without any *.proto files but a buf.yaml configured buf version 1.6.0 on x86_64 linux buf workspace is not configured. # Observed behavior *...
Steps to reproduce: 1. Create a new workspace: ```yaml version: v1 directories: - proto ``` 1. Create a new module with at least one dependency in the `proto` directory: ```yaml...
Workspaces are now the preferred approach to deal with separate logic groups of buf modules. This means that each directory defined in our `buf.work.yaml` file requires a new buf.yaml file...
Starts work on https://github.com/bufbuild/buf/issues/1107. This option needs to be fed through to `buflintbuild` into a common "comment adapter" that takes this option into account. If this option is set, any...
``` $ buf format -d testdata/format/diff/diff.proto Failure: input testdata/format/diff/diff.proto was not found - is the directory containing this file defined in your buf.work.yaml? ``` This is a little annoying, is...