[Publicity-commits] r1251 - /dpn/scripts/create-rc-stats

tolimar at users.alioth.debian.org tolimar at users.alioth.debian.org
Tue Dec 7 11:08:12 UTC 2010


Author: tolimar
Date: Tue Dec  7 11:08:11 2010
New Revision: 1251

URL: http://svn.debian.org/wsvn/publicity/?sc=1&rev=1251
Log:
UDD now know about claimed bugs and uploads to delayed queue; ignore these
bugs for the RC bug statistics as of now


Modified:
    dpn/scripts/create-rc-stats

Modified: dpn/scripts/create-rc-stats
URL: http://svn.debian.org/wsvn/publicity/dpn/scripts/create-rc-stats?rev=1251&op=diff
==============================================================================
--- dpn/scripts/create-rc-stats (original)
+++ dpn/scripts/create-rc-stats Tue Dec  7 11:08:11 2010
@@ -20,8 +20,8 @@
 IGN_SECURITY=$($PSQL --command="SELECT count(*) FROM bugs WHERE id IN (SELECT id FROM bugs_rt_affects_testing) AND id IN (SELECT id FROM bugs_rt_affects_unstable) AND id IN (SELECT id FROM bugs_tags WHERE tag='security') AND severity >= 'serious'")
 IGN_MERGED=$($PSQL --command="SELECT count(*) FROM bugs WHERE id IN (SELECT id FROM bugs_rt_affects_testing) AND id IN (SELECT id FROM bugs_rt_affects_unstable) AND id IN (SELECT id FROM bugs_merged_with WHERE id > merged_with) AND severity >= 'serious'")
 IGN_CONTRIB_NONFREE=$($PSQL --command="SELECT count(*) FROM bugs WHERE id IN (SELECT id FROM bugs_rt_affects_testing) AND id IN (SELECT id FROM bugs_rt_affects_unstable) AND id NOT IN (SELECT id FROM bugs_packages, sources WHERE bugs_packages.source = sources.source AND component='main')  AND severity >= 'serious'")
-#IGN_CLAIMED$($PSQL --command="SELECT count(*) FROM bugs WHERE id IN (SELECT id FROM bugs_rt_affects_testing) AND id IN (SELECT id FROM bugs_rt_affects_unstable) AND id IN (SELECT id FROM bugs_tags WHERE tag='pending') AND severity >= 'serious'")
-#IGN_DELAYED$($PSQL --command="SELECT count(*) FROM bugs WHERE id IN (SELECT id FROM bugs_rt_affects_testing) AND id IN (SELECT id FROM bugs_rt_affects_unstable) AND id IN (SELECT id FROM bugs_tags WHERE tag='pending') AND severity >= 'serious'")
+IGN_CLAIMED=$($PSQL --command="SELECT count(*) FROM bugs WHERE id IN (SELECT id FROM bugs_rt_affects_testing) AND id IN (SELECT id FROM bugs_rt_affects_unstable) AND id IN (SELECT id FROM bugs_usertags WHERE email='bugsquash at qa.debian.org') AND severity >= 'serious'")
+IGN_DELAYED=($PSQL --command="SELECT count(*) FROM bugs WHERE id IN (SELECT id FROM bugs_rt_affects_testing) AND id IN (SELECT id FROM bugs_rt_affects_unstable) AND id IN (SELECT id FROM deferred_closes) AND severity >= 'serious'")
 IGN_OTHERFIXED=$($PSQL --command="SELECT count(*) FROM bugs WHERE id IN (SELECT id FROM bugs_rt_affects_testing) AND id IN (SELECT id FROM bugs_rt_affects_unstable) AND status = 'done' AND severity >= 'serious'")
 
 IGN_ALLABOVE=$($PSQL --command="SELECT count(*) FROM bugs
@@ -31,6 +31,8 @@
 AND NOT (id IN (SELECT id from bugs_tags WHERE tag='security'))
 AND NOT (id NOT IN (SELECT id from bugs_packages, sources where bugs_packages.source = sources.source AND component='main')) 
 AND NOT (id IN (SELECT id FROM bugs_merged_with WHERE id > merged_with)) 
+AND NOT (id IN (SELECT id FROM bugs_usertags WHERE email='bugsquash at qa.debian.org'))
+AND NOT (id IN (SELECT id FROM deferred_closes))
 AND NOT (status = 'done') 
 AND (severity >= 'serious')
 ")
@@ -65,12 +67,10 @@
   <tr><th>Duplicates in Squeeze:</th><td>$IGN_MERGED</td></tr>
   <tr><th>Can be fixed in a security Update:</th><td>$IGN_SECURITY</td></tr>
   <tr><th>Contrib or non-free in Squeeze:</th><td>$IGN_CONTRIB_NONFREE</td></tr>
+  <tr><th>Claimed in Queeze:</th><td>$IGN_CLAIMED</td></tr>
+  <tr><th>Delayed in Squeeze:</th><td>$IGN_DELAYED</td></tr>
   <tr><th>Otherwise fixed in Squeeze:</th><td>$IGN_OTHERFIXED</td></tr>
 </table>"
-# Missing from UDD frontend:
-#  <tr><th>Claimed in Squeeze:</th><td>$(($BOTH-$IGN_CLAIMED))</td></tr>
-#  <tr><th>Delayed in Squeeze:</th><td>$(($BOTH-$IGN_DELAYED))</td></tr>
-#</table>
 
 echo "
 <p>Ignoring all the above (multiple tags possible), <b>$IGN_ALLABOVE</b>




More information about the Publicity-commits mailing list