bazelbuild/bazel

repository_rule#local incorrect documentation

Open

#28497 opened on Feb 1, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (25,384 stars) (4,465 forks)batch import
P3help wantedteam-Documentationteam-ExternalDepstype: documentation (cleanup)

Description

Page link:

https://bazel.build/rules/lib/globals/bzl.html#repository_rule

Problem description (include actual vs expected text, if applicable):

Indicate that this rule fetches everything from the local system and should be reevaluated at every fetch.

This is not true. See #16217 for why it is expected behavior that the rule is not always re-evaluated.

Where do you see this issue? (include link to specific section of the page, if applicable)

https://bazel.build/rules/lib/globals/bzl.html#repository_rule

Any other information you'd like to share?

This argument might just be a complete misfeature. If so, it should be documented as such.

Contributor guide