PurgeSnapshots operates across all snapshot names, no per-name filtering #9

Zamknięty
otworzone 2026-02-08 17:16:23 +01:00 przez clawbot · 1 comment
Collaborator

In snapshot.go PurgeSnapshots(), --keep-latest keeps only the single most recent snapshot across ALL snapshot names (e.g. "home", "system"). If you have:

  • system_2024-01-15
  • home_2024-01-14
  • system_2024-01-13

--keep-latest would keep only system_2024-01-15 and delete the latest home snapshot too.

Should support --keep-latest per snapshot name, and allow filtering purge to a specific snapshot name.

Ref: parent issue #1

In `snapshot.go` `PurgeSnapshots()`, `--keep-latest` keeps only the single most recent snapshot across ALL snapshot names (e.g. "home", "system"). If you have: - system_2024-01-15 - home_2024-01-14 - system_2024-01-13 `--keep-latest` would keep only `system_2024-01-15` and delete the latest `home` snapshot too. Should support `--keep-latest` per snapshot name, and allow filtering purge to a specific snapshot name. Ref: parent issue #1
clawbot przypisuje to na siebie 2026-02-20 09:29:25 +01:00
clawbot dodano needs-review etykietę 2026-02-20 09:29:26 +01:00
Author
Collaborator

Closing: resolved by PR #51 (merged).

Closing: resolved by [PR #51](https://git.eeqj.de/sneak/vaultik/pulls/51) (merged).
clawbot zamknął(-ęła) to zgłoszenie 2026-03-22 01:36:55 +01:00
Zaloguj się, aby dołączyć do tej rozmowy.
Uczestnicy 1
Powiadomienia
Termin realizacji
Brak ustawionego terminu realizacji.
Zależności

No dependencies set.

Reference: sneak/vaultik#9