Bazel packaging system #18
Replies: 4 comments 2 replies
-
I think this is already well-established as .tgz files containing the workspace content, with bazel-central-registry to host the metadata. Most rulesets ship this way and AFAIK that is working well. What would you want some other packaging to consist of? What use case could it solve? |
Beta Was this translation helpful? Give feedback.
-
If I understand the question correctly, then the upcoming |
Beta Was this translation helpful? Give feedback.
-
Now that bzlmod is released. I think that we should unpin this discussion. Thoughts? |
Beta Was this translation helpful? Give feedback.
-
As I understand the request, I think bzlmod and the BCR (or potentially other registries) do already provide this: The BCR can be seen as the main package repository. Anyone who would like to contribute a Bazel module, can open a PR to add it there. The standard package format is, as @alexeagle points out above, just a tarball containing the relevant files. Maybe I'm missing something about the question though. @dmadisetti did you have something in mind that is not served by bzlmod and the BCR (or other registries)? |
Beta Was this translation helpful? Give feedback.
-
Between standardizing rules (#6) and attaching ownership/ metadata to rules (#5)
Wouldn't it just make sense to come up with some sort of packaging system, like an AUR, NPM, cargo or PIP?
Opening this as a discussion question.
Beta Was this translation helpful? Give feedback.
All reactions