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

Mark module extension as reproducible #328

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fmeum
Copy link
Contributor

@fmeum fmeum commented May 16, 2024

This removes an unnecessary lockfile entry.

The module extension is kept in place so that use_extension calls don't need to be updated. The repo rules are moved into a separate file so that WORKSPACE setups don't fail on a cyclic load of bazel_features. The newly exposed repo rules are protected by load visibility.

crosstool/setup.bzl Outdated Show resolved Hide resolved
@fmeum fmeum force-pushed the reproducible branch 4 times, most recently from 015760e to 8ab815b Compare May 16, 2024 19:43
MODULE.bazel Outdated
@@ -17,7 +17,7 @@ bazel_dep(
repo_name = "io_bazel_stardoc",
)

apple_cc_configure = use_extension("//crosstool:setup.bzl", "apple_cc_configure_extension")
apple_cc_configure = use_extension("//crosstool:apple_cc_configure_extension.bzl", "apple_cc_configure_extension")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file rename a breaking change for users? We have a blurb in the README that references the old name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be, yes. I think it's better to wait for apple_support to drop Bazel 5 support and then land this commit without the need for this breaking change.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this repo we use BUILD instead of BUILD.bazel if possible.

@cerisier
Copy link
Contributor

cerisier commented Feb 3, 2025

Is this closer to getting merged ? I'm closing my quest of having the cleanest lockfile possible !

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.

4 participants