Commit Graph
5623 Commits
Author SHA1 Message Date
Abdessamad Derraz e1cbf79415 feat: collect the Switch firmware NCAs
The yuzu family reads its firmware from nand/system/Contents/registered/,
which EmuDeck links from bios/<emulator>/firmware and RetroBat places in
the emulator folder. The 229 NCAs of the held firmware zip are now kept
loose under that tail, so the directory entries resolve and the packs
and install lists carry them. Each NCA is named after the first 16 bytes
of its SHA-256, the comparison the firmware install runs, and a test
holds every committed NCA to it. The NCAs are committed, so the entries
no longer claim release storage.
2026-11-20 05:36:15 +01:00
Abdessamad Derraz 075ae0d9ad fix: keep a smaller GoatCounter window once full
A day over the excluded-path cap was read whole, then again in halves,
and the next day the same. Four busy weeks spent the 500 requests
GoatCounter allows per hour before the report was written. The window
now keeps the size that fit, so the overflow is paid once.
2026-11-20 04:37:46 +01:00
Abdessamad Derraz e1c207ded4 docs: send conduct reports to GitHub Support
Content reports to repository admins exist only for organization
repositories. On a personal repository the Report content menu offers
GitHub Support alone, so the policy now says where a report goes.
2026-11-20 04:36:32 +01:00
Abdessamad Derraz 219ad52a68 docs: split a docstring clause chain 2026-11-20 04:35:23 +01:00
Abdessamad Derraz de3c570886 chore: record the citron and suyu source trees
The Eden note test reads the corrected firmware note.
2026-11-19 20:52:25 +01:00
Abdessamad Derraz c7ea76fbfb feat: document the Switch firmware trees
Each yuzu-line profile (yuzu, suyu, sudachi, citron, eden) gains the
installed tree nand/system/Contents/registered/ and the install medium
the UI accepts, Ryujinx and Kenji-NX the bis/ tree and the zip, xci or
folder ContentManager verifies. Citron and Suyu are pinned to their
Software Heritage revisions.
2026-11-19 20:23:54 +01:00
Abdessamad Derraz 56290f3bb7 fix: name an unanswered directory by its path 2026-11-19 20:23:54 +01:00
Abdessamad Derraz b4b4ddffb5 feat: give every Nintendo console its own page
"gba bios" landed on mGBA's page because the Game Boy Advance was a section of the Nintendo page. CONSOLE_PAGES now splits Nintendo as it does Sony: eleven more consoles get a page (Famicom Disk System, Game Boy Advance, Game Boy Color, Nintendo 64, Pokemon Mini, Satellaview, SuFami Turbo, Super Famicom Box, Super Game Boy, Switch, Wii). Each section keeps its heading and anchor on the Nintendo page and leads to the console's page. The search gate expects the Game Boy Advance, Game Boy Color and Wii pages first for their queries.
2026-11-19 19:58:08 +01:00
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 831f12db1a fix: generate the pronoun test site in a copy
test_site_pronouns ran generate_site.py in the checkout, which rewrote website/public/data/wanted.json and the pages after a build, and ThePublishedList then compared the built page with another list. The run now happens in the scratch checkout copy.
2026-11-19 19:58:08 +01:00
Abdessamad Derraz d07a17a85e docs: update the Lighthouse scores
Accessibility 100 on thirteen pages, mobile and desktop, measured with
Lighthouse 13.4.1 on a production build. The file card and search
button limitations are gone. The not-found page keeps noindex, so its
SEO score stays below 100.
2026-11-19 18:42:55 +01:00
Abdessamad Derraz b2ec1969e0 refactor: hold the search hint in one attribute
Two empty kbd elements with a data-key each added 24 bytes to every
page and put RomM over its weight budget in test_site_platform_density.
The hint is one data-key on the outer kbd, 50 bytes lighter than the
text it replaced.
2026-11-19 18:42:55 +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 cb23f7f8a4 fix: read table and sidebar geometry after layout
Two reads forced a layout of the whole page. The sidebar measured the
current link as the script ran (114 ms on gaps, mobile, 4x CPU
throttling), and every table's width was read in an idle callback that
still found the layout invalidated (103 ms), then again after enhance()
wrote captions (131 ms). The sidebar now reads an IntersectionObserver
entry and the tables a ResizeObserver, whose callbacks run once the page
is laid out. The observer also covers a window resize and a block that
opens.
2026-11-19 18:42:55 +01:00
Abdessamad Derraz 3eb5d1fce1 fix: lay out every file card
With content-visibility: auto an off-screen card took a 320px
placeholder, so the links of the card above were drawn over its own and
Lighthouse failed target-size on the PS2 page (31 links on desktop, 7
on mobile). Laying out every card moved no Lighthouse metric: TBT stays
at 0 ms on the PS2 and Project64 pages, mobile.
2026-11-19 18:42:55 +01:00
Abdessamad Derraz 7e4192870f fix: draw the search shortcut hint from CSS
The search button is named "Search" and showed "Ctrl K" as text in
its content, so Lighthouse flagged label-content-name-mismatch. The keys
are drawn from data-key with ::before, and aria-keyshortcuts still
announces the shortcut.
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 119bdd02f2 docs: add accessibility statement 2026-11-19 16:54:34 +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 624601272a docs: add the contributor covenant
Reports go through GitHub's Report content option, kept private.
2026-11-19 16:49:15 +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 a92d81c385 fix: cap what a rolling data tree may write
A followed member is written up to twice its listed size plus 16 MiB,
and the whole tree up to twice its listed total plus 16 MiB: a source
serving gigabytes where the list records kilobytes fills no drive.
2026-11-19 09:05:41 +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 2cbffb11f9 chore: regenerate PPSSPP assets in manifests
The buildbot rebuilt PPSSPP.zip: 49 of 169 recorded files no longer
matched, and the installer skipped them as changed.
2026-11-19 06:33:17 +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 e9181d6ce2 docs: name every scripts package in the tree 2026-11-19 03:09:58 +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 39e10db75c docs: name the functions by their public names 2026-11-18 22:59:51 +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 88581cf95d docs: name the unattended package 2026-11-18 21:32:47 +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 7ae6996133 docs: name the release and installer packages
The scripts/ tree of the architecture page lists the three packages the
release, installer build and repository check tools now live in.
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