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

Maintain a separate lockfile for HEAD Bazel #21283

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ filegroup(
srcs = glob(
["*"],
exclude = [
"MODULE.bazel.lock", # Use MODULE.bazel.lock.dist instead
"WORKSPACE.bzlmod", # Needs to be filtered.
"bazel-*", # convenience symlinks
"out", # IntelliJ with setup-intellij.sh
Expand Down Expand Up @@ -141,6 +142,7 @@ pkg_tar(
],
# TODO(aiuto): Replace with pkg_filegroup when that is available.
remap_paths = {
"MODULE.bazel.lock.dist": "MODULE.bazel.lock",
"WORKSPACE.bzlmod.filtered": "WORKSPACE.bzlmod",
# Rewrite paths coming from local repositories back into third_party.
"external/googleapis~override": "third_party/googleapis",
Expand Down
3 changes: 2 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Bazel build and test dependencies."""

# NOTE: When editing this file, also update the lockfile.
# NOTE: When editing this file, also update various lockfiles.
# bazel run //src/test/tools/bzlmod:update_default_lock_file
# bazel mod deps --lockfile_mode=update

module(
Expand Down
56 changes: 28 additions & 28 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading