Commit Graph

6 Commits

Author SHA1 Message Date
John Howard b9c26acf91
Generate alias for types instead of copies (#3188) 2024-05-20 11:48:31 -04:00
John Howard 685ef7d06b
Migrate to protoc-gen-crd (#2941) 2023-10-05 16:16:01 -07:00
John Howard 5ebfc628bd
buf: migrate to v1 API (#2297) 2022-03-25 06:19:22 -07:00
John Howard 9d336787a4
Migrate from gogo/protobuf to golang/protobuf (#2293)
* Migrate gogo/protobuf to golang/protobuf

* generated changes

* Fixes to deepcopy
2022-03-23 08:11:37 -07:00
John Howard 7c2c37f6d2
Drop generated python protobufs (#2280)
These were added 4 years ago; since then there are no known users. Using
Istio as protobufs is generally not done, and if it is then users can
always generate their own python stubs as they do for java, c++, rust,
etc.
2022-03-17 16:55:44 -07:00
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