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

+1 -1
View File
@@ -118,7 +118,7 @@ class ShippedFilesSatisfyTheirDeclaration(unittest.TestCase):
digests["md5"].append(common.md5_composite(str(blob_path)))
except (zipfile.BadZipFile, OSError):
pass
# Batocera publishes 29-character prefixes, so compare by prefix.
# A declared MD5 can be shorter than 32 characters: compare by prefix.
satisfied = any(
all(
any(