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

feature!: Improve and modify Auto-remove #1977

Open
buhtz opened this issue Dec 23, 2024 · 0 comments
Open

feature!: Improve and modify Auto-remove #1977

buhtz opened this issue Dec 23, 2024 · 0 comments
Assignees
Labels
Cosmetics appearance, icons, themes Discussion decision or consensus needed Documentation Feature requests a new feature

Comments

@buhtz
Copy link
Member

buhtz commented Dec 23, 2024

Blocked by and follow-up of #1976
Meta issue #1945

Problem

The Auto-remove feature has potential for improvement. It is complex in some details. And the code is not organized in a way to create isolated unit tests.

Goals

  1. Refactor the code.
  2. Add unit tests.
  3. Modify the behavior with revising existing rules, maybe adding new rules and/or removing rules.
  4. Modify user manual accordingly.

Details about modifications considered

  • Term "snapshot" to "backup" (Issue ???)
  • Remove? "Remove if snapshot is older than N years/months/weeks." (ref)
    • Because of that modify: "Keep one snapshot per year for all years" from QLabel to a modifyable value.
  • Maybe: Time-independent rule: "No matter what, keep the NN last backups" (ref)
  • Think about rules respecting each other and not overwritting. Example "Keep one monthly backup for 12 months" plus "Always keep the last 10 daily backups"
  • Inode/space rules: Remove them maybe.
  • Separate feature: pre-warning if user-defined threshold of space/inode limit is reached.
  • Ask user "ceperman" for review (ref).
@buhtz buhtz added Documentation Feature requests a new feature Discussion decision or consensus needed Cosmetics appearance, icons, themes labels Dec 23, 2024
@buhtz buhtz added this to the 2nd release from now milestone Dec 23, 2024
@buhtz buhtz self-assigned this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cosmetics appearance, icons, themes Discussion decision or consensus needed Documentation Feature requests a new feature
Projects
None yet
Development

No branches or pull requests

1 participant