From ac98a1fe8aa52897a19a08523a4b93ad0c474557 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Thu, 5 Nov 2026 19:51:57 +0100 Subject: [PATCH] docs: replace project verdicts in profiles pcsx1, rustation and np2kai called a project abandoned, dead or never completed. Each now gives the date of the last commit or the project's own words, and a test refuses the verdicts yabause and gearboy carried too. --- emulators/np2kai.yml | 2 +- emulators/pcsx1.yml | 2 +- emulators/rustation.yml | 2 +- tests/test_prose_style.py | 16 ++++++++++++++++ 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/emulators/np2kai.yml b/emulators/np2kai.yml index 2ccbae0a4..570372fc2 100644 --- a/emulators/np2kai.yml +++ b/emulators/np2kai.yml @@ -16,7 +16,7 @@ cores: [np2kai] systems: [pc-98] # NP2kai is a PC-9801/9821 emulator by AZO234, enhanced fork of Neko Project II -# by Yui (original upstream dead: np2.yui.ne.jp). All files load from +# by Yui (original site: np2.yui.ne.jp). All files load from # /np2kai/ subdirectory, set in retro_load_game() # (sdl/libretro/libretro.c:1800-1815). All getbiospath() calls resolve # relative to that directory. diff --git a/emulators/pcsx1.yml b/emulators/pcsx1.yml index 4cfba40bf..6191bc337 100644 --- a/emulators/pcsx1.yml +++ b/emulators/pcsx1.yml @@ -15,7 +15,7 @@ display_name: "Sony - PlayStation (PCSX1)" cores: [pcsx1] systems: [sony-playstation] notes: > - Never-completed fork of PCSX-ReARMed targeting general PC hardware. Experimental, abandoned since 2018. + Fork of PCSX-ReARMed targeting general PC hardware. The last commit on libretro/pcsx1-libretro is from 2018-02-11. HLE BIOS built-in: if no BIOS file found, core warns and falls back to HLE automatically. BIOS search order: scph1001.bin, scph5501.bin, scph7001.bin by exact filename, then scans system directory for any file matching "scph*" (case-insensitive) with size == 512 KB. diff --git a/emulators/rustation.yml b/emulators/rustation.yml index 699ba38e5..477fec99b 100644 --- a/emulators/rustation.yml +++ b/emulators/rustation.yml @@ -30,7 +30,7 @@ notes: > Database contains 24 entries (22 good, 2 known-bad rejected) covering BIOS versions 1.0 through 4.5. .info declares firmware_count=0, while the core reads the BIOS images this profile lists. - Project abandoned, superseded by rustation-ng. + Its README says it is no longer developed and points to rustation-ng. files: # -- Region: Japan -- diff --git a/tests/test_prose_style.py b/tests/test_prose_style.py index 490b63b83..650e57ecd 100644 --- a/tests/test_prose_style.py +++ b/tests/test_prose_style.py @@ -308,6 +308,22 @@ class ProfilesStateFactsAboutOtherProjects(unittest.TestCase): ] self.assertEqual(offenders, [], "\n".join(offenders[:40])) + # A project's state is a dated fact or its own words, never a verdict: + # "Upstream project is dead" (yabause), "abandoned fork" (gearboy). + PROJECT_VERDICTS = re.compile( + r"\b(?:(?:project|upstream)(?:\s+project)?\s+(?:is\s+)?dead|" + r"abandoned\s+(?:fork|since)|project\s+abandoned|never-completed)\b", + re.IGNORECASE, + ) + + def test_no_verdict_on_a_project(self): + offenders = [ + f"{path.relative_to(ROOT)}: {found.group(0)}" + for path in sorted((ROOT / "emulators").glob("*.yml")) + for found in self.PROJECT_VERDICTS.finditer(path.read_text(encoding="utf-8")) + ] + self.assertEqual(offenders, [], "\n".join(offenders[:40])) + def test_no_grade_on_another_projects_file(self): offenders = [ f"{path.relative_to(ROOT)}: {line.strip()[:100]}"