diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2019-02-12 08:10:16 +0100 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2019-02-12 21:50:49 +0100 |
commit | cfccb4bb04d4bc5129645fa48d17914d3fbf8936 (patch) | |
tree | 077b6d17209637f47c78cd0f607951d5f7ee1bd9 /bin | |
parent | 82785c63373303cc433310f6cd7082ac3f8a64b0 (diff) |
Adapt URL to DLA advisories in a https://www.debian.org/security/lts/
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é
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/tracker_service.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |