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

+6 -6
View File
@@ -17,11 +17,11 @@ import unittest
from pathlib import Path
from resolve.launchers import handed_directories, standalone_bindings
from scraper import retrobat_generators
from scraper.retrobat_arguments import portable_users
from scraper.csharp_source import Source
from scraper.batocera_configgen import GENERATORS, IMPORTER, PATHS_MODULE, Configgen
from scraper.batocera_launchers import LauncherShapeError, patched_paths, working_directories
from scraper.launchers import retrobat_generators
from scraper.launchers.retrobat_arguments import portable_users
from scraper.launchers.csharp_source import Source
from scraper.launchers.batocera_configgen import GENERATORS, IMPORTER, PATHS_MODULE, Configgen
from scraper.launchers.batocera import LauncherShapeError, patched_paths, working_directories
REPO_ROOT = Path(__file__).resolve().parent.parent
@@ -298,7 +298,7 @@ class OnlyWhatABoardBuildsIsRun(unittest.TestCase):
self.assertIn("suyu", bs.configgen_cores(self.DEFAULTS, self.ES, set())[0])
def test_the_extractor_reports_programs_run_from_its_own_bios_root(self):
from scraper.batocera_launchers import Launcher, extraction
from scraper.launchers.batocera import Launcher, extraction
# A fork whose batoceraPaths puts the BIOS folder elsewhere: the
# report follows the root its code gives, not Batocera's.