Description of the feature request:
Currently, Bazel disallows symlinks that contains .. (relative path) inside of a TreeArtifact exactly at this line
|
if (intermediatePath.containsUplevelReferences()) { |
|
String errorMessage = |
|
String.format( |
|
"A TreeArtifact may not contain relative symlinks whose target paths traverse " |
|
+ "outside of the TreeArtifact, found %s pointing to %s.", |
|
path, linkTarget); |
|
throw new IOException(errorMessage); |
Which category does this issue belong to?
No response
What underlying problem are you trying to solve with this feature?
I am trying to symlink files from other actions into TreeArtifact to improve performance in rules_oci.
Which operating system are you running Bazel on?
No response
What is the output of bazel info release?
No response
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:
Currently, Bazel disallows symlinks that contains
..(relative path) inside of a TreeArtifact exactly at this linebazel/src/main/java/com/google/devtools/build/lib/skyframe/TreeArtifactValue.java
Lines 601 to 607 in 2f899ef
Which category does this issue belong to?
No response
What underlying problem are you trying to solve with this feature?
I am trying to symlink files from other actions into TreeArtifact to improve performance in rules_oci.
Which operating system are you running Bazel on?
No response
What is the output of
bazel info release?No response
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