bazelbuild / bazelbuild/bazel-skylib
add a label resolving method
Open
P4
type: feature request
- Dominant language
- Starlark
- Stars
- 444
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
something like `str(Label("//label"))` so that rule developers have a nice method to resolve labels even if someone imports your repository in a different name.
Spotted with @damienmg during a hack session
Contributor guide
Research direction
The issue does not name a file, test, or entry point. Start by locating the Label abstraction and existing label-resolution behavior in the repository, then determine the expected behavior for str(Label("//label")) when the repository is imported under another name. Done means the method resolves labels correctly and has coverage for that import scenario.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100