Commit Graph
252 Commits
Author SHA1 Message Date
Abdessamad Derraz 5961b6bfe7 refactor: annotate the shared pack and lock api 2026-10-18 00:03:59 +02:00
Abdessamad Derraz 5ae83ba2fa refactor: hash each manifest file once 2026-10-17 23:54:20 +02:00
Abdessamad Derraz 09eb4f4ef3 fix: show exclusions and every verify-packs error 2026-10-17 23:05:48 +02:00
Abdessamad Derraz 0bac022c2b fix: replay absent core claims when narrowing 2026-10-17 22:21:50 +02:00
Abdessamad Derraz 55631a2fbc fix: end listings quietly when the reader leaves 2026-10-17 20:50:22 +02:00
Abdessamad Derraz de8e7ff02e fix: separate message parts with a colon 2026-10-17 20:47:22 +02:00
Abdessamad Derraz 262cb5e438 fix: list core files nobody holds as omissions 2026-10-17 20:28:31 +02:00
Abdessamad Derraz 4a09412ae6 fix: fail a pack run missing its data directories 2026-10-17 19:41:35 +02:00
Abdessamad Derraz 18e61fabcb refactor: read the asset registry with one parser
generate_pack kept a private .gitignore parser whose cache ignored the
root it was asked about, and generate_db a copy of the shared one. Both
now read largefiles.load_registered_paths, cached per root. Test modules
whose main block preceded their last class end with it again.
2026-10-17 19:35:42 +02:00
Abdessamad Derraz 1ffc0a6937 fix: hold data directories while packs read them 2026-10-17 19:22:50 +02:00
Abdessamad Derraz c7737d629e fix: publish target lists as the builder reads 2026-10-17 19:16:30 +02:00
Abdessamad Derraz e6c29452f9 fix: never drop a held file for a missing region
Region filtering ranked every declared file, held or not, so a request
answered only by a missing file dropped the held fallback and emptied
the slot. Only held files now decide what gives way; the missing better
match stays reported.
2026-10-17 18:31:56 +02:00
Abdessamad Derraz 2e52f06896 fix: accept every version a profile lists by name
A profile lists each version its code takes under one name. The core
extra carries the first; a held copy matching another entry of the same
profile is no longer reported as a hash discrepancy.
2026-10-17 18:11:38 +02:00
Abdessamad Derraz 426d3c619d fix: let a platform's only target filter nothing 2026-10-17 14:48:35 +02:00
Abdessamad Derraz feb3b03a39 fix: suggest the nearest system or emulator name 2026-10-17 12:44:22 +02:00
Abdessamad Derraz b6331a765a fix: name the platform a typo was meant to be 2026-10-17 12:28:27 +02:00
Abdessamad Derraz a51003499f refactor: drop imports the builder no longer uses 2026-10-17 11:50:00 +02:00
Abdessamad Derraz 6cc969e043 fix: judge path conflicts by the builder verdict 2026-10-17 11:47:42 +02:00
Abdessamad Derraz 921de6a1a6 fix: refuse a truth pack a platform cannot fill 2026-10-17 10:31:02 +02:00
Abdessamad Derraz 7a6e494597 fix: name custom and system packs by their selection
Two --from-md5 runs with different hash lists wrote the same file, the
second replacing the first, and a pack limited to thirty systems built
a name longer than a file name may be. The custom pack now carries a
digest of its hash list, and a long system list keeps its first system,
a count and a digest, as the emulator pack does.
2026-10-17 10:28:11 +02:00
Abdessamad Derraz e5b8cede92 fix: agree on missing files in system packs
The emulator pack recorded only loose files as a path's occupant, so a
path an archive or data tree had filled was reported missing even with
the same bytes in the ZIP, and an archive several profiles ask for was
counted once per profile. verify registered neither, and credited one
profile's file at a path holding another's. Both now record archives
and tree members in pack order; --system snk-neogeo-mvs went from 113
missing in the pack and 51 in verify to 59 on both sides.
2026-10-17 02:20:25 +02:00
Abdessamad Derraz 03784eeceb fix: count instruction notes in pack_files 2026-10-17 01:59:50 +02:00
Abdessamad Derraz 42950a553c feat: refresh data trees once per online pipeline
Step 2 refreshed the data directories, then the pack build and the
manifest build refreshed them again, so a tree tracking a moving
branch could differ between the pack and the manifest. generate_pack
gains --no-refresh-data, which packs the cached trees and still
fetches release assets; the online pipeline passes it to both builds.
2026-10-17 01:59:20 +02:00
Abdessamad Derraz e26516fc0e fix: write a group's pack under the group's name
The RetroArch and Lakka pack was built under RetroArch's own name and
renamed afterwards, which overwrote then carried away a --platform
retroarch pack in the same directory, and failed on Windows where
os.rename refuses an existing target.
2026-10-17 01:58:15 +02:00
Abdessamad Derraz 29fb1a58e4 fix: name long emulator packs within a file name
--system snes joined 23 emulator names into the ZIP name and died
with ENAMETOOLONG before writing anything. The system pack now passes
its own name in, and an --emulator selection too long to join keeps
its first name, a count and a digest of the selection.
2026-10-17 01:57:53 +02:00
Abdessamad Derraz 5c969a3651 fix: rank slots with the platform's own cores 2026-10-17 01:35:39 +02:00
Abdessamad Derraz e659228777 fix: let target installs match their target pack 2026-10-17 00:39:57 +02:00
Abdessamad Derraz 479ad7fd8c fix: arbitrate slots for the target and source 2026-10-16 22:07:48 +02:00
Abdessamad Derraz 1699caaca2 fix: pick the archive holding a core's members 2026-10-16 19:22:45 +02:00
Abdessamad Derraz 866f214e20 refactor: share the baseline verdict with the manifest 2026-10-16 17:09:08 +02:00
Abdessamad Derraz f9a263f11c fix: index regions over the platform's own cores 2026-10-16 14:17:20 +02:00
Abdessamad Derraz b173a2a851 fix: place libretro dolphin files where it reads 2026-10-16 14:03:17 +02:00
Abdessamad Derraz 98c21f19f7 fix: count files the emulator pack drops 2026-10-16 12:49:41 +02:00
Abdessamad Derraz d049270515 fix: report core files the platform pack displaces 2026-10-16 12:49:34 +02:00
Abdessamad Derraz 0ddeb2afa4 fix: keep a platform omission behind core claims 2026-10-16 12:22:26 +02:00
Abdessamad Derraz a8b9232093 fix: arbitrate slots on the file the pack ships 2026-10-16 12:06:26 +02:00
Abdessamad Derraz b4cca4a6b2 fix: judge packs against the run's directories 2026-10-16 11:41:51 +02:00
Abdessamad Derraz c488e0d75e fix: key verify archive slots like the pack 2026-10-16 09:58:57 +02:00
Abdessamad Derraz 5cfaf97173 fix: replay system drops and keep file modes 2026-10-16 09:44:23 +02:00
Abdessamad Derraz 5fbb1286d0 fix: refuse a manifest hash the scan contradicts 2026-10-16 09:43:46 +02:00
Abdessamad Derraz fbe432ccd0 feat: install only what the installed cores read 2026-10-16 05:02:50 +02:00
Abdessamad Derraz 7cb4b926a3 feat: let a core check warn instead of reject 2026-10-15 21:53:13 +02:00
Abdessamad Derraz 33ae27ebcf fix: count an emulator pack by slot, as verify 2026-10-15 21:20:14 +02:00
Abdessamad Derraz f5a5d6f4bd fix: judge a core file by the cores that read it 2026-10-10 14:05:57 +02:00
Abdessamad Derraz fd8db894d8 fix: test extras grouping through the real chain 2026-10-10 12:16:11 +02:00
Abdessamad Derraz 315549a5b0 fix: decide destination winners without data dirs 2026-10-10 11:20:33 +02:00
Abdessamad Derraz 707c81d2cf fix: name a target by its canonical name 2026-10-10 08:09:00 +02:00
Abdessamad Derraz e6905f48e7 fix: name a system pack apart from an emulator one 2026-10-10 08:04:04 +02:00
Abdessamad Derraz 9002a4a4bb fix: lay a hash pack out as its emulator does 2026-10-10 07:59:18 +02:00
Abdessamad Derraz e8bdcb405d fix: refuse an unknown emulator for a hash pack 2026-10-10 07:54:56 +02:00