RockefellerArchiveCenter / aurora

A Django web application to receive, virus check and validate transfers of digital archival records, and allow archivists to appraise and accession those records.
http://projectelectron.rockarch.org/
MIT License
26 stars 6 forks source link

Temporary directories are not removed #647

Closed helrond closed 8 months ago

helrond commented 8 months ago

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 a remove_src flag which will remove the source directory once tarfile has been created.