Closed helrond closed 8 months ago
Directories in the temporary directory are not removed once tarfile has been created.
Observe contents of temp directory on dev and/or prod.
Temporary file contents should be removed once file has been validated.
Contributing to storage filling up.
make_tarfile has a remove_src flag which will remove the source directory once tarfile has been created.
make_tarfile
remove_src
Describe the bug
Directories in the temporary directory are not removed once tarfile has been created.
To reproduce
Observe contents of temp directory on dev and/or prod.
Expected behavior
Temporary file contents should be removed once file has been validated.
Impact on your work
Contributing to storage filling up.
Additional context
make_tarfile
has aremove_src
flag which will remove the source directory once tarfile has been created.