valid user-provided repo names are not documented #24285
Labels
help wanted
Someone outside the Bazel team could own this
P2
We'll consider working on this in future. (Assignee optional)
team-Documentation
Documentation improvements that cannot be directly linked to other team labels
team-ExternalDeps
External dependency handling, remote repositiories, WORKSPACE file.
type: documentation (cleanup)
Page link:
No response
Problem description (include actual vs expected text, if applicable):
I ran into an error like this when trying to enable bzlmod in our repository (with Bazel 7.2.1):
Interestingly enough, this repository name was just fine without bzlmod enabled.
Where are the restrictions on user-provided repo names documented on bazel.build? I saw nothing relevant on https://bazel.build/rules/lib/globals/module#use_repo
Where do you see this issue? (include link to specific section of the page, if applicable)
One place where it appears to be missing is https://bazel.build/rules/lib/globals/module#use_repo but I suspect it should be mentioned more centrally as well, as it is intended to apply to all repository names.
Any other information you'd like to share?
Comments from @Wyverald on the Bazel slack:
Links in the screenshot are:
The text was updated successfully, but these errors were encountered: