Commit Graph
3102 Commits
Author SHA1 Message Date
Abdessamad Derraz 02c33be3b5 fix: read catalog coverage under the database 2026-11-24 02:19:13 +01:00
Abdessamad Derraz b350c21329 refactor: read the large-file cache from one place 2026-11-24 02:19:04 +01:00
Abdessamad Derraz afa1e88457 fix: read heading ids from the named sections
console_anchor fell back to the bare slug when no run had installed sections, while system_name read them from the inputs: two Sega folders spelled alike shared one id on a page rendered alone.
2026-11-24 02:19:04 +01:00
Abdessamad Derraz 1c4d26e939 refactor: move installed sections into sitegen
model.systemnames keeps the pure section functions. The sections a site run installs, their heading ids and their generation now live in sitegen.runsections, replaced per run and dropped once the site inputs change.
2026-11-24 02:19:03 +01:00
Abdessamad Derraz 08fbeff62f fix: read a source declared gone at its mirror 2026-11-24 02:18:53 +01:00
Abdessamad Derraz ac334729f5 fix: decide a skipped profile by its kind 2026-11-24 02:18:53 +01:00
Abdessamad Derraz 6e44a93156 refactor: carry platform launches as a dataclass
standalone_set returned one string set mixing standalone names with ten
JSON-tagged record kinds that every reader re-decoded. platform_launches
now returns a frozen PlatformLaunches (resolve/launches.py) with typed
fields, runs_standalone, is_dual, system_file_index and merged, which
_build_layouts and packprobe share.
2026-11-24 02:18:53 +01:00
Abdessamad Derraz d3b741e423 refactor: drop the unused slot conflict line 2026-11-24 02:18:40 +01:00
Abdessamad Derraz b490d0f407 fix: slots --json reports the file the pack serves 2026-11-24 02:18:40 +01:00
Abdessamad Derraz d355649bc3 fix: narrowed manifests skip standalone layouts 2026-11-24 02:18:40 +01:00
Abdessamad Derraz 619f44d657 refactor: drop the unused catalog line of readme 2026-11-24 02:18:40 +01:00
Abdessamad Derraz 3abe6862e2 fix: read the release record through siteinputs 2026-11-24 02:18:40 +01:00
Abdessamad Derraz 1988551739 refactor: split readme inputs from its rendering 2026-11-24 02:18:40 +01:00
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