-
Notifications
You must be signed in to change notification settings - Fork 4.4k
No lock files for bzlmod modules #14554
Copy link
Copy link
Closed
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)area-BzlmodBzlmod-specific PRs, issues, and feature requestsBzlmod-specific PRs, issues, and feature requeststeam-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: feature request
Milestone
Metadata
Metadata
Assignees
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)area-BzlmodBzlmod-specific PRs, issues, and feature requestsBzlmod-specific PRs, issues, and feature requeststeam-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: feature request
Type
Projects
Status
Done
Description of the problem / feature request:
Although the algorithm used by
bzlmodshould lead to stable results, having to recalculate the dependency tree with each build is wasteful and may prevent reproducible builds, particularly of historic commits. TheWORKSPACEfile locked everything down, so there was no need to worry about this, but it would be useful ifbzlmodhad a lock file it could (optionally) use.Feature requests: what underlying problem are you trying to solve with this feature?
I want reproducible builds, even if someone has yanked a module since the last build.
What's the output of
bazel info release?release 5.0.0rc3