docs: describe short md5 handling as the code does

No platform YAML holds an md5 shorter than 32 characters: the Batocera scraper completes one when a single collection md5 starts with it. The pages said some entries carry 29 characters and that scrapers store them as-is.
This commit is contained in:
Abdessamad Derraz committed 2026-10-21 09:54:57 +02:00
1 parent a6d37e40ae
commit d8e9ad23d3
8 files changed
+44 -15

No files matched your search

+2 -2
View File
@@ -265,7 +265,7 @@ class TestE2E(unittest.TestCase):
).hexdigest() # sorted: a.rom, b.rom
multi_wrong = "0000000000000000000000000000000"
multi_right = f["multi.zip"]["inner_md5s"]["rom.bin"]
truncated_md5 = f["truncated.bin"]["md5"][:29] # Batocera 29-char
truncated_md5 = f["truncated.bin"]["md5"][:29] # shorter than 32 characters
config = {
"platform": "TestMD5",
@@ -347,7 +347,7 @@ class TestE2E(unittest.TestCase):
"zipped_file": "rom.bin",
"required": True,
},
# Truncated MD5 (Batocera 29 chars)
# MD5 shorter than 32 characters
{
"name": "truncated.bin",
"destination": "truncated.bin",