fix: point each Amiberry build pin at its repo

KNULLI builds amiberry from Batocera's package through its batocera
submodule: the reference now names knulli-linux at 20260511, the tag
platforms/knulli.yml is read at, and the package file below the
submodule. check_freshness follows a path .gitmodules declares to the
commit the tree pins, which reads AMIBERRY_VERSION = v7.1.0 there.

RetroBat pins amiberry 8.3.0.0 only in emulators/versions.xml on its
download server, read by emulatorLauncher/Installer.cs. No repository
holds it, so amiberry-8.3.0 keeps pin_frozen, which says so, and no
pin_build.
This commit is contained in:
Abdessamad Derraz committed 2026-11-10 07:10:43 +01:00
1 parent 7d89877aab
commit 6191d4783a
4 files changed
+40 -13

No files matched your search

+11
View File
@@ -1615,6 +1615,17 @@ def check_pin_builds(
at = revision or upstream.resolve_head(repo, cache_dir, offline)
lines = upstream.fetch_file(repo, at, reference["path"], cache_dir, offline) \
if at else None
if at and lines is None:
# A file of a submodule is read at the commit the
# platform's tree pins: KNULLI builds Batocera's
# amiberry package through its batocera submodule.
modules = upstream.fetch_file(repo, at, ".gitmodules", cache_dir, offline)
declared = upstream.submodule_urls("\n".join(modules or ()), repo)
if any(reference["path"].startswith(f"{p}/") for p in declared):
linked = upstream.through_gitlink(repo, at, reference["path"],
cache_dir, offline)
if linked is not None:
lines = upstream.fetch_file(*linked, cache_dir, offline)
except upstream.NotCachedError:
findings.append(Finding("profiles", subject, SKIPPED, local=recorded[:12],
detail="offline, the build file is not cached"))