I'm developing on a branch off of `main` , and pan...
# development
p
I'm developing on a branch off of
main
, and pants does not seem to be using my
~/.pants.rc
file. Is there a way to dump the effective config to see what options pants is using and validate if the rc file is taking effect? If not, then there might be something ignoring the
[GLOBAL].*_dir
opts.
1
f
./pants help SUBSYSTEM
will show the default values for each option and how it was set.
p
oh. nice
Sweet.
./pants help-advanced global
was just the ticket. I didn't realize that displayed the current and default values. Thanks @fast-nail-55400! So, my rc file is taking effect. I think the testutils must be doing something with the path then.
f
In what context are you seeing the
.pants.rc
not take effect?
p
So when running tests, I see some errors about hard links under
/tmp
, which is on a different mount than everything else. But I have
[GLOBAL].local_execution_root_dir
set to a path that is on the same mount as the other dirs, so I was confused why I was seeing that. I think the test utils are creating their own tmp dirs, which makes sense. So, I just need to figure out how to get the tests to use a different dir.
Flipping that flag resolves the errors I was seeing.