-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*: upgrade vendored protobuf to v3.9.2 #58891
Conversation
5b8e82b
to
c26e83a
Compare
Fixed issues with |
c26e83a
to
1be4aa9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM good provided it goes green!
go.sum
Outdated
@@ -644,6 +644,7 @@ github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsT | |||
github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= | |||
github.com/prometheus/procfs v0.0.10 h1:QJQN3jYQhkamO4mhfUWqdDH2asK7ONOI9MTWjyAxNKM= | |||
github.com/prometheus/procfs v0.0.10/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= | |||
github.com/protocolbuffers/protobuf v3.14.0+incompatible h1:8r0H76h/Q/lEnFFY60AuM23NOnaDMi6bd7zuboSYM+o= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(i think this should disappear since you removed the examples directory, if not curious about why this got added. what's the output of go mod why github.com/protocolbuffers/protobuf
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, that's weird. Yeah, if I delete this make vendor_rebuild
doesn't put it back I guess? I'll delete this line, re-push, and make sure it goes green again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go mod tidy
should clear it.
33e8cd6
to
285e534
Compare
The old version of `protobuf` that we had doesn't contain some utilities that we need for Bazel (namely, the file `protobuf_deps.bzl`), so move to a more recent version. Also update `WORKSPACE` so that our Bazel build uses the same version of `protobuf`, and point to our fork rather than upstream. Fixes cockroachdb#58227. Release note (general change): Upgrade to v3.9.2 of `protobuf` to consume new changes for Bazel.
285e534
to
f6b6675
Compare
bors r+ |
1 similar comment
bors r+ |
Already running a review |
Build succeeded: |
The old version of
protobuf
that we had doesn't contain some utilitiesthat we need for Bazel (namely, the file
protobuf_deps.bzl
), so moveto a more recent version. Also update
WORKSPACE
so that our Bazelbuild uses the same version of
protobuf
, and point to our fork ratherthan upstream.
Fixes #58227.
Release note (general change): Upgrade to v3.9.2 of
protobuf
to consume new changes for Bazel.