[Collab-qa-commits] r1288 - udd/web/cgi-bin

kroeckx at alioth.debian.org kroeckx at alioth.debian.org
Mon Sep 22 17:10:56 UTC 2008


Author: kroeckx
Date: 2008-09-22 17:10:55 +0000 (Mon, 22 Sep 2008)
New Revision: 1288

Modified:
   udd/web/cgi-bin/package_rc_bug_count.cgi
   udd/web/cgi-bin/removal_candidates.cgi
Log:
Make use of the new severity type and don't compare all possible values but
just use a >= 'serious'.


Modified: udd/web/cgi-bin/package_rc_bug_count.cgi
===================================================================
--- udd/web/cgi-bin/package_rc_bug_count.cgi	2008-09-22 17:08:03 UTC (rev 1287)
+++ udd/web/cgi-bin/package_rc_bug_count.cgi	2008-09-22 17:10:55 UTC (rev 1288)
@@ -11,7 +11,7 @@
 SELECT b.package, COUNT(b.id)
 FROM bugs b
 WHERE 
-        (b.severity IN ('serious', 'grave', 'critical'))
+        (b.severity >= 'serious')
     AND 
         b.affects_testing
     AND(

Modified: udd/web/cgi-bin/removal_candidates.cgi
===================================================================
--- udd/web/cgi-bin/removal_candidates.cgi	2008-09-22 17:08:03 UTC (rev 1287)
+++ udd/web/cgi-bin/removal_candidates.cgi	2008-09-22 17:10:55 UTC (rev 1288)
@@ -13,7 +13,7 @@
 and bugs.source = sources.source
 and id in (select id from bugs_rt_affects_testing)
 and id in (select id from bugs_rt_affects_unstable)
-and bugs.severity in ('serious', 'grave', 'critical')
+and bugs.severity >= 'serious'
 and arrival < (NOW() - interval '14 DAYS')
 and sources.source = popcon_src.source
 and popcon_src.insts < 2000




More information about the Collab-qa-commits mailing list