Commit Graph
3153 Commits
Author SHA1 Message Date
Abdessamad Derraz 4e01cff854 fix: report no mismatch from another system's file
A same-named file that fails the size or content check an entry
declares was returned as its hash mismatch wherever it was filed.
NanoBoyAdvance's 16 KB bios.bin was reported as the 64 KB PCem PC
BIOS. The mismatch fallback now leaves out another emulator's tree
and any maker folder the entry's system does not name.
2026-11-24 10:19:00 +01:00
Abdessamad Derraz b2d4eee534 refactor: derive the python 3.8 module list
pr_checks.py builds it from tests/test_tui_*.py, and a test holds the validate.yml line to it.
2026-11-24 10:09:42 +01:00
Abdessamad Derraz 5f354c8faf refactor: move the probe inputs out of tests/
content.yml, oracle.yml, pack_content.yml and observations.yml are read by core_probe, the probes and the site build: they are inputs, not fixtures. measurements/ holds append-only <emulator>.jsonl records only, so they move to campaign/ at the root.
2026-11-24 10:09:39 +01:00
Abdessamad Derraz 61e302d8f6 refactor: make names shared across modules public 2026-11-24 08:24:02 +01:00
Abdessamad Derraz c3b67d5485 refactor: split the full-screen tests by subject
test_install_tui.py held 16,850 lines. Its 100 test classes move whole into fourteen test_tui_* modules, the shared states, manifests and pseudo-terminal into tests/tuisupport.py. Methods one class borrowed from another live in holder classes there. CI and pr_checks.py run every new module on Python 3.8.
2026-11-24 07:37:15 +01:00
Abdessamad Derraz 5451bc5b91 refactor: split the installer and launcher tests
test_install.py becomes eleven modules by subject, test_install_selection.py
gives its pack parity classes to test_install_pack_parity.py, and
test_handheld_launchers.py becomes three. Shared helpers live in
tests/installsupport.py and tests/handheldsupport.py. Test ids are unchanged.
2026-11-24 07:36:36 +01:00
Abdessamad Derraz 623ef5cabe refactor: split e2e and audit suites by subject
test_e2e.py (7,245 lines) becomes eight test_e2e_* modules whose TestE2E* classes inherit the shared scenario from tests/e2esupport.py. test_audit_regressions.py (8,391 lines) becomes eight test_audit_* modules, its constants in tests/auditsupport.py. Test bodies move verbatim and every test id keeps its method name.
2026-11-24 07:36:23 +01:00
Abdessamad Derraz 7ca304a5dd refactor: split the campaign class
Probe runs, check state and findings move verbatim into a CheckRuns
base class in probes.checkruns, with the records they share. Cores and
ContentStore name CheckRuns, the class holding everything they read.
2026-11-24 06:21:09 +01:00
Abdessamad Derraz 209dbf38d8 refactor: move report inputs out of the resolver
The refs a report anchors, the repositories it reads and the revisions
it compares move to profiling.reportinputs. The resolver keeps the
per-profile _Resolver and build_report.
2026-11-24 06:21:09 +01:00
Abdessamad Derraz 1a33cb6e8a refactor: split romfolders.es by format family
ES-DE moves to romfolders.esde, the formats built from package scripts
(elec-conf, Recalbox, RetroPie) to romfolders.packages.
2026-11-24 06:20:52 +01:00
Abdessamad Derraz 6e9c06850f refactor: split the arcade parent importer
Set readers for DATs, FBNeo's driver list and flycast's table move to
arcade_sets, the old MAME driver code reader to arcade_drivers.
2026-11-24 06:20:52 +01:00
Abdessamad Derraz 65c208b8cd refactor: split the hash merge by subject
Writing the merged profile text moves to _hash_write, the generated
MAME device and software list sections to _mame_sections.
2026-11-24 06:20:52 +01:00
Abdessamad Derraz 263a64c0e0 refactor: split core.upstream by subject
HTTP to the forges moves to core.forgehttp, comparisons, trees and
clone history to core.upstreamtree. core.upstream keeps repositories,
the cache and revisions.
2026-11-24 06:20:52 +01:00
Abdessamad Derraz ce92eff0aa refactor: split core extras by subject 2026-11-24 06:20:45 +01:00
Abdessamad Derraz 83055b87ea refactor: split the platform pack plan and zip 2026-11-24 06:20:08 +01:00
Abdessamad Derraz c8258522a4 refactor: split platform checks out of integrity 2026-11-24 06:19:54 +01:00
Abdessamad Derraz 4916b4a44e refactor: move the declaration tally to its module 2026-11-24 06:19:17 +01:00
Abdessamad Derraz 0232f0549b refactor: move entry sources out of crossref 2026-11-24 06:18:19 +01:00
Abdessamad Derraz e9206e7cc8 refactor: split the manifest build from its entry 2026-11-24 06:18:03 +01:00
Abdessamad Derraz c186a2acbd refactor: make the names pack modules share public 2026-11-24 06:17:48 +01:00
Abdessamad Derraz 6c48409912 refactor: split four oversized site modules
The emulator page sheds its intro and data directories, the gaps page its problem files and core complement, starlight its sidebar topics, the data exports their rows. Names another module now reads lose their underscore.
2026-11-24 06:02:03 +01:00
Abdessamad Derraz 2786b3be34 refactor: split the emulator card module
File badges and the romset and version rows get modules of their own.
2026-11-24 06:02:03 +01:00
Abdessamad Derraz 9cdca28e52 chore: name the split resolve modules 2026-11-24 05:54:38 +01:00
Abdessamad Derraz 571a22d2b6 refactor: split native model and review hashes 2026-11-24 05:54:38 +01:00
Abdessamad Derraz 753e873472 refactor: split truth generation from its diff 2026-11-24 05:54:38 +01:00
Abdessamad Derraz 2d79a2e1b5 refactor: split resolve_local_file stages 2026-11-24 05:54:38 +01:00
Abdessamad Derraz 39a4c86917 refactor: split validation by subject 2026-11-24 05:54:38 +01:00
Abdessamad Derraz c6352f2db1 refactor: split the launcher layer by subject 2026-11-24 05:54:38 +01:00
Abdessamad Derraz e43b07c669 refactor: move emuelec run dispatch apart
What emuelecRunEmu.sh starts and the config evidence helpers leave
emuelec_launchers, which keeps one extractor per emulator.
2026-11-24 05:41:04 +01:00
Abdessamad Derraz 7c163c358c refactor: move rocknix device configs apart
The per-device config files and their records leave rocknix_launchers,
which keeps one extractor per emulator.
2026-11-24 05:41:04 +01:00
Abdessamad Derraz 19100f9881 refactor: split batocera launchers by subject
Name searches and config writes get a module each. batocera_launchers
keeps the directory readers and the extractor order.
2026-11-24 05:41:04 +01:00
Abdessamad Derraz 26608b8322 refactor: split retropie launchers by subject
The scriptmodules shell and the per-package reader get a module each.
retropie_launchers keeps the package and launch script records.
2026-11-24 05:41:04 +01:00
Abdessamad Derraz c5e60c9d13 refactor: split recalbox launchers by subject
The configgen reader, the existence cascades and the standalone
generators get a module each. recalbox_launchers keeps the libretro
directories and the extractor order.
2026-11-24 05:41:04 +01:00
Abdessamad Derraz 033246e6e4 refactor: split retrobat launchers by emulator
The C# readers, the expression renderer and each emulator family get a
module of their own. retrobat_launchers keeps the source list and the
extractor order.
2026-11-24 05:41:04 +01:00
Abdessamad Derraz 88ea3d58ad refactor: one naming style per package 2026-11-24 03:46:21 +01:00
Abdessamad Derraz 4cefc91ed8 refactor: integrity reads the one pack scope 2026-11-24 03:41:35 +01:00
Abdessamad Derraz dec7d4bc05 fix: a left-out folder carries its reason 2026-11-24 03:39:00 +01:00
Abdessamad Derraz e37aedaada refactor: read card launchers from handhelds table 2026-11-24 03:38:59 +01:00
Abdessamad Derraz 06e16510d5 refactor: one low disk threshold in hostguard 2026-11-24 03:38:59 +01:00
Abdessamad Derraz 54bed5c235 fix: keep test envs and patches in disk cleanup 2026-11-24 03:38:59 +01:00
Abdessamad Derraz a5425d69cd refactor: freshness asks the importer its dat rule 2026-11-24 03:38:59 +01:00
Abdessamad Derraz c0d85cca0b refactor: grouping returns its labels and moves 2026-11-24 03:38:59 +01:00
Abdessamad Derraz 95cbb5af1d fix: read archive members under the collection 2026-11-24 03:38:59 +01:00
Abdessamad Derraz 27dc26bd80 refactor: return recale refusals as data
rebase_refs returns Recale(applied, refused) instead of printing its refusals, and run.py prints them. bump_commit names the refs that hold the pin when a recale is pending, so --bump-commit alone says why the pin stayed.
2026-11-24 03:38:59 +01:00
Abdessamad Derraz 0e5b451b14 refactor: manifest reads the one pack scope 2026-11-24 03:38:59 +01:00
Abdessamad Derraz c86a9abc83 fix: give unsourceable gap rows their destination 2026-11-24 03:38:59 +01:00
Abdessamad Derraz 2e80ad0211 fix: count unsourceable core files as verify does 2026-11-24 03:38:59 +01:00
Abdessamad Derraz 94fbf8d386 fix: carry each gap row's category from crossref 2026-11-24 03:38:59 +01:00
Abdessamad Derraz e21c3478b4 fix: name the recipes folder once in core.paths 2026-11-24 03:23:46 +01:00
Abdessamad Derraz fd5cd98a7f fix: read wanted dumps beside the site database 2026-11-24 02:19:13 +01:00