Skip to content
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

Warn about --basetemp removing the entire directory #7555

Merged

Conversation

mysterious-progression
Copy link
Contributor

@mysterious-progression mysterious-progression commented Jul 28, 2020

Added warning about deletion of data in the documentation of the base temporary directory

Fix #7554

doc/en/tmpdir.rst Outdated Show resolved Hide resolved
@nicoddemus
Copy link
Member

You need to have a blank line after the sphinx directive, also took the liberty of improving the message a bit. 👍

Thanks @mattreex!

@nicoddemus nicoddemus added the needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch label Jul 28, 2020
@nicoddemus nicoddemus changed the title add basetemp warning Warn about --basetemp removing the entire directory Jul 29, 2020
@nicoddemus nicoddemus merged commit 1e66ed0 into pytest-dev:master Jul 29, 2020
nicoddemus pushed a commit to nicoddemus/pytest that referenced this pull request Jul 29, 2020
Co-authored-by: mattreex <mattreex.9@gail.com>
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
(cherry picked from commit 1e66ed0)
@nicoddemus
Copy link
Member

Backport: #7578

@mysterious-progression mysterious-progression deleted the add_basetmp_warning branch July 29, 2020 15:05
nicoddemus added a commit that referenced this pull request Jul 29, 2020
[6.0.x] Warn about --basetemp removing the entire directory (#7555)
@nicoddemus nicoddemus added backported PR has been backported to the current bug-fix branch and removed needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch labels Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported PR has been backported to the current bug-fix branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document --basetemp directory-clearaing behavior better
3 participants