Commit Graph
3012 Commits
Author SHA1 Message Date
Abdessamad Derraz ebabb03e74 fix: read the export cache path from the exporter 2026-11-22 02:26:45 +01:00
Abdessamad Derraz ef33a95971 refactor: decide the recorded trees in one place 2026-11-22 02:26:45 +01:00
Abdessamad Derraz ee404551a9 refactor: return the campaign plan as lines 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 74c59ad3b9 fix: read installed_on from the run's profiles 2026-11-22 02:26:45 +01:00
Abdessamad Derraz 815341ba3b fix: refresh source paths only from emulators/ 2026-11-22 02:26:45 +01:00
Abdessamad Derraz 11f6d478d2 docs: name resolve.localfile in packfiles 2026-11-22 02:26:45 +01:00
Abdessamad Derraz a39b1c25f3 fix: choose a release asset by one rule
resolve_file picked and fetched a release asset in one step, and verify re-derived the choice in pending_release_asset, which refused any record whose size differed from a declared size. fbneo's donpachi, sfz3mix and twotiger samples declare an approximate size with no validation: an online build shipped them while verify reported them missing.

release_asset_paths now chooses on the database record under the rules declared_hash_verdict applies to bytes, and both the builder and verify call it. The builder then fetches that revision and holds its bytes to the declaration.
2026-11-22 02:26:45 +01:00
Abdessamad Derraz dd76142a9c fix: name why a narrowed pack was refused
The consistency step printed only that the builder wrote no pack: the refusal went to the stdout it discarded. It now prints the reason the outcome carries.
2026-11-22 02:26:45 +01:00
Abdessamad Derraz d8570c6480 refactor: build platform packs without printing
build_platform_pack and build_split_packs return what the build came to and print nothing. print_platform_pack holds the report lines, and generate_pack and generate_split_packs compose the two. The variant choice, the plan and the data directory pass return their notices instead of printing them. The callers that silenced stdout to get a record now call the builder.
2026-11-22 02:26:45 +01:00
Abdessamad Derraz 8d93c8979e refactor: share the data trees of an emulator pack
carried_trees and claimed_tree_files in datatrees decide which trees an
emulator pack carries and where, and walk them under the cache lock.
The builder writes what they yield and verify records it, instead of
two copies of the selection and an unlocked walk on the verify side.
2026-11-22 02:26:44 +01:00
Abdessamad Derraz ad37a73964 refactor: let verify_emulator raise a bad name
verify_emulator and verify_system raised SystemExit from a library: the
verify command now prints and exits, and the pipeline's emulator pack
comparison no longer selects the profiles a second time to avoid it.
2026-11-22 02:26:44 +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 35b5458a2d fix: read the lakka release from lakka.yml
The target scraper asked for the latest Lakka release while lakka.yml
named its version by hand, kept in step by a test alone. The scraper now
reads that field, and check_freshness reports a newer Lakka release.
2026-11-22 02:26:44 +01:00
Abdessamad Derraz 852415a0e4 fix: report a scraper's cause, not its hint 2026-11-22 02:26:44 +01:00
Abdessamad Derraz 768ac05b4d fix: compare redump datfiles by their file stamp 2026-11-22 02:26:44 +01:00
Abdessamad Derraz a51e6d3e3c docs: drop three clause semicolons 2026-11-22 01:25:24 +01:00
Abdessamad Derraz 940893d7d4 fix: keep the digest cache beside the scanned tree
The cache path and .gitignore were read from the working directory: a
scan of a copy replaced the repository's cache with the copy's entries,
keyed bios/... like the real ones, and the next run rehashed everything.
Both now come from the tree holding bios/, and kept release assets are
restored under it.
2026-11-22 00:58:05 +01:00
Abdessamad Derraz 936e9ceed9 refactor: print the autorun plan in the command 2026-11-22 00:58:05 +01:00
Abdessamad Derraz d83ba31d31 fix: keep only judged evidence when reviewing 2026-11-22 00:58:05 +01:00
Abdessamad Derraz bb46a0282a fix: read the content checks from model.profiles 2026-11-22 00:58:05 +01:00
Abdessamad Derraz 5cce11e7d0 fix: one attention verdict on the profile report
check_freshness rebuilt the profile_sync verdict from single JSON keys and
dropped version_warning, version_unread and detection_skipped: a core_version
behind its pin and a refused detection both read OK. ProfileReport.attention()
now gives every reason with its level, report_to_dict serializes it, freshness
maps the levels, and --strict names the kinds it fails on.
2026-11-22 00:58:05 +01:00
Abdessamad Derraz e146a8f349 refactor: move the review's glue to devtools 2026-11-22 00:58:05 +01:00
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