cquery --output=files is not useful for external dependencies #17658
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Configurability
Issues for Configurability team
type: feature request
Description of the feature request:
With #15979
cquery --output=files
provides a relative path to the output or source file. The feature request is to make the output as readily usable when the target is from an external dependency.Bazel 6.0.0
There is no WORKSPACE-relative "external" directory.
I happen to know that I can currently use
$(bazel info output_path)/..
to get the parent directory to "external", but that's arcane knowledge and isn't directly provided by the cquery feature.What underlying problem are you trying to solve with this feature?
Have
cquery --output=files
behave consistently for all files known to bazel.Which operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?release 6.0.0
If
bazel info release
returnsdevelopment 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?
Linked issues and PRs associated with #15979
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: