[Blends-commit] [SCM] website branch, master, updated. 91c117e82bdba139fd1fafc016238f44d24988f0
Andreas Tille
tille at debian.org
Wed Mar 9 08:39:15 UTC 2016
The following commit has been merged in the master branch:
commit 91c117e82bdba139fd1fafc016238f44d24988f0
Author: Andreas Tille <tille at debian.org>
Date: Wed Mar 9 09:38:42 2016 +0100
Adapt thermometer to unfortunate change in status values of upstream table
diff --git a/webtools/thermometer.py b/webtools/thermometer.py
index 0cae980..3808866 100755
--- a/webtools/thermometer.py
+++ b/webtools/thermometer.py
@@ -96,10 +96,10 @@ def main():
-- map values from former dehs to upstream table values
CASE WHEN d.status IS NULL OR
d.status = '' OR
- d.status = 'error' THEN 'none'
- WHEN d.status = 'Newer version available' THEN 'outdated'
- WHEN d.status = 'up to date' THEN 'upToDate'
- WHEN d.status = 'Debian version newer than remote site' THEN 'newer-in-debian'
+ d.status = 'error' THEN 'none'
+ WHEN d.status = 'Newer version available' OR d.status = 'newer package available' THEN 'outdated'
+ WHEN d.status = 'up to date' THEN 'upToDate'
+ WHEN d.status = 'Debian version newer than remote site' OR d.status = 'only older package available' THEN 'newer-in-debian'
ELSE 'unknown' -- should not occure!
END AS upstreamstatus,
homepage,
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list