emencia / diskette

💾 Export and import Django application data and medias
https://diskette.readthedocs.io/
MIT License
1 stars 0 forks source link

[diskette_dump] Empty temporary directory remaining with "--no-archive" #1

Closed sveetch closed 7 months ago

sveetch commented 7 months ago

Describe the bug

When --no-archive option is used with diskette_dump, it produces a /tmp/diskette_***/data directory that is not removed.

Environment

Describe your environment:

To Reproduce

Steps to reproduce the behavior:

  1. Use diskette_dump --no-archive
  2. It should output the shellscript commands
  3. A temporary Diskette directory has been created in /tmp

Expected behavior

At least the temporary directory should be removed once finished. But the better would be to not create anything since it won't be used during operation, however the directory creation may be deeply existing in dump process and may be hard to avoid.

sveetch commented 7 months ago

Fixed in v0.3.2-pre.3