Commit Graph
3089 Commits
Author SHA1 Message Date
Abdessamad Derraz 40dadc5dcd fix: one rule for the held file a hash names
The system index read sha1 and md5 only, the file lookup any index
with no size bound, the gap table any index unbounded. declared_records
in model.database follows the resolver: a crc32 names only a record of
the declared size, and beside a stronger hash only what it names.
systems.json gains 511 held files declared by sha256 or crc32, and 41
MAME members no longer point at Chihiro's ver1305.bin through the crc32
of an erased flash block.
2026-11-24 02:18:40 +01:00
Abdessamad Derraz f143a8719b fix: publish only the registry the loader merged
The platform API rebuilt the registry by subtracting keys, so the
rom folders the loader attaches (_roms_root, _rom_folders) leaked into
every platform's published registry. model.platforms now says which
registry fields it merged and which per-entry tags it adds.
2026-11-24 02:18:40 +01:00
Abdessamad Derraz 1631ad0f4d refactor: one loader for the rom-folder sources 2026-11-24 02:18:40 +01:00
Abdessamad Derraz 17c64914ef fix: write a mame pin move with no set change
diff_mame now reports the core_version and upstream_commit that
merge_mame_profile writes, both read from mame_pin. A release that
changes no BIOS root set still moves the pin, so the profile is written
and the device sets follow the new release.
2026-11-24 02:18:40 +01:00
Abdessamad Derraz f46f3d9990 fix: key recipe digests by deflate, never zlib-ng
AtomPool cached build digests under a key of torrentzip.py's source
alone, so a survey under zlib-ng saved digests a stock-zlib run then
trusted. writer_identity() in core.torrentzip names the source and the
deflate, the pool keys by it and never persists under zlib-ng, the rule
capture and build already apply.
2026-11-24 01:14:05 +01:00
Abdessamad Derraz 8348ba1f32 fix: purge the old checksum signature with packs
The stale-pack purge kept its own list of release files and left
SHA256SUMS.txt.sig behind, which a skipped signing step then published
beside a new checksum list. release.sums now owns the release set.
2026-11-24 01:14:05 +01:00
Abdessamad Derraz e51dc14d7b refactor: one writer for the instructions note 2026-11-24 01:14:04 +01:00
Abdessamad Derraz dfc1860d0d fix: record a data tree's version beside its cache 2026-11-24 01:14:04 +01:00
Abdessamad Derraz 8ac5cc348b fix: group emulator region files like platforms 2026-11-24 01:14:04 +01:00
Abdessamad Derraz 7000335825 fix: gap report names the platforms a file needs
The gaps page decided again which platforms a missing file affects,
without installed_on and not_bundled_on. whole_tree_gaps now records
them on each missing row with the per-platform rules (build layout,
mode, unread_on, installed_with_emulator), and the page renders them.
2026-11-24 01:14:04 +01:00
Abdessamad Derraz 61c143e984 fix: migrate a folder's files in name order 2026-11-24 00:44:16 +01:00
Abdessamad Derraz f161b0aefa fix: read file addresses in an offline run 2026-11-24 00:43:44 +01:00
Abdessamad Derraz 38f81892ee refactor: one installed-everywhere rule for needs 2026-11-24 00:20:03 +01:00
Abdessamad Derraz 4185ad79ca fix: download.sh picks a pack like download.py 2026-11-24 00:20:03 +01:00
Abdessamad Derraz 04c2691298 refactor: pass the release record to find_pack 2026-11-24 00:20:03 +01:00
Abdessamad Derraz 6dd9eabcb8 fix: run every pipeline step from the repo root
The in-process steps read platforms/, database.json and bios/ from the caller's directory while child steps ran at the root. pipeline.main now moves to the root once --output-dir is resolved, and the step 5 comparisons run from the root when called directly.
2026-11-24 00:20:03 +01:00
Abdessamad Derraz 9b2957fbe4 fix: mark a standalone record from its loaded code 2026-11-24 00:20:03 +01:00
Abdessamad Derraz 83e810d1b3 fix: let core.upstream refuse requests offline
RETROBIOS_OFFLINE was read by six callers and never by the network
gateway: a caller that did not pass offline=True sent the request,
untokened. core.offline holds the rule, open_retrying refuses with
OfflineError and the cached reads answer as an offline run. The callers
read the same predicate, and the tests that fake the network clear the
variable for themselves (tests.ONLINE).
2026-11-24 00:20:03 +01:00
Abdessamad Derraz 409cc843f9 refactor: one owner order for cited repositories 2026-11-24 00:20:03 +01:00
Abdessamad Derraz b0f7d6c661 fix: carry the triage ranking in --json 2026-11-24 00:20:03 +01:00
Abdessamad Derraz dcdaa77ad6 refactor: count the discrepancies the body prints 2026-11-24 00:20:03 +01:00
Abdessamad Derraz 226433bac2 fix: hold a directory by its members alone 2026-11-24 00:20:03 +01:00
Abdessamad Derraz 0be045f95b fix: name an unreadable nested archive as cause 2026-11-24 00:20:03 +01:00
Abdessamad Derraz 387ca39a9d fix: site reads citations through the shared walk
sitegen.sources had its own walk of a profile: it skipped string list
items and read a repository prefix as part of the path, so prboom-plus
and future-pinball-fploader citations that profile_sync tracks were
neither recorded in source-paths.json nor linked. The walk moves to
model.citations, which collect_citations, cited_paths and
link_prose_citations all read.
2026-11-24 00:20:03 +01:00
Abdessamad Derraz 77513c2045 refactor: move archive recipe counts out of cards 2026-11-24 00:20:03 +01:00
Abdessamad Derraz 82cb80d554 refactor: one whole-tree gap report for both 2026-11-24 00:20:03 +01:00
Abdessamad Derraz 5d8320f735 fix: watch the source rom folders are read from 2026-11-24 00:20:03 +01:00
Abdessamad Derraz de1a4d8902 fix: write the required and pin a refresh sets 2026-11-24 00:20:03 +01:00
Abdessamad Derraz a96a0a4641 fix: identity scan walks only collection files 2026-11-23 23:07:45 +01:00
Abdessamad Derraz 2ee77a0622 fix: dedup returns its outcome, failures exit 1 2026-11-23 23:07:45 +01:00
Abdessamad Derraz 64db75a6ee fix: dedup walks only the files the scan indexes 2026-11-23 23:07:45 +01:00
Abdessamad Derraz f896893b6e fix: bios migration says each error once
biosmigrate printed its progress and each failed copy, then migrate.py printed the same failures again. The library now says its steps through the caller's callback and returns the failures, and the command prints each once.
2026-11-23 23:07:45 +01:00
Abdessamad Derraz e62332b4c6 fix: tests rerun what autorun retries
run_tests reran a module only when a signal killed it: a SystemError or an unknown opcode from this host's CPU failed the run, where an autorun step failing the same way ran again. host_misread moves to core.hostguard and both runners read it, a signal kill of any kind now counting for autorun too.
2026-11-23 23:07:45 +01:00
Abdessamad Derraz f379df5e1e refactor: one list of files the pipeline rewrites
diskcleanup kept its own regex of generated paths and missed derivable.json, retired.json and wiki/installer.md, so a worktree holding only a pipeline run's output was kept as uncommitted code. core.generated holds the globs, the cleanup and the nightly's commit rules match with them, and a test ties the regenerate rule to the list. The rule gains install/standalone/*.json and wiki/reading-reports.md, which the pipeline writes and no rule committed.
2026-11-23 23:07:45 +01:00
Abdessamad Derraz 2a3b55432b fix: build the region pack only when asked 2026-11-23 23:07:45 +01:00
Abdessamad Derraz dedbde7917 fix: pack readme reads the guides of its run
model.guides took its platforms folder from the site's inputs, so a pack built with --platforms-dir printed the manual and install commands of the repository's guides. The loaders now take the folder (or the install address) explicitly; sitegen.guidedata binds them to the site's inputs, the pack README to the run's platforms folder, the release notes and the site validation to the folder they were given.
2026-11-23 23:07:45 +01:00
Abdessamad Derraz 2559dfba79 fix: check the tag core_version names, per build
version_basis now answers which tag core_version names for each build mode and repository: the basis tag for a tag basis, core_version otherwise. check_version, the run report and the triage read that answer instead of the raw core_version string, so a describe-form version (armsx2 2.9.2-77-gfc4ab0b) and a mode-keyed one (jgenesis, rpcs3, xemu) can raise the newer and passed release warnings again. A pin at the distance core_version states is not warned about, and a version page is held against the build it announces.
2026-11-23 23:07:45 +01:00
Abdessamad Derraz 14dc75c6fb fix: data trees read the bundled predicate 2026-11-23 23:07:45 +01:00
Abdessamad Derraz 2ff4acb965 fix: merge size refusals on data, not text 2026-11-23 23:07:45 +01:00
Abdessamad Derraz 149f9647bd fix: review zip members by the loose-file rule 2026-11-23 23:07:45 +01:00
Abdessamad Derraz b7ff75a22e refactor: one home for the site image folders 2026-11-23 23:07:45 +01:00
Abdessamad Derraz 2ccd7bb88f fix: gaps and wanted read one sendable rule 2026-11-23 23:07:44 +01:00
Abdessamad Derraz 7ad22248b5 refactor: hold the run's link tables in one place 2026-11-23 23:07:44 +01:00
Abdessamad Derraz 6e8ef2650f refactor: carry the site's page state on the run
Eleven module globals in descriptions, decorate, emulatorpage and
emulatorcards held what one build records about its pages, filled by
build.py and as a side effect of two renderers. They now live on a
PageRegistry the run carries and passes to the renderers and to
decorate_markdown_pages. get/ pages return their date (get_page_data)
instead of writing it, and a card reads the data directory members
from its CardSources. A second build in one process no longer inherits
the first one's maps, and tests build the input instead of patching
globals.
2026-11-23 23:07:32 +01:00
Abdessamad Derraz 6f8e2f90c1 refactor: one choice of packs with their own root 2026-11-23 23:07:32 +01:00
Abdessamad Derraz 46e6b94171 fix: one rule for where a standalone app reads
The site kept a table of entries the app reads outside data_root and the
installer never read it: the manifests copied Cemu's shared fonts, the
Amiberry ROMs and the YAPS2 resources to folders the apps do not open.
The facts now live in each profile as outside_data_root with their
source_ref, and resolve.layout.data_root_place answers for both.

Rows that changed no place were dropped (citra, ymir, cxbx-reloaded,
ppsspp-1.5.4, hatari, the DEV9 files of aethersx2 and armsx2), and the
fsuae row predated its ROMs/Kickstarts standalone_path, which the
launcher walks: its page now gives that folder, as the installer does.
2026-11-23 23:07:32 +01:00
Abdessamad Derraz 13f92eaf4a refactor: move fixed_paths to shell_launchers 2026-11-23 23:07:32 +01:00
Abdessamad Derraz 77115be738 refactor: the run decides what it fetches, once 2026-11-23 21:44:08 +01:00
Abdessamad Derraz 2c274e947e refactor: format the review comment in one module 2026-11-23 21:44:08 +01:00
Abdessamad Derraz b5457d222b fix: leave each job's timeout to the runner 2026-11-23 21:44:08 +01:00