aiidateam / disk-objectstore

An implementation of an efficient "object store" (actually, a key-value store) writing files on disk and not requiring a running server
https://disk-objectstore.readthedocs.io
MIT License
15 stars 8 forks source link

Backups: default `keep=None`, which keeps all previous backups #167

Closed eimrek closed 4 months ago

eimrek commented 4 months ago

Default keep=1 might be dangerous, in case that users want to keep many backups, as accidentally forgetting to specify --keep will delete them down to 2 by default.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.90%. Comparing base (d23dac4) to head (1725988).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #167 +/- ## ======================================= Coverage 99.90% 99.90% ======================================= Files 10 10 Lines 2085 2086 +1 ======================================= + Hits 2083 2084 +1 Misses 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.