rev 3668 - in debbugs-illa: . bzlink

Pierre Habouzit madcoder at costa.debian.org
Thu Apr 27 08:35:46 UTC 2006


Author: madcoder
Date: 2006-04-27 08:35:41 +0000 (Thu, 27 Apr 2006)
New Revision: 3668

Modified:
   debbugs-illa/TODO
   debbugs-illa/bzlink.cfg
   debbugs-illa/bzlink/__init__.py
   debbugs-illa/bzpull.py
Log:
create bugs_ml settings, and warn if it's not in the Cc list (will be
added automatically at some point)



Modified: debbugs-illa/TODO
===================================================================
--- debbugs-illa/TODO	2006-04-26 15:56:35 UTC (rev 3667)
+++ debbugs-illa/TODO	2006-04-27 08:35:41 UTC (rev 3668)
@@ -1,9 +1,5 @@
 Short Term (meaning before the d-d-a mail) :
 
-    * add the Notion of Notification Mail List (our
-      pkg-kde-bugs-fwd at lists.a.d.o) and make bzsync add it to the Cc if not
-      already there
-
     * bzlink is not well named:
       + bzlink should be bznotifparse (or anything meaningful)
 
@@ -12,6 +8,7 @@
     * bzpull:
       + use the db-h spool to query statuses of a bug (forwarded e.g.)
         to avoid ldap lag
+      + make bzpull add the Cc to the bugs_ml
 
 Medium Term:
 

Modified: debbugs-illa/bzlink/__init__.py
===================================================================
--- debbugs-illa/bzlink/__init__.py	2006-04-26 15:56:35 UTC (rev 3667)
+++ debbugs-illa/bzlink/__init__.py	2006-04-27 08:35:41 UTC (rev 3668)
@@ -81,6 +81,7 @@
     def debug(self):    return self._get('debug')
     def ldap(self):     return self._get('ldap')
     def user(self):     return self._get('user')
+    def bugsML(self):   return self._get('bugs_ml')
 
     def sender(self):
         tmp = self._get('from')
@@ -93,6 +94,7 @@
             return url.rstrip('/')
         else: return url
 
+
 class BzOpener(urllib.FancyURLopener):
     version = "bzlink"
 

Modified: debbugs-illa/bzlink.cfg
===================================================================
--- debbugs-illa/bzlink.cfg	2006-04-26 15:56:35 UTC (rev 3667)
+++ debbugs-illa/bzlink.cfg	2006-04-27 08:35:41 UTC (rev 3668)
@@ -6,10 +6,12 @@
 debug    = true
 bugzilla = 'http://bugs.kde.org'
 user     = 'debian-qt-kde at lists.debian.org'
+bugs_ml  = 'pkg-kde-bugs-fwd at lists.alioth.debian.org'
 
 [kde]
 bugzilla = 'http://bugs.kde.org'
 user     = 'debian-qt-kde at lists.debian.org'
+bugs_ml  = 'pkg-kde-bugs-fwd at lists.alioth.debian.org'
 
 [gnome]
 bugzilla = 'http://bugs.gnome.org'

Modified: debbugs-illa/bzpull.py
===================================================================
--- debbugs-illa/bzpull.py	2006-04-26 15:56:35 UTC (rev 3667)
+++ debbugs-illa/bzpull.py	2006-04-27 08:35:41 UTC (rev 3668)
@@ -73,6 +73,10 @@
     if tmp is not None:
         res.append("usertag %s + bzRes-%s\n" % (rep.bug, tmp.lower()))
 
+    us = Cnf.bugsML()
+    if us is not None and us not in rep['cc']:
+        print >> sys.stderr, "%s/%s has no Cc: set" % (Cnf.bugzilla(), rep['bug_id'])
+
     return res
 
 if __name__ == "__main__":




More information about the pkg-kde-commits mailing list