-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Migrate to bzlmod #1743
Comments
I'm happy to help with the Python part, just say the word :) |
i think we're most of the way there:
what isn't clear from https://bazel.build/external/migration#migration is what to do now we can build with bzlmod enabled. |
https://github.com/bazel-contrib/publish-to-bcr may be the next step. |
oh. we're already there: https://github.com/bazelbuild/bazel-central-registry/tree/main/modules/google_benchmark |
Have you considered using the BCR bot to automatically update in BCR after each new release ? |
i haven't but i'm happy to. anything that makes this process easier :) patches welcome! |
That is something only maintainers can do through https://github.com/apps/publish-to-bcr |
given this repo is owned by a company that have a large number of projects, i fail to see how this could possibly work. having the ruleset and BCR fork under my personal github is unmaintainable, and having it under google as a whole would cause issues when multiple projects want to use it. unless i'm failing to understand how this works. it seems like a ... not great solution in terms of scaled maintenance. |
To my understanding publish to bcr is an app/bot that requires a .bcr folder in each project that needs to be published. In this folder you have some files to configure how to publish and test the project. Based on that configuration when the project create a release it creates a new PR to BCR to publish the new version. |
https://bazel.build/external/migration#migration
it seems we've started (we have both WORKSPACE and MODULE.bazel) but not finished. we should finish it as then we'll have nice things like
module_version()
available to our build scripts, and can push to the bazel central repo for distribution, etc.The text was updated successfully, but these errors were encountered: