Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Bazel mod requires a registry of packages in a git repo, so it’s quite centralized.


From the documentation: https://bazel.build/external/registry

> Bzlmod discovers dependencies by requesting their information from Bazel registries: databases of Bazel modules. Currently, Bzlmod only supports index registries — local directories or static HTTP servers following a specific format.

It just uses the Bazel Central Registry (BCR) by default. You can specify your own via the --registry flag and then it uses them instead. It is possible to specify multiple registries at the same time, so you can mix the official, company internal and on your local filesystem at the same time.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: