[Bug]: mtree_spec yield different result when built in an external repository #697
Labels
bug
Something isn't working
good first issue
Good for newcomers: GitHub surfaces these specially
help wanted
Aspect isn't prioritizing this, but the community could
What happened?
If an mtree_spec rule gets built from a different repository, the target paths will look like
../<repo name>/path/in/repo
.If the same target gets built inside
<repo name>
the path will bepath/in/repo
.I suspect this is due to the (unprocessed) use of
short_path
here:bazel-lib/lib/private/tar.bzl
Line 185 in 57bfe2c
Version
Reproducible in this repository.
How to reproduce
Any other information?
No response
The text was updated successfully, but these errors were encountered: