Skip to content

bzlmod: enable by default #9027

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

bzlmod: enable by default #9027

wants to merge 4 commits into from

Conversation

sluongng
Copy link
Contributor

@sluongng sluongng commented Apr 22, 2025

Enabled bzlmod by default in .bazelrc. This moves the project closer
to fully migrating to bzlmod.

Updated buildbuddy.yaml to explicitly test the old WORKSPACE mode
and renamed the platform configs in .bazelrc to align with the
new default.

Depend on #9026

@sluongng sluongng requested review from bduffany and fmeum April 22, 2025 13:41
@sluongng sluongng changed the title sluongng/enable bzlmod bzlmod: enable by default Apr 22, 2025
@sluongng sluongng force-pushed the sluongng/enable-bzlmod branch 2 times, most recently from dfd0b23 to ed87adc Compare April 22, 2025 14:16
@@ -15,12 +15,22 @@ import %workspace%/shared.bazelrc
# PUBLIC REPO EXCLUSIVE CONFIGS #
#################################

# Enable bzlmod by default
Copy link
Contributor

Choose a reason for hiding this comment

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

These are the defaults in Bazel 8, so this shouldn't be needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call. I probably should move the disabled-bzlmod flag out of the shared.bazelrc file instead.

Enabled bzlmod by default in .bazelrc. This moves the project closer
to fully migrating to bzlmod.

Updated buildbuddy.yaml to explicitly test the old WORKSPACE mode
and renamed the platform configs in .bazelrc to align with the
new default.

Depend on #9026
@sluongng sluongng force-pushed the sluongng/enable-bzlmod branch from b15bd66 to 157bc94 Compare April 25, 2025 13:31
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.

2 participants