fix: list only what an emuelec image carries

The 29 port engines depend on emuelec-ports, which no package of a
released image depends on, and flycast-dojo is in no device list: the
targets scraper already says so (UNBUILT). The platform list and the
launcher records now hold what at least one device image carries. Each
system keeps the list es_systems.json gives it, which says whose files
its entries ask for: VVVVVV's data.zip is still never served xrick's.
This commit is contained in:
Abdessamad Derraz committed 2026-11-09 21:27:38 +01:00
1 parent 0aa551dba7
commit ebba4c9c89
5 files changed
+38 -74

No files matched your search

+1
View File
@@ -302,6 +302,7 @@ class TheCommittedListsAgree(unittest.TestCase):
listed = {str(c) for s in config["systems"].values() for c in s.get("cores", [])}
self.assertTrue(listed, "no system carries its cores")
self.assertEqual(listed - platform - (listed - built), set())
self.assertEqual(platform - built - {"lexaloffle", "mpv", "vox_official"}, set())
if __name__ == "__main__":
+2
View File
@@ -207,6 +207,8 @@ class APlatformEntryTakesNoOtherEmulatorsTree(unittest.TestCase):
config = load_platform_config("emuelec", str(REPO_ROOT / "platforms"))
entry = config["systems"]["vvvvvv"]["files"][0]
# No image builds the VVVVVV port engine, but es_systems.json still
# names it for the system: its tree is the one the entry asks for.
self.assertEqual(entry["platform_cores"], ["VVVVVV"])
db = load_database(str(REPO_ROOT / "database.json"))
path, _status = resolve_local_file(