Commit Graph
5583 Commits
Author SHA1 Message Date
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 7ae6996133 docs: name the release and installer packages
The scripts/ tree of the architecture page lists the three packages the
release, installer build and repository check tools now live in.
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 ef25a234ef refactor: map recipe and acquire commands 2026-11-18 20:03:10 +01:00
Abdessamad Derraz 959ffd6fdd docs: name the recipes and acquire packages 2026-11-18 19:58:21 +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 5f7cbdc582 refactor: guards read the code where it moved 2026-11-18 19:31:28 +01:00
Abdessamad Derraz 3af6f818d3 refactor: tests follow the sitegen package 2026-11-18 19:31:28 +01:00
Abdessamad Derraz cbfa26f315 refactor: one manufacturer slug in the collection 2026-11-18 19:31:28 +01:00
Abdessamad Derraz dc4fb652a6 docs: point the site build and pages at sitegen 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 4037c537cc refactor: tests read generator source by script 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 d50dfc36e2 fix: load the pack modules above 3.8 in tests
The packs imports moved to module level in test_install_selection and
test_install_tui. They pull core.cli, which stops below Python 3.9, so
the 3.8 screen test step exited at import.
2026-11-18 18:56:46 +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 74207e25fc refactor: point tests at the packs modules 2026-11-18 13:47:31 +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 6465bd99b1 docs: name the shared scraper and export modules 2026-11-18 13:38:44 +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