-
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
Improve googleapis use_languages extension tag #3437
base: main
Are you sure you want to change the base?
Conversation
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (googleapis) have been updated in this PR. Please review the changes. |
@bazel-io skip_check unstable_url |
947450d
to
6c7eb25
Compare
@meteorcloudy @fmeum @keith could you PTAL? Thanks! |
modules/googleapis/0.0.0-20240819-fe8ba054a.bcr.1/presubmit.yml
Outdated
Show resolved
Hide resolved
This obeys requested bindings from any module.
6c7eb25
to
5bda46c
Compare
Require module maintainers' approval for newly pushed changes.
@fmeum Tests also succeeded for Bazel 8.x. |
Having thought more about this, I do have some concerns about this. By allowing BCR modules to start using @meteorcloudy @Wyverald Is official Bzlmod support for |
There are already various BCR modules using googleapis. This basically just allows us to test these targets in the BCR CI as well. If you prefer modules using googleapis without tests on BCR in the meantime please let me know. |
As far as I understand the module extension logic in the current version, only the root module can enable languages. For languages such as C#, even the root module likely can't do that since Presumably this means that any user of a module that transitively uses The problem with module extensions that do something for non-root modules is that they very quickly form public API that is very difficult to change - there is no way to have |
How can I tell the BCR CI to add a call to
Where is the difference to requiring this in the root module? In both cases, one needs to configure the extension. Let's assume in the future the call to |
It's quite possible that the new "API" will be that there are separate I'm not fully against making this change, but I would like to give the maintainers of the upstream repo a say in this. |
This would also break transitive modules with the current version as they require the targets to exist. When they are moved to separate modules, those transitive dependency modules would equally break. |
That's not necessarily the case: We could arrange this in a way where users depending on You are right that the module extension could become a noop in the future. I don't enough about |
I don't know what exactly it is used for but I know that a depending module doesn't need the |
I just want to clarify that this change:
|
This obeys requested bindings from any module.