[Secure-testing-commits] r31081 - bin
Paul Wise
pabs at moszumanska.debian.org
Fri Jan 2 01:01:38 UTC 2015
Author: pabs
Date: 2015-01-02 01:01:37 +0000 (Fri, 02 Jan 2015)
New Revision: 31081
Modified:
bin/tracker_service.py
Log:
Link to the Debian source code site
Modified: bin/tracker_service.py
===================================================================
--- bin/tracker_service.py 2015-01-02 00:30:49 UTC (rev 31080)
+++ bin/tracker_service.py 2015-01-02 01:01:37 UTC (rev 31081)
@@ -592,6 +592,8 @@
pkg + ' in the Package Tracking System'),
(self.url_debian_bug_pkg(url, pkg),
pkg + ' in the Bug Tracking System'),
+ (self.url_source_code(url, pkg),
+ pkg + ' source code'),
(self.url_testing_status(url, pkg),
pkg + ' in the testing migration checker')),
make_table(gen_versions(), title=H2('Available versions'), caption=('Release', 'Version')),
@@ -1297,6 +1299,8 @@
def url_debian_bug_pkg(self, url, debian):
return url.absolute("https://bugs.debian.org/cgi-bin/pkgreport.cgi",
pkg=debian)
+ def url_source_code(self, url, package):
+ return url.absolute("https://sources.debian.net/src/%s/" % package)
def url_pts(self, url, package):
return url.absolute("https://packages.qa.debian.org/common/index.html",
src=package)
@@ -1379,6 +1383,11 @@
else:
return name
+ def make_source_code_ref(self, url, pkg, name=None):
+ if name is None:
+ name = pkg
+ return A(self.url_source_code(url, pkg), name)
+
def make_pts_ref(self, url, pkg, name=None):
if name is None:
name = pkg
More information about the Secure-testing-commits
mailing list