refactor: split the leaf modules libraries use

model.region holds the region vocabulary, resolve.regions the selection
that needs the cores a platform runs. The libraries behind identity.py,
retired_files.py and torrentzip.py move to resolve.identity,
model.retired and core.torrentzip, with their long docstrings; the
commands stay where they are run from. The source_ref parts that cite a
config or feature file move from scraper.shell_launchers to
resolve.launcherrefs, so resolve no longer imports the scraper package.
This commit is contained in:
Abdessamad Derraz committed 2026-11-18 11:39:47 +01:00
1 parent 83cfa6fd0f
commit c764d9abf1
56 files changed
+839 -804

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ from dataclasses import dataclass
from pathlib import Path
from model.profiles import load_emulator_profiles
from region import REGIONS, normalize_declared
from model.region import REGIONS, normalize_declared
from model.safeparse import yaml_load
REGIONS_FILE = Path("games") / "regions.yml"