refactor: group scraper modules by subject

scraper/ held the platform scrapers next to three other subjects. The
launcher readers move to scraper/launchers/ (their _launchers suffix
dropped), the MAME and FBNeo hash scrapers and romset importers to
scraper/arcade/, the DAT readers and dump catalog importers to
scraper/dats/. The buildbot check is a freshness check and moves to
freshness/buildbot.py. Every -m command, workflow job, schema
description and page follows.

The scraper discovery in scraper/__init__.py had no caller: the
registry's scraper: field names the module, and the pages now say so.
This commit is contained in:
Abdessamad Derraz committed 2026-11-24 10:22:26 +01:00
1 parent 4e01cff854
commit e1bad01b82
130 files changed
+445 -414

No files matched your search

+3 -3
View File
@@ -1229,7 +1229,7 @@ class HashScraperRefusesAnEmptyRead(unittest.TestCase):
"commit": "abc", "bios_sets": sets}
def test_mame_raises_and_writes_no_cache(self):
from scraper import mame_hash_scraper as m
from scraper.arcade import mame_hash_scraper as m
with tempfile.TemporaryDirectory() as tmp:
cache = Path(tmp) / "mame-hashes.json"
@@ -1242,7 +1242,7 @@ class HashScraperRefusesAnEmptyRead(unittest.TestCase):
def test_fbneo_raises_and_writes_no_cache(self):
from scraper import fbneo_hash_scraper as f
from scraper.arcade import fbneo_hash_scraper as f
with tempfile.TemporaryDirectory() as tmp:
cache = Path(tmp) / "fbneo-hashes.json"
@@ -1254,7 +1254,7 @@ class HashScraperRefusesAnEmptyRead(unittest.TestCase):
self.assertFalse(cache.exists())
def test_an_empty_or_unreadable_cache_is_not_served(self):
from scraper.sparse_clone import fresh_cache
from scraper.arcade.sparse_clone import fresh_cache
with tempfile.TemporaryDirectory() as tmp:
cache = Path(tmp) / "hashes.json"