Commit Graph
2978 Commits
Author SHA1 Message Date
Abdessamad Derraz 85f6447333 docs: drop two more clause semicolons 2026-11-22 00:17:50 +01:00
Abdessamad Derraz 7222207f3b fix: guard target lists with board images 2026-11-21 21:46:27 +01:00
Abdessamad Derraz 2b5955e8a5 refactor: return the md5 pack outcome as data 2026-11-21 21:46:27 +01:00
Abdessamad Derraz bbb139bbaf fix: name uncached trees once per manifest 2026-11-21 21:46:27 +01:00
Abdessamad Derraz 4adb8ea635 fix: find archive.org files by sha1 in one place 2026-11-21 21:42:19 +01:00
Abdessamad Derraz 6f3500d8c8 fix: vary a primary only with its own copies
Campaign.variant_files listed every .variants/ copy the database named
after the entry, so QUASI88's PC-88 font.rom was varied with a PC-98
font filed under the same name. resolve.localfile.variant_copies keeps
the copies in the primary's own .variants/ folder that pass the entry's
declared hashes and shape checks; the campaign reads it.
2026-11-21 21:42:19 +01:00
Abdessamad Derraz cdf0aa6774 fix: external downloads obey RETROBIOS_OFFLINE 2026-11-21 21:42:19 +01:00
Abdessamad Derraz c07a47362e fix: decide offline once before the release check 2026-11-21 21:42:19 +01:00
Abdessamad Derraz 1f9633c7e5 fix: check core_version in its basis repository
version_basis reads core_version in the repository its repo or url names
(PCSX2 for pcee2, yaps2, triforce, hatari2014), while --check-version and
the triage read the tags of the port the profile was read from, which
carries none. version_repo() decides it once for the three readers, and
the tag ancestry uses the pin of that repository. A newer release of a
held upstream (upstream_frozen) is not reported, as one past a held pin
is not.
2026-11-21 21:42:19 +01:00
Abdessamad Derraz f462ec5fa0 fix: read each cited path in its own repository
The resolver settles which declared repository holds each cited path,
but detection, the extras and the triage read every path in the source
repository at the primary revisions, and missed what a profile cites in
its upstream (geolith jg.c). The report now carries the repository and
revisions each path was settled in, and the bump guard asks whether any
repository the bump moves gained a file or a hash, not only the port.
2026-11-21 21:42:19 +01:00
Abdessamad Derraz 0530c007a8 fix: run only programs of proven launchers 2026-11-21 21:42:19 +01:00
Abdessamad Derraz b070d1a41a fix: categories ignore unproven launcher records 2026-11-21 21:42:19 +01:00
Abdessamad Derraz 0f3fe1932f fix: read own and twin builds from run profiles 2026-11-21 21:42:19 +01:00
Abdessamad Derraz 1839916ca2 fix: prove launcher records against run profiles 2026-11-21 21:42:19 +01:00
Abdessamad Derraz e36516f3b0 refactor: print the hash lookup from packs 2026-11-21 21:42:19 +01:00
Abdessamad Derraz 3df143cbe1 fix: check each built variant as verify-packs does
The build skipped conformance on every required-only, platform-only and
truth pack while --verify-packs held the same pack to its own variant,
so an --all-variants run passed packs the verifier could fail.
check_pack_conformance reads the variant from the pack name and both
paths call it; the finalizer is told the variants the run built.
baseline_shortfall moves beside the check, narrows_contents goes.
2026-11-21 21:42:19 +01:00
Abdessamad Derraz e0cbf35adc refactor: one selection for emulator pack entries
emulatorcheck and emulatorpack each expanded a profile, filtered it by
system, by --required-only and by region, and chose its archive units
and loose slots. emulator_pack_entries now does it once and both read
it. The --required-only spares are taken among the entries the pack
still carries, as their docstring says: the builder passed the
unnarrowed list, so an optional member of a required set could be kept
over a required one the pack ships. No profile has such a member today.
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 d1b0c77039 refactor: move upstream DAT fetching to datfetch 2026-11-21 21:42:18 +01:00
Abdessamad Derraz 3df7a60e43 refactor: merge hashes from dicts, write apart 2026-11-21 21:42:18 +01:00
Abdessamad Derraz 3779f07bb5 fix: write retrodeck repeats to each component
duckstation and retroarch both list the PS1 BIOS with one md5, and the
entry was filed under the first component read: an export correction
reached duckstation's manifest and left retroarch's line as it was.
component now lists every component that repeats an entry (a string for
one), and the exporter writes the entry back to each. A repeat is the
same name, path, hashes, native system and requirement: MAME's and
FBNeo's cchip.zip, or two required labels, stay two entries, since an
export corrects a line by its system and writes its requirement back.
Rescraped at components fcd0d729: 73 entries list two components, 9
come back as their own entries. install/retrodeck.json is unchanged.
2026-11-21 21:04:19 +01:00
Abdessamad Derraz e8704a793e fix: keep every md5 retrodeck manifests declare
RetroDECK checks each manifest entry against its own md5 list, one row
per entry, the file found under its exact basename
(api_data_processing.sh:304-313, 322-339, 350-361 at 0.10.10b). The
scraper kept the first entry per system and case-folded name and
dropped 22: FBNeo's decocass.zip, pgm.zip, skns.zip beside MAME's, two
64DD_IPL.bin revisions, and the lowercase MSX, PC-98 and PC-88 files
that are other files on its Linux filesystem (MSX2P.rom's one md5 is
the first of MSX2P.ROM's list). Only the same name, path and hashes is
a repeat now. Rescraped at components fcd0d729, manifest regenerated.
2026-11-21 21:04:19 +01:00
Abdessamad Derraz c68a63b7ca fix: pair retrodeck revisions by hash on export
A name and system held one entry of ours: the first of the three
64DD_IPL.bin revisions answered for all, and a correction to another
revision was written nowhere. Each platform entry now takes the entry of
ours sharing its hash, and an appended revision is known by identity.
2026-11-21 21:04:19 +01:00
Abdessamad Derraz 1b597ae510 fix: tell same-system twin declarations apart
Two declarations of one system on one path (RetroDECK's decocass.zip
for MAME and for FBNeo, both arcade) read "declared for arcade and for
arcade". The message names each side by the platform's own system, and
by the hash the path holds when that is the same too.
2026-11-21 21:04:19 +01:00
Abdessamad Derraz 8fc294ef97 fix: a full drive is an event, not stderr text 2026-11-21 19:51:02 +01:00
Abdessamad Derraz 05b6b9edcf fix: dedup keeps the copy the index names
dedup ranked copies by path_priority (variant, MAME, Arcade, length) while the scan picked the primary by _takes_primary (variant, emulator tree, walk order). Given sms.rom under bios/Other/zesarux/ and bios/Sega/Master System/, dedup removed the indexed copy and kept the foreign-tree one the resolver sets aside. Both now read collection.scan.primary_rank. The rank reproduces every primary of the current database.json, so the index does not move; dedup's tie-break follows the walk order instead of MAME and path length.
2026-11-21 19:50:46 +01:00
Abdessamad Derraz eec4ff9972 refactor: one autorun worktree path and checkout 2026-11-21 19:50:46 +01:00
Abdessamad Derraz 6c92b0172e fix: step 5 skips a build that recorded nothing 2026-11-21 19:50:46 +01:00
Abdessamad Derraz 9814bb1234 refactor: step 5 reads counts both tools record 2026-11-21 19:50:42 +01:00
Abdessamad Derraz cf7e13808f refactor: one predicate for the pack notes 2026-11-21 19:50:33 +01:00
Abdessamad Derraz 66c83b06b0 refactor: name the stale rows the planner reads 2026-11-21 19:50:33 +01:00
Abdessamad Derraz 472b06a3e0 fix: appimages cached in the main checkout 2026-11-21 19:50:33 +01:00
Abdessamad Derraz eddb26f104 refactor: one load threshold for every probe 2026-11-21 19:50:33 +01:00
Abdessamad Derraz 91e385598e fix: say why a version page or check went unread 2026-11-21 19:50:33 +01:00
Abdessamad Derraz dae6b3a146 fix: fail --manifest-targets without targets dir 2026-11-21 19:50:33 +01:00
Abdessamad Derraz 6721a738b4 refactor: hand uncached data trees to the caller
data_directory_members printed a warning and filled a process-wide set
that the pack, the manifest and the step 5 comparison all fed. It now
reports each uncached tree through uncached_out. The platform pack and
the manifest print the warning and add the tree to the run's account,
as the emulator pack already did with data_dir_notices, and
generate_pack names what it wrote: a --manifest run no longer ends on
'packs written without data directories'.
2026-11-21 19:50:33 +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 ff3b2699bd refactor: one retropie package script selector 2026-11-21 19:50:10 +01:00
Abdessamad Derraz 5a931ad4b1 fix: stop on an unreadable retrodeck manifest
The local manifest read printed a warning and left the component out
of retrodeck.yml with exit 0, where the remote read raises.
2026-11-21 19:50:10 +01:00
Abdessamad Derraz 1b7d30967b fix: surface upstream entries a scraper drops
RomM skipped an unmapped IGDB slug and RetroDECK a second component's
conflicting MD5 with a stderr warning only: the rescrape exited 0, the
rewritten file showed no diff and check_freshness said OK.

An unmapped slug now fails the RomM scrape. A deliberate drop goes in
BaseScraper.dropped, scraper_cli prints it under DROPPED_PREFIX, and the
freshness rescrape reports an otherwise unchanged platform UNKNOWN.
2026-11-21 19:50:10 +01:00
Abdessamad Derraz 398782a5cd fix: key the fbneo dat cache by commit
fetch_pack refilled one fbneo-dats folder for whatever revision was
asked, and the offline arcade import rebuilt its paths by hand: a parent
map labelled with the profile's pin could be read from another commit's
DATs. The folder is now fbneo-dats/<sha>, and cached_pack() next to
fetch_pack is the offline read, raising NotCached.
2026-11-21 19:50:10 +01:00
Abdessamad Derraz bc48d4028a fix: key fbneo board roms by their archive
find_bios_sets keyed each BDF_BOARDROM set by its driver name, so the
15 console entries (msx.zip, coleco.zip, gba.zip...) never matched the
hash cache. The archive is now what GetZipName opens, through one
zip_name() that arcade_parent_importer shares. The RomDesc comes from
the struct's RomInfo field and decimal sizes are read: ngp, isgsm,
midssio, channelf, ym2608 and the five DSP sets had no ROM.
2026-11-21 19:50:10 +01:00
Abdessamad Derraz 1593dfa85a docs: drop two clause semicolons 2026-11-21 16:59:28 +01:00
Abdessamad Derraz 49dbb2828d refactor: read the declarations once per database
collect_all_aliases opened platforms/ and emulators/ from paths fixed to
the working directory while declarations took them as parameters, so a
build walked every YAML twice. read_declarations now reads both once,
reports unreadable sources, and hands the alias pass and the proven-name
index their entries. generate_db gains --platforms-dir and
--emulators-dir and refuses a missing one.
2026-11-21 16:43:57 +01:00