mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-21 09:07:50 -06:00
feat: keep the address of a file that left
files/?sha1= of a file the collection no longer holds answered that no
file the site knows has the hash. generate_db.py now records each sha1 a
rebuild drops in retired.json, with the day and the file in its place,
backfilled from the history since 0d586ef6b (4,139 files). The lookup
answers with it and leads to the successor's card.
This commit is contained in:
1 parent
578050b8e5
commit
350cd6d600
12 files changed
+37779
-10
No files matched your search
@@ -390,11 +390,22 @@
|
||||
"enum": [
|
||||
"collection",
|
||||
"archive-member",
|
||||
"retired",
|
||||
"data-directory",
|
||||
"platform",
|
||||
"emulator"
|
||||
]
|
||||
},
|
||||
"left": {
|
||||
"type": "string",
|
||||
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
|
||||
"description": "On a retired record: the day the file, whose SHA1 is `sha1`, left the collection (retired.json)."
|
||||
},
|
||||
"successor": {
|
||||
"type": "string",
|
||||
"pattern": "^[0-9a-f]{40}$",
|
||||
"description": "On a retired record: SHA1 of the collection file now holding its place, whose card `url` leads to."
|
||||
},
|
||||
"archive": {
|
||||
"type": "string",
|
||||
"description": "On an archive-member record: the name of the collection archive holding the member, whose SHA1 is `sha1`. Its value is the member's CRC32, read from the archive's central directory."
|
||||
|
||||
Reference in new issue
Block a user