Description of the feature request:
In rules_jvm_external we stamp jars so that buildifier can give accurate instructions. To do this, we need to know the workspace name that a human will use, rather than the canonical workspace name.
@fmeum has suggested opening up Label#getDisplayForm to Starlark to enable this.
Which category does this issue belong to?
Core, Documentation, External Dependency
What underlying problem are you trying to solve with this feature?
I need to be able to supply the workspace name that a user will use in dialogues and embedded information in artifacts.
Which operating system are you running Bazel on?
macOS
What is the output of bazel info release?
release 7.0.0rc7
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
No response
Have you found anything relevant by searching the web?
This conversation on Slack
Any other information, logs, or outputs that you want to share?
No response
Description of the feature request:
In
rules_jvm_externalwe stamp jars so thatbuildifiercan give accurate instructions. To do this, we need to know the workspace name that a human will use, rather than the canonical workspace name.@fmeum has suggested opening up
Label#getDisplayFormto Starlark to enable this.Which category does this issue belong to?
Core, Documentation, External Dependency
What underlying problem are you trying to solve with this feature?
I need to be able to supply the workspace name that a user will use in dialogues and embedded information in artifacts.
Which operating system are you running Bazel on?
macOS
What is the output of
bazel info release?release 7.0.0rc7
If
bazel info releasereturnsdevelopment versionor(@non-git), tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD?No response
Have you found anything relevant by searching the web?
This conversation on Slack
Any other information, logs, or outputs that you want to share?
No response