-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Configure tempdir registry in BaseCommand #7652
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
Configure tempdir registry in BaseCommand #7652
Conversation
Gentle nudge. This would be my pick for priority if any need a priority, since it blocks other refactoring. |
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.
The implementation LGTM. I added a couple of minor comments about readability.
OK as is, and the aforementioned readability issues also stuck out to me. |
Now we can opt-in to globally-managed + globally-configured file deletion for pre-existing directories by passing an explicit `None`.
Next we can actually transition some files to be globally-managed that are only deleted conditionally.
eb13ade
to
f2af7df
Compare
Thank you both for reviewing. |
As mentioned in #7608 (comment). This will let us configure and use the tempdir registry to apply the
--no-clean
configuration to globally managed temporary directories, and eventually remove the responsibility for managing those directories fromRequirementSet
.Progresses #7571.