Commit Graph

5 Commits

Author SHA1 Message Date
John Howard 2bcca53775
Move protobuf generation/configuration to buf (#1833)
https://docs.buf.build/

Buf is the successor to https://github.com/uber/prototool which we
already use for linting.

This dramatically simplifies our Makefiles, which are both extremely
complicated and have led to numerous bugs historically, such as
https://github.com/istio/api/issues/1678.

This will make changes to the generation much simpler as well. For
example, to migrate to gogo protobuf, we will just need to change `gogo`
-> `go` in one location, rather than trying to wrangle 500 lines of
Makefiles. Additionally, its quite a bit faster - the whole proto stuff
is done in <1s now.
2021-01-28 17:47:43 -08:00
Kuat 9815ec1fb8 Revert "Build set-up for api" (#203)
* Revert "Revert "C++ bazel rules for API (#199)" (#202)"

This reverts commit 634f1e2dd3.

* Revert "C++ bazel rules for API (#199)"

This reverts commit fadf8937f1.

* Revert "Build set-up for api (#193)"

This reverts commit 3e3fd02fdd.
2017-10-12 16:35:51 -07:00
Kuat 634f1e2dd3 Revert "C++ bazel rules for API (#199)" (#202)
This reverts commit fadf8937f1.
2017-10-12 16:33:32 -07:00
Kuat fadf8937f1 C++ bazel rules for API (#199)
* first try

* fixes

* build failure test
2017-10-12 11:06:44 -07:00
Kuat 3e3fd02fdd Build set-up for api (#193)
* initial bazel build

* initial

* consolidate imports

* rename

* visibility

* add go default library for config

* remove unnecessary

* externals

* more externals

* proxy config

* expose protos

* add proxy config

* shallow googleapis copy

* add test script

* little changes

* fix googleapis import

* remove comments

* expand globs
2017-10-11 14:44:21 -07:00