Skip to content

Depend on the providers via the bcr module#1032

Draft
aiuto wants to merge 15 commits intobazelbuild:mainfrom
aiuto:prov3
Draft

Depend on the providers via the bcr module#1032
aiuto wants to merge 15 commits intobazelbuild:mainfrom
aiuto:prov3

Conversation

@aiuto
Copy link
Copy Markdown
Collaborator

@aiuto aiuto commented Feb 22, 2026

Blocked on

  • having the providers in bcr
  • a release notes/ readme, or something to explain how this works if you depend on the package with http_archive.

Annoucement (draft)

We are about to introduce a structural change to rules_pkg where the providers are in a distinct repository. This will allow those to be shared across several projects in a way that facilitates interoperability without having to build every extension inside rules_pkg.

  • rules_pkg_providers will be a new release name and a BCR module. It will start at 0.0.1 and quickly bump to 1.0.0 after an initial shake-out period.
  • rules_pkg will start to depend on rules_pkg_providers in MODULE.bazel.

Note that this is a breaking change for WORKSPACE users

For that reason, we will bump the major version number of rules_pkg.

  • rules_pkg will have a final 1.x release this week.
  • rules_pkg 2.0.0 will depend on rules_pkg_providers.

#996

cannot do test until we have the module
@aiuto aiuto requested a review from cgrindel as a code owner February 22, 2026 00:47
@aiuto aiuto marked this pull request as draft February 22, 2026 00:47
@aiuto aiuto changed the title Depend on the providers module instead of directly Depend on the providers via the bcr module Feb 22, 2026
@cgrindel
Copy link
Copy Markdown
Collaborator

@aiuto I see you requested review. However, the PR is still in draft. Do you want me to review?

@tonyaiuto
Copy link
Copy Markdown
Collaborator

@aiuto I see you requested review. However, the PR is still in draft. Do you want me to review?

No. I put the wrong one out for review. The release scripts are next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants