-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: process
Description
See rough plan here: #23023 (comment)
At the moment, --enable_workspace and --enable_bzlmod are already no-ops on HEAD (and rolling), but the code remains to facilitate backports to 8.x. With repo contents cache PRs cherry-picked, we can now start removing WORKSPACE logic from HEAD. This will remove a great deal of maintenance burden, and allow us to clean up age-old tech debt.
List of user-visible changes:
- The WORKSPACE file will no longer be read or processed. It will remain a repo boundary marker file for backwards compatibility.
- The
bazel synccommand will be removed. It's replaced bybazel fetch --all. - Several fields will disappear from the
nativeobject in .bzl files loaded for module extensions and repo rules, includingnative.register_toolchains,native.bind, etc. These never worked, but the fields were there; they'll be removed. - The flags surrounding the "resolved workspace file" (
--experimental_resolved_file_instead_of_workspace,--experimental_repository_resolved_file) are deleted. - The output of
bazel mod show_repowill no longer contain meaningless stack traces.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: process