Improve error message in case the user forgot to specify managed directory for the repository #8293
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
stale
Issues or PRs that are stale (no activity for 30 days)
team-ExternalDeps
External dependency handling, remote repositiories, WORKSPACE file.
type: feature request
Currently, if one forgets to mention the managed directory in the workspace function, the following error is shown to user:
no such package '@repo//package': BUILD file not found on package path and referenced by
This message can be improved as we can "guess" that the package missing under the external repository is probably in generated code, and therefore it should be marked as managed directory
Context: managed directories: #8201
The text was updated successfully, but these errors were encountered: