-
-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move .pids under .pants.d by default #19911
Conversation
Fixes #3511 |
In general, I'm for this change 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm bar some minor nits and one potential mistake ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In favor: thanks!
@stuhood why is |
Update the `pants.log` file location after the changes in #19911
We also make the workdir a subdir of
.pants.d
, so that it's easy tonuke it without nuking the pids. These are just changes to default
option values. It is still possible to explicitly set those options so
whatever the user wants.
The structure under
.pants.d
is opaque to end users and not partof the API, so we have the freedom to do this without a deprecation.
Note that we do not move
.pants.d/bsp
under.pants.d/workdir
.For whatever reason,
bsp
uses that hardcoded directory, ratherthan consulting the pants_workdir option.
So the end result of this change is that
.pants.d
is no longer thesame thing as the workdir, but a looser "directory Pants writes stuff
under, and that you can safely nuke". There are now three things that
go under that dir: pids, workdir and bsp.