From cfccb4bb04d4bc5129645fa48d17914d3fbf8936 Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Tue, 12 Feb 2019 08:10:16 +0100 Subject: Adapt URL to DLA advisories in a https://www.debian.org/security/lts/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As discussed in https://bugs.debian.org/859122 DLAs and DSAs will be separated in different supages. This needs adaption for the URL referenced in the source fields of the security-tracker for DLAs. v2: Correct URL to actually match the final location under /lts/security. Cf. https://bugs.debian.org/859122#82 Thanks: Laura Arjona Reina, Holger Levsen and Antoine Beaupré --- bin/tracker_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/tracker_service.py b/bin/tracker_service.py index 971f4b4e38..5b2ce6be1e 100755 --- a/bin/tracker_service.py +++ b/bin/tracker_service.py @@ -1574,7 +1574,7 @@ Debian bug number.'''), for (date,) in self.db.cursor().execute( "SELECT release_date FROM bugs WHERE name = ?", (dla,)): (y, m, d) = date.split('-') - return url.absolute("https://www.debian.org/security/%d/dla-%d" + return url.absolute("https://www.debian.org/lts/security/%d/dla-%d" % (int(y), int(number))) return None -- cgit v1.2.3