Hi team, I am trying to run this command using v1....
# general
c
Hi team, I am trying to run this command using v1.30.5
Copy code
./pants --changed-parent=origin/main list
in the directory I have defined my sentinal/root files but I am getting an error
Copy code
Globs may not traverse outside of the buildroot: "../../BUILD"
as there is indeed a BUILD file in that location, but in the interim I would like for my pants environment to ignore any target outside of my current directory and only ack child targets. Is there some toml file tweak that I can do to let pants ignore anything outside of my current directory ? I tried adding
../../BUILD*
to
pants_ignore
but no luck
h
Hello! Does that glob
../../BUILD
show up anywhere with grep? Specifically I'm wondering if you are using
../
in any BUILD files, like
sources=["../foo.py"]
. That won't work, and I wonder if it's that with just a really bad error message Generally, it'd be helpful to search
Copy code
rg '../' -g 'BUILD'