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

Switch to Bzlmod by default for managing external dependencies #213

Merged
merged 13 commits into from
Apr 23, 2024

Conversation

tetromino
Copy link
Collaborator

@tetromino tetromino commented Apr 22, 2024

Switch from WORKSPACE-based to bzlmod-based dependency management by default.

WORKSPACE-based usage is still supported for users loading Stardoc's versioned distro tarballs,
but some packages (//distro) in the git development tree will no longer load, and some of
Stardoc's own golden tests will no longer pass, when using WORKSPACE.

Note that the new default behavior - when using Bzlmod for dependency management - is
that Stardoc uses @stardoc as its repo name. The legacy WORKSPACE-based setup uses
@io_bazel_stardoc as repo name. For compatibility with the legacy WORKSPACE setup,
and for ease of migration, users of Stardoc may load it via
bazel_dep(name = "stardoc", repo_name = "io_bazel_stardoc", ...) in their MODULE.bazel.

Fixes #189

@tetromino tetromino marked this pull request as ready for review April 23, 2024 18:30
@tetromino tetromino requested a review from brandjon as a code owner April 23, 2024 18:30
@tetromino tetromino merged commit ec43802 into bazelbuild:master Apr 23, 2024
16 checks passed
@tetromino tetromino deleted the bzlmod-first branch April 23, 2024 20:05
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.

Migrate to Bzlmod for managing external dependencies
2 participants