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
@@ -134,7 +134,7 @@ def _config_records_without_evidence(path: Path, document: object) -> list[str]:
"""
if not isinstance(document, dict):
return []
from scraper.shell_launchers import config_ref, is_feature_ref
from resolve.launcherrefs import config_ref, is_feature_ref
out: list[str] = []
for index, record in enumerate(document.get("launchers") or []):