fix: keep the offline database build offline

preserve_large_file_entries mixed the keep-or-drop rule with a download,
a write into bios/ and a SystemExit. The rule is now surviving_entries,
the restore a separate step that receives offline, and read_database
raises DatabaseUnreadable that the build turns into exit 1. generate_db
gains --offline, which pipeline --offline passes to step 1.
This commit is contained in:
Abdessamad Derraz committed 2026-11-21 16:43:57 +01:00
1 parent 8ec1c3aa2f
commit a30984912c
8 files changed
+208 -147

No files matched your search

+1 -1
View File
@@ -147,7 +147,7 @@ def main() -> None:
total_start = time.monotonic()
results = StepResults(total_start)
all_ok = database_steps(results)
all_ok = database_steps(args, results)
all_ok = refresh_steps(args, results) and all_ok
all_ok = truth_steps(args, results) and all_ok
ok, verify_output, destinations_file = verify_steps(args, results, held)