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
@@ -41,7 +41,7 @@ if (_SCRIPTS_DIR := str(Path(__file__).resolve().parents[1])) not in sys.path:
from core.artifacts import copy_stream_atomic, write_if_changed, write_text_atomic
from model.safeparse import parse_untrusted_xml
from region import REGIONS, WORLD
from model.region import REGIONS, WORLD
from region_audit import NOINTRO
from .base_scraper import github_headers