[gimp-web/wip/Jehan/gimp-versions: 5/6] content: new format for gimp_versions.json.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/wip/Jehan/gimp-versions: 5/6] content: new format for gimp_versions.json.
- Date: Wed, 22 Jan 2020 17:04:53 +0000 (UTC)
commit 78663144eaa086971db190073b47ff68888ca603
Author: Jehan <jehan girinstud io>
Date: Sat Jan 4 23:21:31 2020 +0100
content: new format for gimp_versions.json.
Json object are not ordered. We have them ordered in Python through the
OrderedDict concept, but it's not standard.
So let's change the format to using Json arrays (list), which are
ordered. Then we just consider the first item to be the latest release.
content/gimp_versions.json | 95 ++++++++++++++++++++++++++++------------------
1 file changed, 59 insertions(+), 36 deletions(-)
---
diff --git a/content/gimp_versions.json b/content/gimp_versions.json
index afa5ccea..7096c59d 100644
--- a/content/gimp_versions.json
+++ b/content/gimp_versions.json
@@ -1,6 +1,7 @@
{
- "STABLE": {
- "2.10.14": {
+ "STABLE": [
+ {
+ "version": "2.10.14",
"date": "2019-10-28",
"source": {
"gimp-2.10.14.tar.bz2": {
@@ -43,7 +44,8 @@
}
}
},
- "2.10.12": {
+ {
+ "version": "2.10.12",
"date": "2019-06-12",
"source": {
"gimp-2.10.12.tar.bz2": {
@@ -81,8 +83,8 @@
}
}
},
-
- "2.10.10": {
+ {
+ "version": "2.10.10",
"date": "2019-04-07",
"source": {
"gimp-2.10.10.tar.bz2": {
@@ -106,7 +108,8 @@
}
},
- "2.10.8": {
+ {
+ "version": "2.10.8",
"date": "2018-11-08",
"source": {
"gimp-2.10.8.tar.bz2": {
@@ -145,7 +148,8 @@
}
},
- "2.10.6": {
+ {
+ "version": "2.10.6",
"date": "2018-08-19",
"source": {
"gimp-2.10.6.tar.bz2": {
@@ -169,7 +173,8 @@
}
},
- "2.10.4": {
+ {
+ "version": "2.10.4",
"date": "2018-07-04",
"source": {
"gimp-2.10.4.tar.bz2": {
@@ -203,7 +208,8 @@
}
},
- "2.10.2": {
+ {
+ "version": "2.10.2",
"date": "2018-05-20",
"source": {
"gimp-2.10.2.tar.bz2": {
@@ -220,7 +226,8 @@
}
},
- "2.10.0": {
+ {
+ "version": "2.10.0",
"date": "2018-04-27",
"source": {
@@ -254,11 +261,12 @@
}
}
}
- },
+ ],
- "OLDSTABLE": {
+ "OLDSTABLE": [
- "2.8.22": {
+ {
+ "version": "2.8.22",
"date": "2017-05-11",
"source": {
"gimp-2.8.22.tar.bz2": {
@@ -277,7 +285,8 @@
}
},
- "2.8.20": {
+ {
+ "version": "2.8.20",
"source": {
"gimp-2.8.20.tar.bz2": {
"md5": "d405640c426b234d6efc36fb4f5bae57"
@@ -295,7 +304,8 @@
}
},
- "2.8.18": {
+ {
+ "version": "2.8.18",
"source": {
"gimp-2.8.18.tar.bz2": {
"md5": "5adaa11a68bc8a42bb2c778fee4d389c"
@@ -316,7 +326,8 @@
}
},
- "2.8.16": {
+ {
+ "version": "2.8.16",
"source": {
"gimp-2.8.16.tar.bz2": {
"md5": "30e0a1b7c18b0e3415f4ac54567252ac"
@@ -352,7 +363,8 @@
}
},
- "2.8.14": {
+ {
+ "version": "2.8.14",
"source": {
"gimp-2.8.14.tar.bz2": {
"md5": "233c948203383fa078434cc3f8f925cb"
@@ -373,7 +385,8 @@
}
},
- "2.8.12": {
+ {
+ "version": "2.8.12",
"source": {
"gimp-2.8.12.tar.bz2": {
"md5": "47fefa240c38cfb1016b57ad6324378d"
@@ -381,7 +394,8 @@
}
},
- "2.8.10": {
+ {
+ "version": "2.8.10",
"source": {
"gimp-2.8.10.tar.bz2": {
"md5": "84c964aab7044489af69f7319bb59b47"
@@ -399,7 +413,8 @@
}
},
- "2.8.8": {
+ {
+ "version": "2.8.8",
"source": {
"gimp-2.8.8.tar.bz2": {
"md5": "ef2547c3514a1096931637bd6250635a"
@@ -412,7 +427,8 @@
}
},
- "2.8.6": {
+ {
+ "version": "2.8.6",
"source": {
"gimp-2.8.6.tar.bz2": {
"md5": "12b3fdf33d1f07ae79b412a9e38b9693"
@@ -420,7 +436,8 @@
}
},
- "2.8.4": {
+ {
+ "version": "2.8.4",
"source": {
"gimp-2.8.4.tar.bz2": {
"md5": "392592e8755d046317878d226145900f"
@@ -438,7 +455,8 @@
}
},
- "2.8.2": {
+ {
+ "version": "2.8.2",
"source": {
"gimp-2.8.2.tar.bz2": {
"md5": "b542138820ca3a41cbd63fc331907955"
@@ -459,7 +477,8 @@
}
},
- "2.8.0": {
+ {
+ "version": "2.8.0",
"source": {
"gimp-2.8.0.tar.bz2": {
"md5": "28997d14055f15db063eb92e1c8a7ebb"
@@ -471,10 +490,11 @@
}
}
}
- },
+ ],
- "OLD-DEVELOPMENT": {
- "2.10.0-RC2": {
+ "OLD-DEVELOPMENT": [
+ {
+ "version": "2.10.0-RC2",
"date": "2018-04-17",
"source": {
"gimp-2.10.0-RC2.tar.bz2 ": {
@@ -500,7 +520,8 @@
}
},
- "2.10.0-RC1": {
+ {
+ "version": "2.10.0-RC1",
"date": "2018-03-26",
"source": {
"gimp-2.10.0-RC1.tar.bz2 ": {
@@ -514,7 +535,8 @@
}
},
- "2.9.8": {
+ {
+ "version": "2.9.8",
"date": "2017-12-12",
"source": {
"gimp-2.9.8.tar.bz2": {
@@ -528,7 +550,8 @@
}
},
- "2.9.6": {
+ {
+ "version": "2.9.6",
"date": "2017-08-24",
"source": {
"gimp-2.9.6.tar.bz2": {
@@ -542,8 +565,8 @@
}
},
- "2.9.4":
{
+ "version": "2.9.4",
"source": {
"gimp-2.9.4.tar.bz2": {
"md5": "6b3d425a7949110eeb532badedf721f3"
@@ -551,8 +574,8 @@
}
},
- "2.9.2":
{
+ "version": "2.9.2",
"source": {
"gimp-2.9.2.tar.bz2": {
"md5": "aa8a846a497e3328c5b7d2fd33f5cf63"
@@ -560,10 +583,10 @@
}
}
- },
- "NIGHTLY": {
- "2.9.7" :
+ ],
+ "NIGHTLY": [
{
+ "version": "2.9.7",
"source": {
},
@@ -571,5 +594,5 @@
}
}
- }
+ ]
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]