status-report-scripts pyGetReviewByFlags,1.18,1.19

Jason ティビツ tibbs at fedoraproject.org
Thu Sep 24 17:57:47 UTC 2009


Author: tibbs

Update of /cvs/fedora/status-report-scripts
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8381

Modified Files:
	pyGetReviewByFlags 
Log Message:
Filter out FE-Legal tickets and "BuildFails" in the whiteboard.



Index: pyGetReviewByFlags
===================================================================
RCS file: /cvs/fedora/status-report-scripts/pyGetReviewByFlags,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- pyGetReviewByFlags	12 Feb 2009 03:17:08 -0000	1.18
+++ pyGetReviewByFlags	24 Sep 2009 17:57:47 -0000	1.19
@@ -27,6 +27,9 @@
 ACCEPT      = '163779'
 NEEDSPONSOR = '177841'
 GUIDELINES  = '197974'
+LEGAL       = '182235'
+
+# These three will show up in a query but aren't actual review tickets
 trackers = set([ACCEPT, NEEDSPONSOR, GUIDELINES])
 
 flagData = {
@@ -141,8 +144,12 @@
     for bug in bugs:
         if bug.bug_status == "CLOSED":
             closedCnt += 1
-        elif flag == ' ' and (bug.status_whiteboard.find('NotReady') >= 0
-                or filter(opendep, bugdata[bug.bug_id]['depends'])):
+        elif flag == ' ' and (
+                bug.status_whiteboard.find('NotReady') >= 0
+                or bug.status_whiteboard.find('BuildFails') >= 0
+                or LEGAL in bugdata[bug.bug_id]['blockedby']
+                or filter(opendep, bugdata[bug.bug_id]['depends'])
+                ):
             hiddenCnt += 1
             bugdata[bug.bug_id]['hidden'] = 1
         else:




More information about the scm-commits mailing list