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 | e49da1d84f5663407c1db499ba85ffcc0f11fed2 (patch) | |
tree | 80831998c863bb7da3528cb3e3eae0c741077a78 /bin/tracker_service.py | |
parent | 2cd2fbc092860dbc82def47b8da2b117a9fd97de (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/tracker_service.py')
-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 |