status-report-scripts pyGetReviewByFlags,1.6,1.7

Toshio Ernie Kuratomi (toshio) fedora-extras-commits at redhat.com
Thu Jul 26 18:01:14 UTC 2007


Author: toshio

Update of /cvs/fedora/status-report-scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14498

Modified Files:
	pyGetReviewByFlags 
Log Message:
* pyGetReviewByFlags: Product is now 'Fedora' rather than 'Fedora Extras' and
  changed the long owner string for nodbody to a short one.



Index: pyGetReviewByFlags
===================================================================
RCS file: /cvs/fedora/status-report-scripts/pyGetReviewByFlags,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- pyGetReviewByFlags	26 Jul 2007 14:06:39 -0000	1.6
+++ pyGetReviewByFlags	26 Jul 2007 18:01:12 -0000	1.7
@@ -1,5 +1,13 @@
-#!/usr/bin/env python
+#!/usr/bin/env python -t
 # $Id$
+#
+# Note: This script presently lives in internal and external cvs.  External
+# cvs is::
+# CVSROOT=:pserver:anonymous at cvs.fedoraproject.org:/cvs/fedora cvs co status-report-scripts
+# Internal is in the puppet configs repository on lockbox.  It needs to be
+# there so that puppet can distribute to the servers.  I recommend doing the
+# work in the public cvs first, then copying to puppet's cvs after.
+
 
 import sys
 import os
@@ -75,7 +83,7 @@
 def runQuery(server, flag, f, openMsg, closeMsg):
     querydata = {}
     querydata['column_list'] = ['opendate', 'changeddate', 'bug_severity', 'alias', 'assigned_to', 'reporter', 'bug_status', 'resolution', 'component', 'blockedby', 'short_desc']
-    querydata['product'] = ['Fedora Extras']
+    querydata['product'] = ['Fedora']
     querydata['component'] = ['Package Review']
     querydata['field0-0-0'] = 'flagtypes.name'
     if flag == " ":
@@ -128,6 +136,8 @@
     for e in bugs:
         if e['bug_status'] == "CLOSED":
             continue
+        if e['assigned_to'] == "Nobody's working on this, feel free to take it":
+            e['assigned_to'] = "(Nobody)"
         cnt += 1
         if (cnt % 2) == 1:
             print >> f, '<tr class="bz_even bz_'




More information about the scm-commits mailing list