mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-15 22:43:48 -06:00
fix: profile redream from its public tree
The profile declared libretro/redream, which answers 404, with no pin and no source_ref: profile_sync skipped it and the boot.bin md5 came from the libretro docs. It now reads inolen/redream at ffb73022, the last public tree, whose libretro core opens dc/boot.bin and dc/flash.bin in the system directory. boot.bin is checked against four md5 and the flash against its size, and both fall back to the high level BIOS, so neither is required.
This commit is contained in:
1 parent
593260a5ed
commit
4175aeefd3
2 files changed
+55
-23
No files matched your search
@@ -514,6 +514,25 @@ class TestVerifyAtPin(unittest.TestCase):
|
||||
self.assertIsNone(profile_sync.cites_another_version(same, "0.16.0"))
|
||||
self.assertIsNone(profile_sync.cites_another_version(same, {"libretro": "v0.16.0"}))
|
||||
|
||||
def test_a_profile_with_a_repository_names_a_revision(self):
|
||||
"""redream declared libretro/redream, a repository that never
|
||||
existed, with no pin and no date: profile_sync skipped it and no
|
||||
revision answered for the files Batocera, RetroBat and KNULLI ship."""
|
||||
import yaml
|
||||
|
||||
root = Path(__file__).resolve().parents[1] / "emulators"
|
||||
unpinned = [
|
||||
path.stem
|
||||
for path in sorted(root.glob("*.yml"))
|
||||
if (profile := yaml.safe_load(path.read_text(encoding="utf-8")) or {})
|
||||
and (profile.get("source") or profile.get("upstream"))
|
||||
and not any(
|
||||
profile.get(key)
|
||||
for key in ("source_commit", "upstream_commit", "profiled_date")
|
||||
)
|
||||
]
|
||||
self.assertEqual(unpinned, [])
|
||||
|
||||
def test_a_profile_citing_versions_documents_its_own(self):
|
||||
"""ti99sim's core_version went null while doc/CHANGES.html at its pin
|
||||
reads 0.16.0: every (v0.16.0) part then read as another version, and
|
||||
|
||||
Reference in new issue
Block a user