refactor: the run decides what it fetches, once

This commit is contained in:
Abdessamad Derraz committed 2026-11-23 21:44:08 +01:00
1 parent 2c274e947e
commit 77115be738
19 files changed
+490 -236

No files matched your search

+4 -2
View File
@@ -39,11 +39,13 @@ KEY_TYPES: dict[str, dict] = {
"files", "files_done", "files_total", "bytes", "bytes_done", "bytes_total",
"bytes_local", "bytes_network", "size", "present", "missing", "wrong_hash",
"bytes_needed", "bytes_free", "data_missing", "not_installable", "installed", "up_to_date",
"pending", "code", "games", "recognised", "not_games", "gone",
"pending", "code", "games", "recognised", "not_games", "gone", "data_files",
"data_bytes",
), _COUNT),
**dict.fromkeys(("truncated", "ok", "interrupted", "required_only", "applied", "info",
"backup"), _FLAG),
**dict.fromkeys(("systems", "other_drives", "dests", "written", "choice", "parts"),
**dict.fromkeys(("systems", "other_drives", "dests", "written", "choice", "parts",
"copied", "lacking"),
_NAMES),
**dict.fromkeys(("platforms", "failed", "skipped", "left_out", "kept", "found",
"fallback"), _RECORDS),