Commit Graph
30 Commits
Author SHA1 Message Date
Abdessamad Derraz 9cb1e613b0 refactor: move review files and report to resolve 2026-11-21 14:59:21 +01:00
Abdessamad Derraz d36a5d4bc5 refactor: move the mame ref audit into profiling 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 75a69a4a42 refactor: move profile_sync logic into profiling 2026-11-21 14:59:03 +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 cadca657a3 refactor: move three dev commands into devtools 2026-11-21 14:58:47 +01:00
Abdessamad Derraz a60ec786b6 refactor: move the games commands into games/ 2026-11-21 14:58:03 +01:00
Abdessamad Derraz 7f19ff2ceb chore: type the test fixtures mypy rejected 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 ed6ae84d2c refactor: move generate_db logic into collection 2026-11-21 14:58:03 +01:00
Abdessamad Derraz 985d07b97e refactor: move pipeline steps into orchestrate 2026-11-21 14:58:02 +01:00
Abdessamad Derraz 8a2ef047ab refactor: move check_freshness logic to freshness 2026-11-21 14:57:45 +01:00
Abdessamad Derraz 5fa802a3c5 refactor: move schema checks into a package 2026-11-21 14:57:45 +01:00
Abdessamad Derraz 8303c133ab chore: register five domain packages for commands 2026-11-21 13:49:07 +01:00
Abdessamad Derraz b20c0127f9 refactor: autorun code in the unattended package 2026-11-18 21:32:47 +01:00
Abdessamad Derraz c4fdf12874 refactor: release, installer_build, devtools pkgs
The release tools, the installer build tools and the repository's
commit and PR checks keep their commands and move their code into
three packages. The release record readers move to model.releaserecord,
romfolders to model, the buildbot check to scraper. The site reads the
handheld launchers and the bootstrap pin from installer_build.
2026-11-18 20:44:12 +01:00
Abdessamad Derraz 6debde95b4 refactor: split the pack probe into probes 2026-11-18 20:38:29 +01:00
Abdessamad Derraz 0471b80946 refactor: split the campaign into probes 2026-11-18 20:38:03 +01:00
Abdessamad Derraz 853a36c79f refactor: campaign rules and editor into probes 2026-11-18 20:37:49 +01:00
Abdessamad Derraz fdb7b6f912 refactor: host lock and measurement records go low 2026-11-18 20:37:33 +01:00
Abdessamad Derraz 3bfd72ba7f refactor: name the recipe package romrecipes 2026-11-18 20:20:46 +01:00
Abdessamad Derraz 6172cb65c0 refactor: recipes command imports its packages 2026-11-18 19:49:59 +01:00
Abdessamad Derraz 3af6f818d3 refactor: tests follow the sitegen package 2026-11-18 19:31:28 +01:00
Abdessamad Derraz 0b532366d0 refactor: move pack library code into packs/ 2026-11-18 13:47:31 +01:00
Abdessamad Derraz 18e91f8c07 refactor: read the repo root from core.paths 2026-11-18 13:46:15 +01:00
Abdessamad Derraz a5834a4b8a refactor: move the export library into exporter 2026-11-18 13:38:44 +01:00
Abdessamad Derraz 8738179f42 refactor: move the region audit library down 2026-11-18 13:38:44 +01:00
Abdessamad Derraz 735f86283b refactor: split profile_sync into profiling
profile_sync.py keeps the command line: the parser, the flag checks,
profile selection against the branch, main, and the two steps that
read top-level modules (project_base, the site's source paths). The
library goes to one module per concern under scripts/profiling.

Tests that patched a name now patch the module their caller reads
it from. test_layers declares profiling with no sibling imports.
2026-11-18 12:49:20 +01:00
Abdessamad Derraz e1f2f8685d refactor: move upstream, sourceref, version_basis
upstream reads forges with the standard library alone and scrapers,
packs and the site read it: it goes to core. sourceref is the grammar
of a profile field, which the site parses without the comparison
tool: it goes to model. version_basis is read by profile_sync alone
and opens the profiling package.
2026-11-18 12:39:09 +01:00
Abdessamad Derraz ba94437558 feat: hold the import layers of scripts/
core (0) imports the standard library only, model (1) loads data,
resolve (2) turns declarations into files, the domain packages (3)
build on them and the top-level scripts are the commands (4). The test
refuses an import into a higher layer, a cycle between packages or
inside core, model and resolve, and a package module importing a
top-level module. NOT_YET_PACKAGED and PENDING_TOP_LEVEL_IMPORTS list
what later waves move, exactly, so an emptied entry has to leave.
2026-11-18 11:40:15 +01:00