[Secure-testing-commits] r26150 - bin

Salvatore Bonaccorso carnil at moszumanska.debian.org
Mon Mar 17 20:12:32 UTC 2014


Author: carnil
Date: 2014-03-17 20:12:32 +0000 (Mon, 17 Mar 2014)
New Revision: 26150

Modified:
   bin/tracker_service.py
Log:
Add cross-reference for SuSE/Novell Bugzilla

Modified: bin/tracker_service.py
===================================================================
--- bin/tracker_service.py	2014-03-17 19:33:27 UTC (rev 26149)
+++ bin/tracker_service.py	2014-03-17 20:12:32 UTC (rev 26150)
@@ -332,6 +332,8 @@
                                       ", ",
                                       self.make_gentoo_bug_ref(url, bug.name, 'Gentoo'),
                                       ", ",
+                                      self.make_suse_bug_ref(url, bug.name, 'SuSE'),
+                                      ", ",
                                       A(url.absolute('http://oss-security.openwall.org/wiki/vendors'), 'more'),
                                       ")")
             elif source == 'DSA':
@@ -1254,6 +1256,9 @@
         return url.absolute("http://people.canonical.com/~ubuntu-security/cve/%s" % name)
     def url_gentoo_bug(self, url, name):
         return url.absolute("http://bugs.gentoo.org/show_bug.cgi", id=name)
+    def url_suse_bug(self, url, name):
+        return url.absolute("https://bugzilla.novell.com/show_bug.cgi",
+                            id=name)
 
     def url_dsa(self, url, dsa, re_dsa=re.compile(r'^DSA-(\d+)(?:-\d+)?$')):
         match = re_dsa.match(dsa)
@@ -1336,6 +1341,11 @@
             name = cve
         return A(self.url_gentoo_bug(url, cve), name)
 
+    def make_suse_bug_ref(self, url, cve, name=None):
+        if name is None:
+            name = cve
+        return A(self.url_suse_bug(url, cve), name)
+
     def make_dsa_ref(self, url, dsa, name=None):
         if name is None:
             name = dsa




More information about the Secure-testing-commits mailing list