database
database copied to clipboard
Basic versioning
While cleaning, I think the safest and less intrusive we have to do this is to implement the "field" version, for each file. It should be a string, so we can include points and characters like a,b... for alpha,beta... versions Additionally, same software in different folders can be merged into just one folder, and we would just need to add the missing information to the game.json
To understand what I mean here it is an example.
What's up right now:
{
"default": true,
"filename": "infinity.gb",
"hash": {
"md5": "6d6507bd38c76a9baa90b8e305ebea13",
"sha1": "fdfd6d4cbebbf64fc7d1264f0450be270be89823",
"sha256": "a5c7b34dbc1a6be0c2ec7ff5943f0e2bef24de9e9624d06604e7d60971a94330"
},
"playable": true
}
Proposal of change:
{
"default": true,
"filename": "infinity.gb",
"version": "1.0.0",
"hash": {
"md5": "6d6507bd38c76a9baa90b8e305ebea13",
"sha1": "fdfd6d4cbebbf64fc7d1264f0450be270be89823",
"sha256": "a5c7b34dbc1a6be0c2ec7ff5943f0e2bef24de9e9624d06604e7d60971a94330"
},
"playable": true
}