18 Commits

Author SHA1 Message Date
ad51f572fd protoc-gen-go-grpc: add requirement of embedding UnimplementedServer in services (#3657) 2020-06-04 10:56:13 -07:00
f818fd2a02 all: regenerate .pb.go files using cmd/protoc-gen-go-grpc (#3646)
Change regenerate.sh to use cmd/protoc-gen-go-grpc and rerun it.
This splits the gRPC service definitions into separate files, but
otherwise has no changes.
2020-05-28 13:52:49 -07:00
15653fec60 all: refactor .pb.go generation (#3451)
Replace various //go:generate lines and regenerate.sh scripts with a
single, top-level regenerate.sh that regenerates all .pb.go files.

Placing generation in a single script ensures that all files are
generated with similar parameters. The new regenerate.sh uses the
protoc-gen-go version defined in test/tools/go.mod and automatically
handles new .proto files as they are added.

Do some minor refactoring on .proto files: Every file now has a
go_package option (which will be required by a future version of the
code generator), and file imports are all relative to the repository
root.
2020-04-24 08:54:03 -07:00
b88d2d7465 protobuf: update protoc-gen-go version and generated code (#3345) 2020-01-30 10:23:21 -08:00
e2cfd1c28f internal: update proto library version (#3025)
Also, two fixes:

- Fix long-standing `.travis.yml` bug where `VET_SKIP_PROTO` was not `export`ed (so not seen by `vet.sh`).
- Update `vet.sh` to work with new `goimports -l` that does not print a `:` after filenames.
2019-09-17 13:49:26 -07:00
39a411827d internal: Update proto generated code (#2133) 2018-06-08 17:54:26 -07:00
f669235193 internal: update proto generated code (#2093) 2018-05-21 09:59:26 -07:00
a36eb4675a regenerate *.pb.go files due to proto-gen-go update (#2070) 2018-05-11 18:57:54 -07:00
e538e04cad proto: update generated code (#2039) 2018-05-01 12:53:20 -07:00
25b4a426b4 go-generate pb.go files and check in Travis to make sure they don't change (#1426) 2017-08-17 16:00:51 -07:00
3c33c26290 add license for some proto files (#1322) 2017-06-27 09:54:34 -07:00
ba8cd6e3e6 fix FileContainingExtension in server reflection 2017-02-09 21:12:29 -05:00
5303e26e10 update reflection test pb.go 2016-10-21 18:20:12 -07:00
727a60e4d1 update server reflection code to comply with the change to the grpc generator 2016-10-21 18:06:55 -07:00
29175df6c2 Update generated files in reflection 2016-06-27 12:01:05 -07:00
d7e74bbbb0 Update generated files in reflection 2016-06-27 12:01:05 -07:00
2453898c6a Add proto2.proto and proto2_ext.proto 2016-06-27 12:01:05 -07:00
5144c679d0 Add testing proto 2016-06-27 12:01:05 -07:00