Switch to new Go protobuf v2 module
Upstream switched to a new Go protobuf module, protobuf v2. go-control-plane should fully switch over to this so that client projects can switch too. I think the main change that will be needed is to switch the protoc toolchain over to generate wrapper code with the new module.
+1 for this. We looked into this previously and I believe the action items were:
- Update rules_go: https://github.com/bazelbuild/rules_go/issues/2522
- Update Envoy's internal bazel pipeline
- Update the build script: https://github.com/envoyproxy/envoy/blob/main/tools/api/generate_go_protobuf.py
Here's an issue for reference: https://github.com/envoyproxy/go-control-plane/issues/403
I can try and help out with this @jpeach but I'm not super skilled/familiar with bazel. I can stumble my way around if you do need me to tackle something though
Oof, that does not look promising ...
Oof, that does not look promising ...
Yea... this is a big rabbit hole I went down a while back, might be worth revisiting though
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
This should be fixed with rules_go v0.33.0: https://github.com/bazelbuild/rules_go/issues/2522#issuecomment-1158138179
I have a PR open for this now: https://github.com/envoyproxy/envoy/pull/21790
Okay looks like this pr: https://github.com/envoyproxy/envoy/pull/21790 got merged so we can now proceed here. @jpeach would you be interested in picking this back up?
Okay looks like this pr: envoyproxy/envoy#21790 got merged so we can now proceed here. @jpeach would you be interested in picking this back up?
I can probably take a look in a week or so.
https://github.com/envoyproxy/go-control-plane/pull/607
Would like to know if we will resolve this issue together with this PR?
@jpeach
Fixed by https://github.com/envoyproxy/go-control-plane/commit/db0b36a50fa8230b3f8edd718f108a64c74d7880