Commit Graph
2696 Commits
Author SHA1 Message Date
Abdessamad Derraz 2d587749a5 feat: move two long gap tables to their own pages
The per-emulator table (339 rows) and the files not collected yet (282 rows) held most of the 8,300 elements of /gaps/, laid out in one 200 ms task on a phone. Each is now a page of its own linked from its section, which keeps its heading and anchors (per-emulator, not-collected-yet, acknowledged-gaps) with the row count. Emulator cards link the new page. Mobile Lighthouse Performance on /gaps/ goes from 99 to 100.
2026-11-19 19:58:08 +01:00
Abdessamad Derraz 9760c2fadd fix: size the upstream table by a class
The cross-reference upstream table was reached with
.sl-heading-wrapper:has(> #by-upstream-emulator) ~ section, which the
browser matched again for every block added after any heading of any
page: about 400 ms of style work while the gaps page loads (mobile, 4x
CPU throttling, 586 ms down to 200 ms). The table sits in a
.rb-xref-upstream block, and the address column is its second.
2026-11-19 18:42:55 +01:00
Abdessamad Derraz 76468c6599 fix: keep goatcounter addresses under 8 kb
The server accepted 8,125 characters and dropped the connection at
10,125. Windows are read day by day with at most 700 excluded paths, so
fewer overflow and get read twice.
2026-11-19 18:17:12 +01:00
Abdessamad Derraz 950aa6de25 feat: put the command first on split pack pages
A get/ page whose release pack comes in parts opens on the command, then offers the parts and says all are needed. A pack in one file keeps its ZIP first and now shows the command after it.
2026-11-19 17:46:30 +01:00
Abdessamad Derraz 2d1727822d feat: title pages by what their files are
An emulator or system page title names keys, firmware or BIOS files from its file names: each kind that holds a quarter of the distinct names. Eden keys, Vita3K firmware, Citra keys and BIOS files; mGBA stays BIOS files.
2026-11-19 17:46:30 +01:00
Abdessamad Derraz 7623ead3db feat: rank search pages by clicks lost
Search Console rows are merged across page anchors. The expected click
rate is the site's own rate at each rounded position, so a search is
flagged when clicked less than half of it. A by-page table ranks pages
by clicks lost, with changes against the period before. Each section
states its period, and release downloads show the change since the
snapshot the previous run left in .cache/insights/.
2026-11-19 16:51:32 +01:00
Abdessamad Derraz 070a5a1ba6 fix: read goatcounter hits in weekly windows
Paging the whole span with exclude_paths grew the address past what the
server accepts. Windows add up since GoatCounter keeps hourly counts; a
long rate-limit wait now ends the run with its reason.
2026-11-19 16:44:03 +01:00
Abdessamad Derraz 022591a67e fix: settle three validation checks
The retrodeck games fallback is computed from the manifests and went
stale with the data tree manifest change. Two docstrings carried clause
semicolons. The install run test read bytes_done as the sum of finished
files, but it counts every byte arrived, a file still in transfer
included, as progress does; the test now checks that bound and the doc
says it.
2026-11-19 16:11:49 +01:00
Abdessamad Derraz ff69210b18 feat: pin forge data trees, follow nightly ones
A data tree whose source names a revision is fetched at the commit its
branch points to and listed at that commit, whose bytes never change.
A source with no revision (the buildbot's nightly assets) is marked
rolling: the installer writes each listed file as the source serves it,
checked against its ZIP CRC-32, as RetroArch's own downloader does, and
the install record keeps it in place on the next run. The PPSSPP list
refused 49 of 169 files after each buildbot rebuild.
2026-11-19 08:59:42 +01:00
Abdessamad Derraz a9c0dcac3c fix: ship the archive covering a twin md5 pin
RetroDECK pins bios/cdibios.zip and bios/stvbios.zip twice, the older
MAME set for its mame component and the full set for the RetroArch
core. The first pin in system order shipped the smaller set, which
current MAME rejects (cdi.cpp:922 needs the slave MCU ROM). The archive
whose members cover the other now ships: it serves both readers.
2026-11-19 06:33:17 +01:00
Abdessamad Derraz 753d39ffe3 refactor: installer pins keyed by bootstrap file
installer_build.pins read the site's served names from model.guides,
which loads the guides YAML at import. Since the launcher builders read
the pin through it, the installer doc build pulled pyyaml in, and the
Python 3.8 installer job has none.
2026-11-19 02:57:02 +01:00
Abdessamad Derraz 9ac3145c5e refactor: commands read the repository root 2026-11-18 23:14:52 +01:00
Abdessamad Derraz 3853ca2f1c refactor: public names for cross-module reads 2026-11-18 22:59:51 +01:00
Abdessamad Derraz f371790dc6 refactor: hash fields and digests read in core 2026-11-18 22:19:45 +01:00
Abdessamad Derraz 238f70c7a7 refactor: one copy of each duplicated helper 2026-11-18 22:16:55 +01:00
Abdessamad Derraz 2c8a9cfad8 refactor: one digest loop for files and streams 2026-11-18 21:42:28 +01:00
Abdessamad Derraz b20c0127f9 refactor: autorun code in the unattended package 2026-11-18 21:32:47 +01:00
Abdessamad Derraz 963a81b09a refactor: autorun reads the repository root 2026-11-18 21:22:55 +01:00
Abdessamad Derraz a68ae11d10 docs: name the launcher table's module
The command's docstring, its --help, named sitehandheld.LAUNCHERS; the
table lives in installer_build/handhelds.py.
2026-11-18 20:45:03 +01:00
Abdessamad Derraz ba692da94f refactor: release tools read file_digest
core.hashing.file_digest is the streamed loop the release tools carried,
byte for byte: 1 MiB reads, read again each call. It replaces
compute_hashes with cache=False there.
2026-11-18 20:44:56 +01:00
Abdessamad Derraz 27bff61560 refactor: one reader of the installer pin
The launcher builders read install.py's SHA-256 through
pins.installer_sha256 and the value install.sh pins through pins.PIN,
which now sits beside the pattern pin_installer writes with. build_port
kept a third copy of that pattern.
2026-11-18 20:44:20 +01:00
Abdessamad Derraz b9c91a897d refactor: release tools hash through core.hashing
Five streamed hashlib loops in check, assets, sync and restore read the
digest through compute_hashes with cache=False: the same fresh read of
the bytes, written once.
2026-11-18 20:44:20 +01:00
Abdessamad Derraz c4fdf12874 refactor: release, installer_build, devtools pkgs
The release tools, the installer build tools and the repository's
commit and PR checks keep their commands and move their code into
three packages. The release record readers move to model.releaserecord,
romfolders to model, the buildbot check to scraper. The site reads the
handheld launchers and the bootstrap pin from installer_build.
2026-11-18 20:44:12 +01:00
Abdessamad Derraz 5b3b3f19e8 refactor: release and installer tools read root
Code about to move into a package reads core.paths.REPO_ROOT, and the
release tools stop inserting their own folder on sys.path: scripts/ is
on it for every command and package module.
2026-11-18 20:43:14 +01:00
Abdessamad Derraz fa408c4299 docs: name the probe modules where they live 2026-11-18 20:38:29 +01:00
Abdessamad Derraz cacd290d2e refactor: one digest and one lock name for probes 2026-11-18 20:38:29 +01:00
Abdessamad Derraz 4ea44a027e refactor: split the region check into probes 2026-11-18 20:38:29 +01:00
Abdessamad Derraz 6debde95b4 refactor: split the pack probe into probes 2026-11-18 20:38:29 +01:00
Abdessamad Derraz 0471b80946 refactor: split the campaign into probes 2026-11-18 20:38:03 +01:00
Abdessamad Derraz 853a36c79f refactor: campaign rules and editor into probes 2026-11-18 20:37:49 +01:00
Abdessamad Derraz fdb7b6f912 refactor: host lock and measurement records go low 2026-11-18 20:37:33 +01:00
Abdessamad Derraz a40c75e689 refactor: probes read the repository root 2026-11-18 20:37:17 +01:00
Abdessamad Derraz 3bfd72ba7f refactor: name the recipe package romrecipes 2026-11-18 20:20:46 +01:00
Abdessamad Derraz 05a6af5e97 docs: recipes help names the package 2026-11-18 20:11:33 +01:00
Abdessamad Derraz 694ce0c7f9 refactor: one acquisition directory 2026-11-18 19:58:21 +01:00
Abdessamad Derraz b0b505dc94 refactor: one recipe rule, one reconstruction 2026-11-18 19:58:21 +01:00
Abdessamad Derraz 41da592291 refactor: hash fields and pins read one way 2026-11-18 19:58:21 +01:00
Abdessamad Derraz 6172cb65c0 refactor: recipes command imports its packages 2026-11-18 19:49:59 +01:00
Abdessamad Derraz 0e4e5f450d refactor: move recipes and acquisition to packages 2026-11-18 19:49:49 +01:00
Abdessamad Derraz 664776ae91 refactor: recipe modules read the repo root 2026-11-18 19:38:56 +01:00
Abdessamad Derraz cbfa26f315 refactor: one manufacturer slug in the collection 2026-11-18 19:31:28 +01:00
Abdessamad Derraz 01ade3970c docs: name the new homes of moved site code 2026-11-18 19:31:28 +01:00
Abdessamad Derraz b648bf1784 refactor: import urllib.parse where it is read 2026-11-18 19:31:28 +01:00
Abdessamad Derraz 4e50286d8c refactor: split generate_site into sitegen modules 2026-11-18 19:31:28 +01:00
Abdessamad Derraz 231002a7c0 refactor: site commands keep only their options 2026-11-18 19:31:27 +01:00
Abdessamad Derraz 206dae3163 refactor: site modules into the sitegen package 2026-11-18 19:31:27 +01:00
Abdessamad Derraz 29f5c48a2c refactor: system names and guides below packs 2026-11-18 19:31:27 +01:00
Abdessamad Derraz ab0265408c refactor: site code reads the repo root from core 2026-11-18 19:31:27 +01:00
Abdessamad Derraz 825c527d11 refactor: one reader of a declared destination 2026-11-18 13:47:56 +01:00
Abdessamad Derraz d55555f3e0 refactor: one database path index per run 2026-11-18 13:47:56 +01:00