Commit Graph
3073 Commits
Author SHA1 Message Date
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
Abdessamad Derraz c1ff070863 fix: raise download failures as DownloadError 2026-11-23 21:44:08 +01:00
Abdessamad Derraz 1ab22ec956 refactor: elect arcade boards in their own module
The board election, its lazy load and its cache sat in render, with the
cache flag in model.systemnames. sitegen.arcadeboards elects them into a
frozen ArcadeBoards, build.py installs them once the sections are the
run's, and render keeps the hrefs. systemnames counts its installs
instead of holding a board flag, and section_without_boards moves there.
The elected boards and the Arcade sections are identical before and
after on the repository's data.
2026-11-23 21:44:08 +01:00
Abdessamad Derraz 74924be233 fix: place install commands where systems link
system_install_choices and the emulator card's maker read the folder
votes of sitegen.places while every system link read system_section:
Game Boy Color's commands sat under Game Boy, Super A'Can's under
Arcade. Both now read system_section, after the boards are recorded,
and a test checks every command against its system's link.
2026-11-23 21:44:08 +01:00
Abdessamad Derraz 2971219571 fix: publish the manifests the pages link 2026-11-23 21:44:08 +01:00
Abdessamad Derraz 19871672e1 refactor: return the restore outcome as a record 2026-11-23 21:02:47 +01:00
Abdessamad Derraz d676991502 fix: root database paths at the bios parent
Identification, the atom pool and capture opened database paths against
the working directory while the build read them under the parent of
--bios-dir. Against a worktree copy the pool dropped every loose ROM and
the survey read the main checkout. romrecipes.collection now holds the
one rule and every reader goes through it, select included.
2026-11-23 21:02:47 +01:00
Abdessamad Derraz 9491c02887 refactor: read tree members the build recorded 2026-11-23 21:02:47 +01:00
Abdessamad Derraz e4845ea446 refactor: one table decides what refresh runs 2026-11-23 21:02:47 +01:00
Abdessamad Derraz 42322a2fd9 refactor: read finding state in one probes module 2026-11-23 21:02:47 +01:00
Abdessamad Derraz 6b1798cb97 refactor: one wait for an idle host in probes 2026-11-23 21:02:47 +01:00
Abdessamad Derraz 6451ea13b4 fix: hold the data trees inside build_export 2026-11-23 21:02:46 +01:00
Abdessamad Derraz 5271984e8e refactor: build pack commands with install_command
The pack README spelled both bootstrap one-liners itself, eight times,
so a change to how options reach the bootstrap would have left every pack
on the old command. It now asks install_command, like the site and the
release notes.
2026-11-23 21:02:46 +01:00
Abdessamad Derraz e8b3cef5d5 fix: read the platform guides on first use
model.guides read and checked _registry.yml and _guides.yml at import,
from the repository: a pack build died on a registry entry without a guide
before parsing its options, and a site run on another platforms folder
took the repository's guides. The guides now load on first use, keyed on
siteinputs.current().platforms, behind accessor functions.
2026-11-23 21:02:46 +01:00
Abdessamad Derraz 9f987adb8c fix: pass the data dir registry to truth
generate_platform_truth read the checked-out platforms/_data_dirs.yml when no registry was given. The registry is now required, and the gaps page passes the one of its own run.
2026-11-23 21:02:46 +01:00
Abdessamad Derraz d6abe6fd95 fix: name why an external download failed
download_external returns an ExternalFetch outcome instead of printing and returning a bare bool, so the pack report names the real cause. lookup_hashes resolves offline and counts a release asset as held without downloading it.
2026-11-23 21:02:46 +01:00
Abdessamad Derraz 5b3f0c3f4c fix: settle a platform declaration in one place
The pack builder and the manifest each coded the copy a declaration
ships: resolve, agnostic substitute, frontend verdict, then the cores'
choice. The builder skipped the cores' choice once an earlier
declaration of the path was refused, and shipped the copy the name found
while the installer placed the variant the core accepts.
DeclarationJudge in packs/declsettle.py now settles it for both, and the
cores choose on every copy shipped.
2026-11-23 21:02:46 +01:00