-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)incompatible-changeIncompatible/breaking changeIncompatible/breaking changeteam-Rules-APIAPI for writing rules/aspects: providers, runfiles, actions, artifactsAPI for writing rules/aspects: providers, runfiles, actions, artifacts
Description
Current status: Enabled only in Bazel@HEAD, available from Bazel 8.2.0
Motivation
Get more repositories to add loads for Starlarkified rules.
Description
Stops autoloading in main repository. All loads in main repository must be explicit.
Incompatible Flag
incompatible_disable_autoloads_in_main_repo
Migration Guide
Run the latest version of buildifier on the repository. Using buildifier --lint=fix -r -v .
will add loads to the whole repository. Add required dependencies to MODULE.bazel
or WORKSPACE
if they are missing (rules_shell, com_goole_protobuf, rules_java, rules_cc).
In which Bazel LTS version will this incompatible change be enabled?
Bazel 9
Additional Context
No response
TODO List
- Bazel
- Bazel Bench
- Bazel Examples
- Bazelisk
- IntelliJ
- Cloud Robotics Core
- Flogger
- Stardoc
Metadata
Metadata
Assignees
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)incompatible-changeIncompatible/breaking changeIncompatible/breaking changeteam-Rules-APIAPI for writing rules/aspects: providers, runfiles, actions, artifactsAPI for writing rules/aspects: providers, runfiles, actions, artifacts