refactor: move recipes and acquisition to packages

This commit is contained in:
Abdessamad Derraz committed 2026-11-18 19:49:49 +01:00
1 parent 664776ae91
commit 0e4e5f450d
35 files changed
+2186 -2071

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@ import urllib.parse
from collections.abc import Callable, Iterable
from pathlib import Path
import archive_build
from recipes import ledger as recipes_ledger
from resolve.layout import runs_standalone
from model.profiles import unique_emulator_profiles
from packs.crossref import _first_hash
@@ -523,7 +523,7 @@ def _merge_named(records: dict[tuple, dict]) -> None:
def load_ledger(path: Path) -> list[dict]:
"""The archive records of recipes/archives.json, empty when absent."""
return list(archive_build.load_ledger(path).values())
return list(recipes_ledger.load_ledger(path).values())
def page(total: int, known: int) -> str: