Make migrate_to_bzlmod.py more usable and add more docs (#335) * Make migrate_to_bzlmod.py more usable and more docs - Added flags to control the scripts behaviours. - Write module extensions to add non-Bazel-module dependencies. It guesses when to use a separate module extension. - Added non-interactive mode and set it as default. The script tries to make a best guess on what to do. - Added documentation for different scripts under tools directory. * Address reviewer comments
Status: This repository is in beta test phase, feel free to submit your project as Bazel module. During the test phase, checked in modules may still change without any notice.
The default Bazel registry for the Bzlmod external dependency system of Bazel. It is the recommended place to find and publish your favorite Bazel projects. Visit https://registry.bazel.build to check what modules are already available!
To contribute, check our BCR policies and contribution guidelines.
The core infrastructure of the Bazel Central Registry depends on Github and Google Cloud. Bazel users who enable Bzlmod depend on the BCR by default. While we try to keep the BCR infrastructure simple and reliable, we assume no liability for any damages caused by build failures due to potential BCR infrastructure failures.
If you consider it necessary, you can do the following to avoid depending on the BCR infrastructure while still making use of the information checked into the BCR.
./bazel_registry.json. You can run the ./tools/print_all_src_urls.py script to get the list of source URLs to mirror for all Bazel modules checked into the BCR. For example, https://foo.com/bar.zip should be mirrored to https://<your mirror>/foo.com/bar.zip.