Commit Graph
2987 Commits
Author SHA1 Message Date
Abdessamad Derraz 19bcc76c8f refactor: hand the native model its profiles 2026-11-22 00:58:05 +01:00
Abdessamad Derraz 7baeb6475c fix: one execute bit rule for pack and manifest
The pack read the git mode and the manifest the file header, so 833
archives extracted 755 from a pack and 644 from install.py, and 75
programs the reverse. packs.executable decides for both. Data tree
members stay 644 as the installer writes them, and the launcher
archives keep the mode ports/ commits.
2026-11-22 00:58:05 +01:00
Abdessamad Derraz 357153eaa3 fix: bound data directory zip extraction
The refresh fetched, filtered and extracted in one function and copied
ZIP members with no size, ratio or duplicate path check. Extraction now
lives in packs/datadirextract.py as local functions, the ZIP side on
safe_extract_zip, which gains a member select hook and returns the file
count. Tests read the member rules on local archives.
2026-11-22 00:58:05 +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 501b2a84f3 fix: offer only the core slots romfs2 reads
systemholder.py builds core.0 to core.19. The Recalbox platform core
list took any core.N section, so a later slot would have been offered
by the platform while no board builds it.
2026-11-22 00:58:05 +01:00
Abdessamad Derraz 5028318e3d refactor: share the recalbox romfs2 build rule
Target lists and rom folders each carried their own system.ini reader,
core slot range, key precedence and defconfig reader. Both now read
scraper.recalbox_romfs, which transcribes romfs2's inisettings.py,
keyvaluesettings.py and configin.py, and the target list keys each board
by its RECALBOX_TARGET symbol as the rom folders and romfs2 do.
2026-11-22 00:58:05 +01:00
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