Commit Graph
124 Commits
Author SHA1 Message Date
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 dfc1860d0d fix: record a data tree's version beside its cache 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 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 226433bac2 fix: hold a directory by its members alone 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 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 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 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 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 3344cfd2fb refactor: split crossref into its three subjects
FileConsumers, held_copy and entry_target move to packs/consumers.py, the
data/ and bios/ ZIP index to packs/supplemental.py, the launcher-name report
to packs/crossreflaunchers.py and the set-aside labels with
profile_breakdown to packs/crossreftext.py. The site no longer imports the
gap engine to learn who reads a file.
2026-11-23 21:02:44 +01:00
Abdessamad Derraz cdbde88017 refactor: one owner for the get page description
getpages and handheld write the description of every download page.
The unreachable copy in descriptions parsed their rendered text.
2026-11-23 21:02:27 +01:00
Abdessamad Derraz acdce07ea5 fix: give the gaps page accepted hashes as data
Verify details now hold the values a refused hash check accepts, so the
gaps page no longer parses them out of the mismatch message.
2026-11-23 21:02:27 +01:00
Abdessamad Derraz ef33a95971 refactor: decide the recorded trees in one place 2026-11-22 02:26:45 +01:00
Abdessamad Derraz 04e1d2d3ab fix: name every export change on the site page
The run's summary and the exports page each built the sentence from their
own table, and the page dropped sizes and hashes removed and md5 lists.
Both now read one table of change kinds, and each report stores a count
per kind. The committed reports gain those counts from their own records.
2026-11-22 02:26:45 +01:00
Abdessamad Derraz 5c3f2c7146 fix: key coverage cache on the given collection 2026-11-22 02:26:44 +01:00
Abdessamad Derraz 9979f1856d fix: build agent commands from install_command 2026-11-22 02:26:44 +01:00
Abdessamad Derraz 137035d28b fix: read site manifests and archives from inputs 2026-11-22 02:26:44 +01:00
Abdessamad Derraz 0d44254504 fix: read site manifests and zips from the inputs 2026-11-22 00:58:05 +01:00
Abdessamad Derraz 6559d96ac4 refactor: split page preparation and cards 2026-11-22 00:58:05 +01:00
Abdessamad Derraz 5e7593b3bf fix: count gap sources once for page and text 2026-11-22 00:58:05 +01:00
Abdessamad Derraz 5dbd2df9ec fix: one rule for a file every setup installs 2026-11-22 00:58:05 +01:00
Abdessamad Derraz 1839916ca2 fix: prove launcher records against run profiles 2026-11-21 21:42:19 +01:00
Abdessamad Derraz 0617598e21 fix: keep insights readings when one source fails
sitegen.insights raised SystemExit with CLI text from inside its fetch
functions: a GitHub rate limit after Search Console and GoatCounter had
been read ended the run with no report. It now raises SourceUnavailable,
also for a missing credential file. site_insights names the source in
the report and on stderr and exits 1. A damaged downloads snapshot is a
SourceUnreadable, read before any source is fetched.
2026-11-21 21:42:18 +01:00
Abdessamad Derraz e0339e2f20 fix: decide bundled files per setup on the site
comes_with_app called installed_with_emulator without a platform, so
hcl, cdogs, hurrican, ikemen, linapple, solarus and touchhle pages said
every file came with the app and printed no install command, while
install/batocera.json serves 667 hcl files. The route now asks per setup,
and a page naming no setup treats not_bundled_on files as files to get.
2026-11-21 21:42:18 +01:00
Abdessamad Derraz 2f9cfc8e8d fix: site reads core file counts from verify
compute_coverage recounted the gap entries: one per entry, not one per
pack path, with held-but-unplaced and bundled files counted missing.
RetroArch read 7956 packed and 419 missing where verify says 7977 and
66. packs/shares.py holds the split both now read.
2026-11-21 21:42:18 +01:00
Abdessamad Derraz 01f8408038 refactor: drop the unused readme REPO_PATH 2026-11-21 19:50:33 +01:00
Abdessamad Derraz 9a6003c22f refactor: read the demo facts in demovariants 2026-11-21 19:50:33 +01:00
Abdessamad Derraz 416299b6e0 refactor: move coverage and release out of readme 2026-11-21 19:50:28 +01:00
Abdessamad Derraz 9521dd040a refactor: one wanted list for page and csv
The provenance CSV rebuilt the catalog report and refiltered derivable
dumps on its own. The site builds the report once, wanted_dumps takes the
derivable dumps out without mutating it, and the page, its CSV and the
gaps page read that one result. Rows checked identical on the real data
(2,302 before and after).
2026-11-21 19:50:10 +01:00
Abdessamad Derraz 380b3df823 fix: gaps badge reads verify's severity counts
The badge refiltered coverage details for missing required firmware and
ignored hle_fallback: a required file the core replaces by HLE is INFO in
verify and passes --strict, yet showed as a red required gap. The count
now comes from severity_counts through packs.verdicts.blocking_missing.
2026-11-21 19:50:10 +01:00
Abdessamad Derraz 8780398518 fix: read targets from the config's own tree
resolve_platform_cores and offer_boards read the RetroArch and platform
targets under the repository, whatever --platforms-dir a run was given,
behind a process-long cache. load_platform_config now records the
directory it read (_platforms_dir), the resolver reads targets from it,
the cache is keyed on that directory, and downloadable_on takes it from
its callers. The key is kept out of the published registry export.
2026-11-21 16:43:46 +01:00
Abdessamad Derraz 8a9591dad2 refactor: judge a data hit on the indexed roots 2026-11-21 16:43:46 +01:00
Abdessamad Derraz bce9abedc7 fix: read profile repositories from one model rule
The site permalinks read only source and upstream, so a profile whose
forge is gone (yuzu answers 451) linked nothing although profile_sync
judged it through its source_mirror. declared_repositories, pin_field
and the declared pin now live in model.profilerepos, read by both.
2026-11-21 16:43:46 +01:00
Abdessamad Derraz 19681a3735 refactor: move ten command helpers into packages 2026-11-21 15:47:20 +01:00
Abdessamad Derraz 7623e49981 refactor: import the pipeline step labels 2026-11-21 15:31:35 +01:00