feat: retention days limit and clone name templating and useful descr.

This commit is contained in:
2026-07-28 16:01:12 +02:00
parent 9141a09b56
commit 6fab8fe4a5
13 changed files with 273 additions and 23 deletions

View File

@ -397,6 +397,7 @@ def test_replace_changed_unschedules_matching_calendar_entries(
def test_sync_deletes_generated_clones_older_than_retention(tmp_path, monkeypatch) -> None:
monkeypatch.setattr(sync_service, "_today", lambda settings: date(2026, 6, 16))
monkeypatch.setenv("DELETE_OLD_CLONES", "true")
source = _source("Sprint")
service, _repo, garmin = _service(tmp_path, monkeypatch, source)
old_name = "GCClone 2026-06-10 Sprint"