bazelbuild/bazel

user.bazelrc or .bazelrc.user?

Open

#28.839 geöffnet am 28. Feb. 2026

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (4.465 Forks)batch import
P2help wantedteam-Documentationteam-OSStype: documentation (cleanup)

Repository-Metriken

Stars
 (25.384 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 2h) (36 gemergte PRs in 30 T)

Beschreibung

Page link:

No response

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

Bazel best practices recommends

try-import %workspace%/user.bazelrc

But rules-template has

try-import %workspace%/.bazelrc.user

Which is it? It would be nice to be consistent, for users to be able to override project flags in a predictable location.

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

No response

Any other information you'd like to share?

No response

Contributor Guide