extras-repoclosure rc-report.py,1.31,1.32
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Mon Jan 8 11:53:48 UTC 2007
Author: mschwendt
Update of /cvs/fedora/extras-repoclosure
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9166
Modified Files:
rc-report.py
Log Message:
don't let kmod rpms in devel trigger a new summary report
Index: rc-report.py
===================================================================
RCS file: /cvs/fedora/extras-repoclosure/rc-report.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- rc-report.py 19 Dec 2006 12:47:37 -0000 1.31
+++ rc-report.py 8 Jan 2007 11:53:45 -0000 1.32
@@ -143,7 +143,7 @@
def mailsplit(smtp, fromaddr, toaddrs, replytoaddr, subject, body):
- # NB: crude implementation - could also split at line positions
+ # Split mail body at line positions to keep it below maxmailsize.
parts = 0
start = 0
end = len(body)
@@ -304,6 +304,10 @@
# however, if age is sufficiently high, don't include report in summary
newflag = (age=='' or age<2)
+ # Don't let kmod- rpms in development repo trigger a new summary report.
+ if name.startswith('kmod-') && uniqueid.find('-development-')>0:
+ newflag = False
+
# TODO: owner has N broken rpms and gets a resent report every n<14 days
# because multiple rpms distribute over 14 days. Change that?
More information about the scm-commits
mailing list