Skip to content

Mark module extension as reproducible#328

Merged
keith merged 1 commit intobazelbuild:masterfrom
fmeum:reproducible
Jul 6, 2025
Merged

Mark module extension as reproducible#328
keith merged 1 commit intobazelbuild:masterfrom
fmeum:reproducible

Conversation

@fmeum
Copy link
Copy Markdown
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.

@fmeum fmeum force-pushed the reproducible branch 4 times, most recently from 015760e to 8ab815b Compare May 16, 2024 19:43
MODULE.bazel Outdated
)

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

cerisier commented Feb 3, 2025

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

@keith
Copy link
Copy Markdown
Member

keith commented Jul 5, 2025

can you rebase? I can merge after

@fmeum
Copy link
Copy Markdown
Contributor Author

fmeum commented Jul 6, 2025

@keith done

@keith keith merged commit b97a00d into bazelbuild:master Jul 6, 2025
9 of 11 checks passed
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.

5 participants