refactor: split the launcher layer by subject

This commit is contained in:
Abdessamad Derraz committed 2026-11-24 05:54:38 +01:00
1 parent e43b07c669
commit c6352f2db1
17 files changed
+1108 -1050

No files matched your search

+3 -3
View File
@@ -110,8 +110,8 @@ def _served_line(f: dict, declared_sha1: str = "") -> str:
def _launcher_refs(config: dict) -> dict[str, list[str]]:
"""Entry name, casefolded -> each launcher record that opens it, rendered."""
from resolve.launchers import record_names as launcher_names
from resolve.launchers import bound_launchers
from resolve.launcherplaces import record_names as launcher_names
from resolve.launcherconfig import bound_launchers
from sitegen.sources import launcher_ref_markdown, list_source
# Every scraper reads its launchers in the repository and at the revision
@@ -140,7 +140,7 @@ def launcher_unproven_section(config: dict) -> list[str]:
A config file is proof only when the code installing it and the code
reading it are shown: these records place no file.
"""
from resolve.launchers import launcher_unproven
from resolve.launcherconfig import launcher_unproven
from sitegen.sources import launcher_ref_markdown, list_source
rows = launcher_unproven({str(config.get("_key") or ""): config}, _site_profiles())