Commit Graph
2680 Commits
Author SHA1 Message Date
Abdessamad Derraz b20c0127f9 refactor: autorun code in the unattended package 2026-11-18 21:32:47 +01:00
Abdessamad Derraz 963a81b09a refactor: autorun reads the repository root 2026-11-18 21:22:55 +01:00
Abdessamad Derraz a68ae11d10 docs: name the launcher table's module
The command's docstring, its --help, named sitehandheld.LAUNCHERS; the
table lives in installer_build/handhelds.py.
2026-11-18 20:45:03 +01:00
Abdessamad Derraz ba692da94f refactor: release tools read file_digest
core.hashing.file_digest is the streamed loop the release tools carried,
byte for byte: 1 MiB reads, read again each call. It replaces
compute_hashes with cache=False there.
2026-11-18 20:44:56 +01:00
Abdessamad Derraz 27bff61560 refactor: one reader of the installer pin
The launcher builders read install.py's SHA-256 through
pins.installer_sha256 and the value install.sh pins through pins.PIN,
which now sits beside the pattern pin_installer writes with. build_port
kept a third copy of that pattern.
2026-11-18 20:44:20 +01:00
Abdessamad Derraz b9c91a897d refactor: release tools hash through core.hashing
Five streamed hashlib loops in check, assets, sync and restore read the
digest through compute_hashes with cache=False: the same fresh read of
the bytes, written once.
2026-11-18 20:44:20 +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 5b3b3f19e8 refactor: release and installer tools read root
Code about to move into a package reads core.paths.REPO_ROOT, and the
release tools stop inserting their own folder on sys.path: scripts/ is
on it for every command and package module.
2026-11-18 20:43:14 +01:00
Abdessamad Derraz fa408c4299 docs: name the probe modules where they live 2026-11-18 20:38:29 +01:00
Abdessamad Derraz cacd290d2e refactor: one digest and one lock name for probes 2026-11-18 20:38:29 +01:00
Abdessamad Derraz 4ea44a027e refactor: split the region check into probes 2026-11-18 20:38:29 +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 a40c75e689 refactor: probes read the repository root 2026-11-18 20:37:17 +01:00
Abdessamad Derraz 3bfd72ba7f refactor: name the recipe package romrecipes 2026-11-18 20:20:46 +01:00
Abdessamad Derraz 05a6af5e97 docs: recipes help names the package 2026-11-18 20:11:33 +01:00
Abdessamad Derraz 694ce0c7f9 refactor: one acquisition directory 2026-11-18 19:58:21 +01:00
Abdessamad Derraz b0b505dc94 refactor: one recipe rule, one reconstruction 2026-11-18 19:58:21 +01:00
Abdessamad Derraz 41da592291 refactor: hash fields and pins read one way 2026-11-18 19:58:21 +01:00
Abdessamad Derraz 6172cb65c0 refactor: recipes command imports its packages 2026-11-18 19:49:59 +01:00
Abdessamad Derraz 0e4e5f450d refactor: move recipes and acquisition to packages 2026-11-18 19:49:49 +01:00
Abdessamad Derraz 664776ae91 refactor: recipe modules read the repo root 2026-11-18 19:38:56 +01:00
Abdessamad Derraz cbfa26f315 refactor: one manufacturer slug in the collection 2026-11-18 19:31:28 +01:00
Abdessamad Derraz 01ade3970c docs: name the new homes of moved site code 2026-11-18 19:31:28 +01:00
Abdessamad Derraz b648bf1784 refactor: import urllib.parse where it is read 2026-11-18 19:31:28 +01:00
Abdessamad Derraz 4e50286d8c refactor: split generate_site into sitegen modules 2026-11-18 19:31:28 +01:00
Abdessamad Derraz 231002a7c0 refactor: site commands keep only their options 2026-11-18 19:31:27 +01:00
Abdessamad Derraz 206dae3163 refactor: site modules into the sitegen package 2026-11-18 19:31:27 +01:00
Abdessamad Derraz 29f5c48a2c refactor: system names and guides below packs 2026-11-18 19:31:27 +01:00
Abdessamad Derraz ab0265408c refactor: site code reads the repo root from core 2026-11-18 19:31:27 +01:00
Abdessamad Derraz 825c527d11 refactor: one reader of a declared destination 2026-11-18 13:47:56 +01:00
Abdessamad Derraz d55555f3e0 refactor: one database path index per run 2026-11-18 13:47:56 +01:00
Abdessamad Derraz b4573d310b refactor: one keyword-option guard in core 2026-11-18 13:47:56 +01:00
Abdessamad Derraz 27330be60a refactor: leave the commands their own code 2026-11-18 13:47:56 +01:00
Abdessamad Derraz 1f8e106974 docs: name the packs modules 2026-11-18 13:47:56 +01:00
Abdessamad Derraz f48b66b540 refactor: keep split packs beside platformpack 2026-11-18 13:47:31 +01:00
Abdessamad Derraz 0b532366d0 refactor: move pack library code into packs/ 2026-11-18 13:47:31 +01:00
Abdessamad Derraz 4d4052a8ab refactor: one type-checking block per alias 2026-11-18 13:46:15 +01:00
Abdessamad Derraz 18e91f8c07 refactor: read the repo root from core.paths 2026-11-18 13:46:15 +01:00
Abdessamad Derraz 92903eb4be refactor: split the C# reader from RetroBat's 2026-11-18 13:38:44 +01:00
Abdessamad Derraz 27333c154a refactor: hash the MAME pack with core.hashing 2026-11-18 13:38:44 +01:00
Abdessamad Derraz 738bb5bc07 refactor: share the target scrapers' fetch and CLI 2026-11-18 13:38:44 +01:00
Abdessamad Derraz 6f8b8dedb2 refactor: share the scrapers' fetch helpers 2026-11-18 13:38:44 +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 a81c497e8d refactor: break the scraper import cycles 2026-11-18 13:38:34 +01:00
Abdessamad Derraz 2b3551dd22 fix: keep a write pass going on a cold cache
--rebase-refs or --bump-commit with --offline read the prose of a
profile whose cited files were never cached, and the NotCachedError
ended the whole pass on a traceback. The profile is named, counted
as failed and left as it was, and the pass goes on.
2026-11-18 12:50:24 +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