[Blends-commit] [SCM] website branch, master, updated. 71aedad66794acbf0bd7aa36ea6e68c6b35bfc74

Andreas Tille tille at debian.org
Sat Jul 6 19:10:13 UTC 2013


The following commit has been merged in the master branch:
commit 71aedad66794acbf0bd7aa36ea6e68c6b35bfc74
Author: Andreas Tille <tille at debian.org>
Date:   Sat Jul 6 20:30:48 2013 +0200

    More close implementation of status

diff --git a/misc/thermometer/thermometer.py b/misc/thermometer/thermometer.py
index fe1b870..8030c81 100755
--- a/misc/thermometer/thermometer.py
+++ b/misc/thermometer/thermometer.py
@@ -100,9 +100,10 @@ def main():
            wnpp,
            CASE WHEN stable.version >= unstable.version THEN 'upToDate'
                 WHEN stable.version <  unstable.version THEN 'debianOutOfDate'
-                WHEN stable.version IS NULL             THEN '_no_stable'
-                WHEN unstable.version IS NULL           THEN '_no_unstable'
-                ELSE 'unpackaged' END AS debianstatus
+                WHEN stable.version IS NOT NULL AND unstable.version IS NULL THEN 'obsolete'
+                WHEN stable.version IS NULL AND testing.version IS NULL AND unstable.version IS NULL THEN 'unpackaged'
+                WHEN experimental.version IS NOT NULL OR unreleased.version IS NOT NULL THEN 'workInProgress'
+                ELSE 'unknown' END AS debianstatus
      FROM (
       SELECT DISTINCT p.source, '' AS wnpp FROM packages p
       JOIN blends_dependencies bd ON bd.package = p.package

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list