Commit Graph
6138 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 57125b9969 fix: type the class attributes of a site test 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 374891b83e fix: one rule for a recorded file's systems 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 0d0b6c54b7 fix: read on-card once with the folder facts
The plan rows, plan text and result screen asked on every frame whether the BIOS folder sits on its system's card, scanning the mounted drives each time. A card pulled out while the plan was open moved Check again from under the focus. The answer is now read with the other folder facts at the end of the check.
2026-11-24 00:29:38 +01:00
Abdessamad Derraz 06f87cf957 refactor: size --list-cores with core_files 2026-11-24 00:20:04 +01:00
Abdessamad Derraz f7157a5191 fix: a refusal mid-run ends on the summary 2026-11-24 00:20:03 +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 c8b5abba83 refactor: type the hash merge test fixtures 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 b365b95632 docs: refresh the contributor list 2026-11-23 23:25:56 +01:00
Abdessamad Derraz a25fdda404 chore: repin the installer after the merge 2026-11-23 23:09:26 +01:00
Abdessamad Derraz 15af2ebb5a fix: count a wrapped path as part of its path 2026-11-23 23:09:02 +01:00
Abdessamad Derraz 58b4842c3f fix: standalone-only runs end on their summary 2026-11-23 23:07:45 +01:00
Abdessamad Derraz d0a7dae589 fix: ask state.offline for the app row 2026-11-23 23:07:45 +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