Description of the feature request:
I would like to write aspects that target shell rules but there’s no unique provider to key in on. Would it be possible to have a provider made to make this possible?
What underlying problem are you trying to solve with this feature?
I want to write an aspect that does linting on sh_binary targets but if --incompatible_top_level_aspects_require_providers is enabled the aspect fails since sh_binary, sh_library, and sh_test don’t return uniquely identifying providers
Which operating system are you running Bazel on?
Linux
What is the output of bazel info release?
6.1.0
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?
No response
Any other information, logs, or outputs that you want to share?
No response
Description of the feature request:
I would like to write aspects that target shell rules but there’s no unique provider to key in on. Would it be possible to have a provider made to make this possible?
What underlying problem are you trying to solve with this feature?
I want to write an aspect that does linting on sh_binary targets but if --incompatible_top_level_aspects_require_providers is enabled the aspect fails since
sh_binary,sh_library, andsh_testdon’t return uniquely identifying providersWhich operating system are you running Bazel on?
Linux
What is the output of
bazel info release?6.1.0
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?
No response
Any other information, logs, or outputs that you want to share?
No response