chore: drop copies only an install provides

A file that arrives with the emulator is already on the user's machine
and the packs leave it out. 4558 collected copies (1.4 GB) were reached
only by such entries, with no platform, other profile entry or install
manifest needing them. They are removed, and two release-asset copies
leave the ignore list. bundled_only.py now lists every copy of a listed
file, since the database keeps one path per content, and pipeline step
4d fails while one remains.
This commit is contained in:
Abdessamad Derraz committed 2026-10-20 10:17:08 +02:00
1 parent f71b00615d
commit ef8b372810
4568 files changed
+291 -6121581

No files matched your search

+12
View File
@@ -20,6 +20,7 @@ Steps, numbered as the run prints them:
4 generate_pack.py --all ZIP packs
4b generate_pack.py --manifest install manifests
4c --manifest-targets per-target core lists
4d bundled_only.py --strict copies only an emulator install provides
5 consistency check verify counts == pack counts
6 --verify-packs pack integrity, extraction and hashes
7 generate_readme.py README.md and CONTRIBUTING.md
@@ -728,6 +729,17 @@ def main() -> None:
print("\n--- 4c/8 generate target manifests: SKIPPED (--skip-packs) ---")
results["generate_target_manifests"] = SKIPPED
# Step 4d: A collected copy that only an emulator's own install provides.
# Packs leave such files out, so a copy nothing else asks for is weight
# the collection carries for nobody. Read after the manifests, which say
# what an installation ships.
ok, _ = run(
[sys.executable, "scripts/bundled_only.py", "--strict"],
"4d/8 copies only an emulator install provides",
)
results["bundled_only"] = ok
all_ok &= ok
# Step 5: Consistency check. verify describes the full pack, and a run that
# built only a reduced one (--source platform or truth) has nothing to
# compare it with, and says so instead of failing on an empty parse.