Skip to content
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

"Modularize" rules_sh #18

Merged
merged 5 commits into from
Jan 13, 2022
Merged

"Modularize" rules_sh #18

merged 5 commits into from
Jan 13, 2022

Conversation

aherrmann
Copy link
Member

@aherrmann aherrmann commented Jan 5, 2022

For compatibility with bzlmod and addition to the https://github.com/bazelbuild/bazel-central-registry.

This version has been added to the BCR in bazelbuild/bazel-central-registry#38 already. The changes introduced by this PR are so that future versions will no longer require patching to be added to the BCR.

Adds a module rule sh_configure for the POSIX toolchain configured by sh_posix_configure. Module rules may invoke repository rules, but may not register toolchains. This commit adds a boolean parameter register to sh_posix_configure for compatibility with both the old repository rule workflow and the new module workflow.

Adds instructions for creating new Bazel Central Registry entries to MAINTAINERS.md.

Extends CI configuration to test with bzlmod enabled.

For compatibility with bzlmod and addition to the
https://github.com/bazelbuild/bazel-central-registry.

Adds a module rule `sh_configure` for the POSIX toolchain configured by
`sh_posix_configure`. Module rules may invoke repository rules, but may
not register toolchains. This commit adds a boolean parameter `register`
to `sh_posix_configure` for compatibility with both the old repository
rule workflow and the new module workflow.
@aherrmann aherrmann requested a review from r2r-dev January 5, 2022 13:52
@aherrmann aherrmann requested a review from mboes as a code owner January 5, 2022 13:52
@aherrmann aherrmann marked this pull request as draft January 5, 2022 14:02
@aherrmann aherrmann marked this pull request as ready for review January 5, 2022 14:50
@aherrmann aherrmann added the merge-queue merge on green CI label Jan 13, 2022
@aherrmann
Copy link
Member Author

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Jan 13, 2022

refresh

✅ Pull request refreshed

@mergify mergify bot merged commit ce44922 into master Jan 13, 2022
@mergify mergify bot deleted the modules branch January 13, 2022 10:09
@mergify mergify bot removed the merge-queue merge on green CI label Jan 13, 2022
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