Skip to content

Commit

Permalink
*: upgrade vendored protobuf to v3.9.2
Browse files Browse the repository at this point in the history
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 #58227.

Release note (general change): Upgrade to v3.9.2 of `protobuf` to
consume new changes for Bazel.
  • Loading branch information
rickystewart committed Jan 14, 2021
1 parent b22e903 commit f6b6675
Show file tree
Hide file tree
Showing 94 changed files with 1,141 additions and 1,141 deletions.
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ gazelle_dependencies()
# https://github.com/bazelbuild/bazel-gazelle/issues/591
git_repository(
name = "com_google_protobuf",
commit = "09745575a923640154bcf307fba8aedff47f240a",
remote = "https://github.com/protocolbuffers/protobuf",
commit = "9b23a34c7275aa0ceb2fc69ed1ae6737b34656a3",
remote = "https://github.com/cockroachdb/protobuf",
)

load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
Expand Down
2 changes: 1 addition & 1 deletion c-deps/protobuf
Submodule protobuf updated 1435 files
12 changes: 6 additions & 6 deletions pkg/acceptance/cluster/testconfig.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions pkg/blobs/blobspb/blobs.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pkg/build/info.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions pkg/ccl/backupccl/backup.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions pkg/ccl/baseccl/encryption_options.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f6b6675

Please sign in to comment.