extras-repoclosure rc-report.py,1.65,1.66

Michael Schwendt mschwendt at fedoraproject.org
Mon Aug 24 17:50:31 UTC 2009


Author: mschwendt

Update of /cvs/fedora/extras-repoclosure
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19663

Modified Files:
	rc-report.py 
Log Message:
update the whitelist
 - drop Fedora 7 entries
 - keep kmod*
 - send no mail for llvm-devel.ppc64 in F10 ppc



Index: rc-report.py
===================================================================
RCS file: /cvs/fedora/extras-repoclosure/rc-report.py,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- rc-report.py	5 Aug 2009 09:50:39 -0000	1.65
+++ rc-report.py	24 Aug 2009 17:50:30 -0000	1.66
@@ -55,12 +55,14 @@
 
 
 def whiteListed(b): # Just a hook, not a generic white-list feature.
-    # These two in Fedora 7 Everything most likely won't be fixed.
-    if b.name.startswith('kmod-em8300') and b.repoid.startswith('fedora-7'):
+    if b.name.startswith('kmod'):  # gah ;)  temporarily catch them all
         return True
-    elif b.name.startswith('kmod-sysprof') and b.repoid.startswith('fedora-7'):
-        return True
-    elif b.name.startswith('kmod'):  # gah ;)  temporarily catch them all
+    else:
+        return False
+
+
+def noMailWhiteList(b):
+    if b.name.startswith('llvm-devel') and b.repoid.startswith('fedora-10-ppc'):
         return True
     else:
         return False
@@ -273,6 +275,8 @@
 if not opts.noowners:
     brokendeps.sort(bdSortByOwnerAndName)
     for b in brokendeps:
+        if noMailWhiteList(b):
+            continue
         if b.new:
             print 'NEW breakage: %s in %s' % (b.pkgid, b.repoid)
         if b.mail:




More information about the fedora-extras-commits mailing list