diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index 5809daf15..a34ef59ae 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -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" diff --git a/scripts/generate_readme.py b/scripts/generate_readme.py index 704c24f5b..6100b08ff 100644 --- a/scripts/generate_readme.py +++ b/scripts/generate_readme.py @@ -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. diff --git a/scripts/generate_site.py b/scripts/generate_site.py index c222ba787..c4505ab7c 100644 --- a/scripts/generate_site.py +++ b/scripts/generate_site.py @@ -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] diff --git a/scripts/sitewanted.py b/scripts/sitewanted.py index 4753cba01..255a10af1 100644 --- a/scripts/sitewanted.py +++ b/scripts/sitewanted.py @@ -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: