Commit Graph
2880 Commits
Author SHA1 Message Date
Abdessamad Derraz f245c210e0 refactor: read retrobat es_systems.cfg once 2026-11-21 06:01:53 +01:00
Abdessamad Derraz 3eb6bd81a1 refactor: read rocknix-systems as a checkBios list 2026-11-21 06:01:53 +01:00
Abdessamad Derraz c4d3506cf9 fix: read c# comments through one lexer 2026-11-21 06:01:53 +01:00
Abdessamad Derraz 2665e30bdf fix: stop the emudeck scrape on an unread sheet 2026-11-21 06:01:53 +01:00
Abdessamad Derraz 79c3c02885 fix: target scrapers exit on errors like scrapers 2026-11-21 06:01:53 +01:00
Abdessamad Derraz 83fdc97edd fix: skip quoted hashes in batocera item notes 2026-11-21 06:01:53 +01:00
Abdessamad Derraz 23e3cc06b3 fix: find held records by the resolver hash rule 2026-11-21 06:01:53 +01:00
Abdessamad Derraz b81e89dbfb fix: judge declared sizes per entry with size_fits 2026-11-21 06:01:46 +01:00
Abdessamad Derraz 2308039452 fix: read a database record by its path field 2026-11-21 06:01:46 +01:00
Abdessamad Derraz db9a153832 refactor: place app files by the layout rule 2026-11-21 06:01:40 +01:00
Abdessamad Derraz e462b03848 fix: compare declared hashes in one place 2026-11-21 06:01:30 +01:00
Abdessamad Derraz e3294d08ea fix: decide standalone builds from standalone_set 2026-11-21 06:01:19 +01:00
Abdessamad Derraz b4075bf1ad refactor: build the entry_source index once 2026-11-21 06:01:19 +01:00
Abdessamad Derraz 90fad87b97 refactor: place core reads through gap_destination 2026-11-21 06:01:19 +01:00
Abdessamad Derraz f6d5e60501 fix: verify sha1 with the builder digest rule 2026-11-21 06:01:18 +01:00
Abdessamad Derraz c8270b5361 refactor: test an entry's build in read_by_build 2026-11-21 06:01:18 +01:00
Abdessamad Derraz fd3d93a93f refactor: walk slot keys from slot_lookup_keys 2026-11-21 06:01:11 +01:00
Abdessamad Derraz 11dac5a641 refactor: share the entry name set with categories 2026-11-21 06:01:11 +01:00
Abdessamad Derraz bf777d321f refactor: read validation checks in one place 2026-11-21 06:01:11 +01:00
Abdessamad Derraz 39e6d57fcb refactor: walk gitlab trees in one place
core.upstream.gitlab_tree_entries serves _gitlab_tree, list_gitlinks
and the romfolders listing. The Recalbox systems listing becomes
Scraper.system_folders, so the targets scraper gets the page cap and
refuses an empty listing instead of writing boards without cores.
2026-11-21 06:00:53 +01:00
Abdessamad Derraz 8bc497cf15 fix: check zip member paths with core.ziptools
The data directory refresh dropped any name containing .. in silence,
wrote a backslash as a filename character and let a drive letter or a
backslash traversal through. The pack integrity check flagged Read..me
as a traversal. Both now use safe_member_parts, and an unsafe member
fails the refresh of its key instead of thinning the tree.
2026-11-21 06:00:53 +01:00
Abdessamad Derraz 79e5eae036 fix: retry site image and redump requests
fetch_site_images goes through fetch_bytes and the redump datfile HEAD
through open_retrying: one 429 or reset no longer stops either.
2026-11-21 06:00:45 +01:00
Abdessamad Derraz 837cc73937 fix: fetch acquisition sources with core.upstream
A read that timed out raised TimeoutError past every handler and ended
the search for every remaining file, a 429 was never waited out, and an
oversize body at the name URL skipped the destination URL.
2026-11-21 06:00:45 +01:00
Abdessamad Derraz 8bfa188960 fix: build github api headers with forge_headers
download.py read GITHUB_TOKEN only and missed the gh login token, the
readme built its header by hand, and the large files listing cached one
failed request as an empty release for the whole run.
2026-11-21 06:00:45 +01:00
Abdessamad Derraz 6138d43dfb fix: resolve data dir revisions with core.upstream
get_remote_sha parsed a GitLab subgroup as its first two segments, asked
the branches endpoint, which resolves no tag, sent the token to any URL
containing github and skipped the refresh on one 502. resolve_head reads
subgroups, encodes the ref, scopes the token and retries.
2026-11-21 06:00:44 +01:00
Abdessamad Derraz 95ed63a3f3 refactor: one etag probe for buildbot and refresh
The buildbot check now waits 30 s like the refresh, not 15.
2026-11-21 06:00:31 +01:00
Abdessamad Derraz 85f60ec525 refactor: build path commit listings in core 2026-11-21 06:00:20 +01:00
Abdessamad Derraz fdd7595a71 refactor: one retrying fetch loop in core.upstream
fetch_bytes and fetch_body now share open_retrying and read_limited:
scrapers retry a 500 or a dropped connection like profile_sync, and
fetch_body caps the body it reads.
2026-11-21 06:00:20 +01:00
Abdessamad Derraz 75b5fb987e fix: check zipped pack members like the builder 2026-11-21 06:00:14 +01:00
Abdessamad Derraz 434d660647 refactor: route atomic writes through one helper 2026-11-21 06:00:14 +01:00
Abdessamad Derraz 856883f690 refactor: share file key and member size bound 2026-11-21 05:59:58 +01:00
Abdessamad Derraz b5cfa9179f refactor: drop the unused deterministic zip writer 2026-11-21 05:59:58 +01:00
Abdessamad Derraz 3fa2f77722 refactor: share one timestamp key table 2026-11-21 05:59:58 +01:00
Abdessamad Derraz 6df0ec503b refactor: stamp site data with build_timestamp 2026-11-21 05:59:58 +01:00
Abdessamad Derraz 88ee986ee6 refactor: check --bios-dir of generate_db once 2026-11-21 05:59:51 +01:00
Abdessamad Derraz fc70a1afa6 fix: accept core names in profile_sync and audit 2026-11-21 05:59:51 +01:00
Abdessamad Derraz 0107ac8062 refactor: read entry systems with entry_system_ids 2026-11-21 05:59:51 +01:00
Abdessamad Derraz 91b27854c8 refactor: name the emulator profile filters 2026-11-21 05:59:51 +01:00
Abdessamad Derraz 8fdc00e07f refactor: look up a path's sha1 with sha1_at 2026-11-21 05:59:51 +01:00
Abdessamad Derraz 82d3f595de refactor: read data/.versions.json in one place 2026-11-21 05:59:51 +01:00
Abdessamad Derraz 67cb99606d refactor: read data dirs and inherits in one place 2026-11-21 05:59:51 +01:00
Abdessamad Derraz 7be8a7cd7b fix: stop on one line when pyyaml is missing 2026-11-21 05:59:51 +01:00
Abdessamad Derraz eef13547e1 refactor: share one derived-view cache 2026-11-21 05:59:51 +01:00
Abdessamad Derraz 35f335d001 refactor: read target overrides through one reader 2026-11-21 05:59:51 +01:00
Abdessamad Derraz 812f2609db fix: read every source yaml as utf-8 2026-11-21 05:59:51 +01:00
Abdessamad Derraz d4aae50601 fix: read the guides file with the source loader 2026-11-21 05:59:51 +01:00
Abdessamad Derraz 0bf9b04bc0 refactor: read rocknix-systems like batocera
parse_systems read the systems dict with regular expressions beside extract_systems_dict. It now uses the shared reader: on the cached rocknix-systems both give the same 14 systems and entries.
2026-11-20 20:05:47 +01:00
Abdessamad Derraz 1dc99849bc refactor: read pack part names from packs.parts
download.py kept its own copy of the part-name pattern. packs.parts.part_of gives the pack, part number and count, and is_part is built on it.
2026-11-20 20:05:46 +01:00
Abdessamad Derraz f025264f4e refactor: link platform lists through permalinks
ListSource.browse builds file links with source_permalink, which quotes
the path. A list read at no revision still links the repository, and a
GitLab list with no path now links its tree instead of a blob URL
ending in a slash.
2026-11-20 20:03:26 +01:00
Abdessamad Derraz d56c3e6e22 chore: drop the unused large-files asset fetch
release.assets.fetch_assets had no caller: check_release reads release.check.fetch_assets, and check_release_assets reads fetch_release.
2026-11-20 20:03:26 +01:00