In pants v2.0.0rc1, I got the warning message: ```...
# general
j
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
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
And the reference part of the docs, which is generated
j
a search didn't turn it up
h
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
weird