https://pantsbuild.org/ logo
j

jolly-midnight-72759

10/20/2020, 12:46 AM
In pants v2.0.0rc1, I got the warning message:
Copy code
You can make that switch now (and silence this warning) by setting `pants_distdir_legacy_paths = false` in the [GLOBAL] section of pants.toml.

Alternatively, you can set the field `output_path` on the target skelpants/src/python/skelpants to a hardcoded value.
I can't find mention of this in slack or pantsbuild.org, so starting a thread. 🙂
Adding it does indeed silence the warning.
h

hundreds-breakfast-49010

10/20/2020, 12:49 AM
this is a global pants option defined in
global_options.py
with a help string
I don't think we document all of pants' global options anywhere other than via
./pants --help
at the moment
👍🏽 1
h

hundreds-father-404

10/20/2020, 1:05 AM
And the reference part of the docs, which is generated
j

jolly-midnight-72759

10/20/2020, 1:05 AM
a search didn't turn it up
h

hundreds-father-404

10/20/2020, 2:18 AM
Hm, it’s on https://www.pantsbuild.org/docs/reference-global if you look for legacy_paths. Idk why it didn’t work in readme’s search
j

jolly-midnight-72759

10/20/2020, 4:00 PM
weird
6 Views