Commit Graph
2903 Commits
Author SHA1 Message Date
Abdessamad Derraz 19681a3735 refactor: move ten command helpers into packages 2026-11-21 15:47:20 +01:00
Abdessamad Derraz 6d21a98342 docs: drop clause semicolons from three docstrings
test_prose_style named the comments in collection.record, resolve.reviewreport and romrecipes.build.
2026-11-21 15:47:20 +01:00
Abdessamad Derraz 48d88da168 refactor: move six command run modes to packages
generate_db, generate_games_index, download, romset_recipes, validate_pr and list_platforms keep only main and build_parser: the database build goes to collection.run, the games index run to games.run, the pack info and its no-pack message to release.packinfo, the capture and build runs to romrecipes.runs, the file selection to resolve.reviewfiles. Tests reach the moved code through those packages.
2026-11-21 15:47:20 +01:00
Abdessamad Derraz b520e48798 refactor: move profile selection into profiling
select_profiles and version_selection go to profiling.selection, the flag
refusals to profiling.flagchecks. main calls selection, quota and the
profile loader through their modules, so tests patch them there.
generate_truth's parse_args becomes build_parser.
2026-11-21 15:47:20 +01:00
Abdessamad Derraz 2123bd8317 refactor: move campaign and probe modes to probes 2026-11-21 15:47:20 +01:00
Abdessamad Derraz fd1c2e1c16 refactor: thin verify and cross_reference
Option checks, run modes and the strict exits move to packs (verifyoptions, verifyrun, verifyprint, strictgate, crossrefscope, crossrefreport). Both commands keep main and build_parser only.
2026-11-21 15:47:20 +01:00
Abdessamad Derraz 37ec04aed1 refactor: move generate_pack modes into packs
Option checks go to packs/packoptions.py, the run modes to
packs/packmodes.py and the platform choice to packs/platformrun.py.
generate_pack.py keeps main() and build_parser(). Tests patch the
package modules instead of command attributes.
2026-11-21 15:47:20 +01:00
Abdessamad Derraz 7623e49981 refactor: import the pipeline step labels 2026-11-21 15:31:35 +01:00
Abdessamad Derraz 770a25dcf4 fix: read mame driver refs through the collector 2026-11-21 15:31:34 +01:00
Abdessamad Derraz 7aa93f4ad4 refactor: settle fileless profiles by one rule 2026-11-21 14:59:21 +01:00
Abdessamad Derraz 54bd4f2c1e fix: read the fileless audit from the shared cache 2026-11-21 14:59:21 +01:00
Abdessamad Derraz 9cb1e613b0 refactor: move review files and report to resolve 2026-11-21 14:59:21 +01:00
Abdessamad Derraz 2a49bf237b refactor: move the export run into exporter 2026-11-21 14:59:03 +01:00
Abdessamad Derraz d87993129a refactor: move the bundled-only listing into packs 2026-11-21 14:59:03 +01:00
Abdessamad Derraz d6a0b33521 refactor: move the fileless audit into profiling 2026-11-21 14:59:03 +01:00
Abdessamad Derraz d36a5d4bc5 refactor: move the mame ref audit into profiling 2026-11-21 14:59:03 +01:00
Abdessamad Derraz d4dfa18c9e docs: name sitegen.diagrams in the site comments 2026-11-21 14:59:03 +01:00
Abdessamad Derraz 61547d08b3 fix: let make_site_icons answer --help 2026-11-21 14:59:03 +01:00
Abdessamad Derraz f158f1d485 refactor: move the site image tools into sitegen 2026-11-21 14:59:03 +01:00
Abdessamad Derraz 0b91bc9e37 refactor: move the recipe runs into romrecipes 2026-11-21 14:59:03 +01:00
Abdessamad Derraz 2428d92e6a refactor: move the truth diff into exporter 2026-11-21 14:59:03 +01:00
Abdessamad Derraz 75a69a4a42 refactor: move profile_sync logic into profiling 2026-11-21 14:59:03 +01:00
Abdessamad Derraz 22a81c384d refactor: move campaign budget, report to probes
parse_budget goes to probes.host beside Settings, and the line a pass prints, with the alert key autorun reads, to probes.reports.pass_report. campaign.py keeps its parser, main and the exit codes.
2026-11-21 14:59:02 +01:00
Abdessamad Derraz 75aef7e001 fix: mark a standalone record from changed modules
frontend.script_modified looked at standalone_probe.py alone. The run's code now lives in five probes modules: a record from a checkout where one of them differs from the commit says so.
2026-11-21 14:59:02 +01:00
Abdessamad Derraz f61d6a187f refactor: move standalone_probe code into probes
The emulators and their settings, the AppImage fetch, the Xvfb screen reader, the run and its variants, and the record go to five probes modules. standalone_probe.py keeps its parser, main and the printing of each mode. Without an oracle file, a record names probes/standaloneemulators.py, the file that now holds the error strings.
2026-11-21 14:59:02 +01:00
Abdessamad Derraz e24c5b6900 fix: name a failed standalone release fetch
resolve and fetch let a GitHub listing or download failure end on a traceback: the listing raises ProbeError, and fetch also prints forge and HTTP failures as an ERROR line with exit 1.
2026-11-21 14:59:02 +01:00
Abdessamad Derraz 676d0a5d9a fix: name a missing standalone asset, no traceback
standalone_probe run and check raised the ProbeError of a missing fetched asset as a traceback. It is printed as an ERROR line with exit 1, like every other failed run.
2026-11-21 14:59:02 +01:00
Abdessamad Derraz c17d0e0cec refactor: move the demo recorder into sitegen 2026-11-21 14:59:02 +01:00
Abdessamad Derraz e521f4af4f refactor: drop unused maps from the bios migration 2026-11-21 14:58:47 +01:00
Abdessamad Derraz cadca657a3 refactor: move three dev commands into devtools 2026-11-21 14:58:47 +01:00
Abdessamad Derraz 2f428a01a8 refactor: move the pack downloader into release 2026-11-21 14:58:26 +01:00
Abdessamad Derraz 1ca8a775c1 refactor: share the emulator and system output 2026-11-21 14:58:26 +01:00
Abdessamad Derraz b28973440e refactor: load launcher platform configs once 2026-11-21 14:58:26 +01:00
Abdessamad Derraz 6ba52a9682 refactor: move verify, slots, crossref into packs
The three commands keep their parser, main and printing. Scans, scopes,
report text, the JSON forms, the strict gate and the destinations file
live in new packs modules, one subject each.
2026-11-21 14:58:26 +01:00
Abdessamad Derraz 1e95a73a4d refactor: refuse verify-packs combinations once 2026-11-21 14:58:17 +01:00
Abdessamad Derraz a1b8a10cf9 refactor: move generate_pack runs into packs 2026-11-21 14:58:17 +01:00
Abdessamad Derraz d0ce43eb90 docs: name where rom_search_sets lives 2026-11-21 14:58:03 +01:00
Abdessamad Derraz a60ec786b6 refactor: move the games commands into games/ 2026-11-21 14:58:03 +01:00
Abdessamad Derraz f77caa1885 fix: report only recorded names as mame clones 2026-11-21 14:58:03 +01:00
Abdessamad Derraz a0579c687e refactor: drop the no-op branch of dedup planning 2026-11-21 14:58:03 +01:00
Abdessamad Derraz 198515f1cb refactor: move dedup and integrity into collection 2026-11-21 14:58:03 +01:00
Abdessamad Derraz 1978d371ee refactor: index path tails through one helper 2026-11-21 14:58:03 +01:00
Abdessamad Derraz ed6ae84d2c refactor: move generate_db logic into collection 2026-11-21 14:58:03 +01:00
Abdessamad Derraz 9de949dfdb refactor: name the truth directory once 2026-11-21 14:58:02 +01:00
Abdessamad Derraz 7ff8b5faf6 fix: read pipeline caches from the repository root 2026-11-21 14:58:02 +01:00
Abdessamad Derraz 985d07b97e refactor: move pipeline steps into orchestrate 2026-11-21 14:58:02 +01:00
Abdessamad Derraz 5be72484d8 refactor: move refresh_stale logic into freshness 2026-11-21 14:58:02 +01:00
Abdessamad Derraz 7203b5be84 fix: read targets and data from --platforms-dir 2026-11-21 14:57:45 +01:00
Abdessamad Derraz 88e39b6380 refactor: drop the unused core_info_names 2026-11-21 14:57:45 +01:00
Abdessamad Derraz 8a2ef047ab refactor: move check_freshness logic to freshness 2026-11-21 14:57:45 +01:00