mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-11 20:43:50 -06:00
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:
1 parent
7d89877aab
commit
6191d4783a
4 files changed
+40
-13
No files matched your search
@@ -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"))
|
||||
|
||||
Reference in new issue
Block a user