Commit Graph
6033 Commits
Author SHA1 Message Date
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 80461985d3 chore: trigger the site on three moved modules 2026-11-22 01:25:24 +01:00
Abdessamad Derraz a51e6d3e3c docs: drop three clause semicolons 2026-11-22 01:25:24 +01:00
Abdessamad Derraz 0734b01e56 fix: set offline on the screen state in the test 2026-11-22 01:25:24 +01:00
Abdessamad Derraz 352e2bbb5e refactor: take a recorded choice in one place
The journey to another device's folder no longer stops on Create the folder?: one missing level is created as line mode does, since the shared rule for a missing BIOS folder.
2026-11-22 01:06:40 +01:00
Abdessamad Derraz c113a79c70 fix: retry bios files by the shared rule 2026-11-22 01:06:40 +01:00
Abdessamad Derraz a9d94acdac fix: one full-drive remedy for plan and refusal
The line plan said to choose another folder, which line mode cannot do,
while the refusal after Enter named --dest. space_remedy now gives the
remedy to both, the screen keeping its folder row.
2026-11-22 00:58:06 +01:00
Abdessamad Derraz c4a129e200 fix: follow moved retrodeck folders under --dest
A run given --platform and --dest never detects, so retrodeck.json was
never read and a moved bios/ folder was ignored. MovedFolders looks the
root up on first use, is reset per run, and detection only warms it.
2026-11-22 00:58:06 +01:00
Abdessamad Derraz 9f3fc2e0c1 refactor: read offline from the screen state
The rows asked state.offline while the plan, the estimate and the
result read the environment, kept in step only by the session loop.
tui_offline_only(state) is the one question; the variable only carries
the choice to the runs and the wording.
2026-11-22 00:58:06 +01:00
Abdessamad Derraz af34c81d71 fix: one rule for a missing bios folder
The full screen asked Create the folder? for a single missing level,
which line mode creates, and focused Create for two, which line mode
asks with no as the answer. missing_folder() gives both modes the
nearest folder, the missing levels and the verdict.
2026-11-22 00:58:05 +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 e77cf9fd69 refactor: type the campaign test doubles 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 8603885fda fix: type the generate_site source segment 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 25e9d4d374 fix: judge case folding apart from twin names 2026-11-22 00:17:50 +01:00
Abdessamad Derraz ebcb714de3 chore: refresh the retrodeck games fallback 2026-11-22 00:17:50 +01:00
Abdessamad Derraz 3f7968dea8 docs: name test_variant_copies in the guide 2026-11-22 00:17:50 +01:00
Abdessamad Derraz 349d90344c chore: trigger the site on packs.shares 2026-11-22 00:17:50 +01:00
Abdessamad Derraz 85f6447333 docs: drop two more clause semicolons 2026-11-22 00:17:50 +01:00
Abdessamad Derraz 46f364ea8b docs: refresh the retrodeck report excerpt 2026-11-22 00:00:00 +01:00
Abdessamad Derraz bb5f29ff0c fix: read refusal exit codes in the exit table 2026-11-22 00:00:00 +01:00
Abdessamad Derraz 5c47fe57e0 chore: repin the installer after the merge 2026-11-21 21:46:53 +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 11e3ebb44f fix: say why a removal stops in its events
A --file outside the folder printed its own line and returned 2 with no
removal_plan, and a removal or backup deletion with no yes, a folder that
is no backup and a setup left open ended on stderr alone. The first goes
through _removal_refused, the others raise Refusal.
2026-11-21 21:42:20 +01:00
Abdessamad Derraz 665e2ebb52 fix: send every refusal as an error event
--romm-firmware, --pack without a platform, an option the list does not
record, a board list the run cannot go on without, a full drive and the
--dest a named platform needs printed and exited on their own: --events
got end and no error. Each now raises Refusal where it is decided, and
refuse_name, --find and the space check stop formatting their own copy.
2026-11-21 21:42:20 +01:00
Abdessamad Derraz 571c4bbfd9 fix: count roms left out after the choice
The roms, configs and emulator folder lines were printed while the
entries were placed, before --system, --core, --region and the menu
narrowed the list: --system panasonic-3do on EmuDeck said 1918 roms
files were left out where 6 belong to the run. Placement now only
records the reason, and say_unplaced counts the narrowed entries
next to say_saves. The unused printing branch of place_save_entries
goes with it.
2026-11-21 21:42:20 +01:00
Abdessamad Derraz 6e0b0724de fix: hold the offline choice in the screen state 2026-11-21 21:42:19 +01:00
Abdessamad Derraz f0ab5181ab fix: keep the offline variable beside --offline 2026-11-21 21:42:19 +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