fix: keep the wanted page copy in the house style

This commit is contained in:
Abdessamad Derraz committed 2026-11-13 15:59:32 +01:00
1 parent 811fda5673
commit fda0806bad
4 files changed
+5 -4

No files matched your search

+1
View File
@@ -57,6 +57,7 @@ on:
- "scripts/site_markdown.py"
- "scripts/sitebootstrap.py"
- "scripts/sitehandheld.py"
- "scripts/sitewanted.py"
- "scripts/sitecollection.py"
- "scripts/sitediagrams.py"
- "scripts/siteentries.py"
+1 -1
View File
@@ -857,7 +857,7 @@ def contributing_text(
Have a file the collection lacks? Add it from the browser. It is checked on arrival.
Not sure? Drop it on [the wanted page]({link("wanted")}). It reads the file on
your device, says if it is wanted, and opens the upload in the right folder.
the device, says if it is wanted, and opens the upload in the right folder.
[Upload it into `bios/`]({UPLOAD_URL}), 25 MB at most per file. GitHub
writes it to a fork and opens the pull request.
+1 -1
View File
@@ -2538,7 +2538,7 @@ def _page_description(markdown: str, relative: Path, title: str) -> str:
"explore.md": "Systems, emulators and installer options to explore, with the figures of the BIOS collection.",
"which-pack.md": "Pick a device or setup and get its BIOS files: the folder they go in, one command that installs and checks them, or a ZIP pack to extract.",
"contributing.md": "Add a BIOS file the collection lacks from the browser, checked on arrival, or add a platform or an emulator profile.",
"wanted.md": "Drop files on the page to learn if the collection wants them, then upload a wanted one to its folder on GitHub. Files are read on your device.",
"wanted.md": "Drop files on the page to learn if the collection wants them, then upload a wanted one to its folder on GitHub. Files are read on the device.",
}
if key in specific:
return specific[key]
+2 -2
View File
@@ -168,8 +168,8 @@ def wanted_declarations(profiles: dict, coverages: dict, gap_report: dict) -> li
def _settle_cut(records: list[dict]) -> None:
"""A cut md5 names a dump only if exactly one md5 starts with it.
Matched against the wanted md5s: one of them, and the cut is that md5;
several, and it names none; none, and the page compares by prefix.
Matched against the wanted md5s: with one match the cut is that md5.
With several it names none, and with none the page compares by prefix.
"""
full = {v for r in records for v in r["hashes"].get("md5", []) if len(v) == 32}
for record in records: