Update to gimp_versions.json
As discussed on IRC, I would like us to update the json to use list instead of dict when order matters (we currently use the Python json
OrderedDict
concept, but this is apparently not in the standard and in particular not a concept available in json-glib, the C library I am using for GIMP side). This would make parsing easier, in particular without having to bother about text parsing.
It means transforming the dict of versions AND the dict of releases (e.g. several releases of the Windows installer for the same version) into lists, i.e. the following format:
{
"STABLE" : [
{
"version": "2.10.14",
"date": "2019-10-28",
"windows": [
{
"file": "gimp-2.10.14-setup-1.exe",
"sha512": "XXXX"
}
]
}
]
}