-
Notifications
You must be signed in to change notification settings - Fork 353
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
Split googleapis into per-language modules #3472
base: main
Are you sure you want to change the base?
Conversation
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (googleapis-cc, googleapis-go, googleapis-java, googleapis-python, googleapis) have been updated in this PR. Please review the changes. |
dfcb309
to
0d8947f
Compare
0d8947f
to
8f7654a
Compare
8f7654a
to
c54877c
Compare
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (googleapis-cc, googleapis-go, googleapis-grpc-cc, googleapis-grpc-java, googleapis-java, googleapis-python, googleapis) have been updated in this PR. Please review the changes. |
4d80faa
to
979ea95
Compare
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (googleapis-cc, googleapis-go, googleapis-grpc-java, googleapis-java, googleapis-python, googleapis) have been updated in this PR. Please review the changes. |
60cfbd8
to
6617794
Compare
@@ -0,0 +1,7 @@ | |||
{ | |||
"integrity": "sha256-hznHbmgfkAkjuQDJ3w73XPQh05yrtUZQxLmtGbanbYU=", | |||
"url": "https://github.com/fmeum/bazel-central-registry/releases/download/v1.0.0/empty.zip", |
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.
TODO: Replace with a better source after #3474.
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.
Couldn't we just allow url to be not set when overlay is used?
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.
We could, but that would require raising the minimum Bazel version to at least 8.1.0 (the earliest we can ship this).
Introduces new
googleapis-*
modules that contain the per-language module dependencies needed to support the individual rules used by the maingoogleapis
module. This allows BCR modules to declare dependencies on language-specific rules ingoogleapis
without requiring that module to depend on every possible language ruleset, which isn't sustainable.This results in a breaking change for root modules that previously used the
switched_rules
extensions. These modules now need to explicitly declare deps on thegoogleapis-*
flavors they need, but will be guided through the process by error messages.In the future, new flavors can be added in a backwards compatible way.
googleapis-grpc-cc
is blocked on #3470, which adds a release ofgrpc
including grpc/grpc@3f001f7.