[Git][security-tracker-team/security-tracker][master] 2 commits: Adapt URL to DLA advisories in a https://www.debian.org/security/lts/

Salvatore Bonaccorso carnil at debian.org
Tue Feb 12 21:04:55 GMT 2019


Salvatore Bonaccorso pushed to branch master at Debian Security Tracker / security-tracker


Commits:
cfccb4bb by Salvatore Bonaccorso at 2019-02-12T20:50:49Z
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é

- - - - -
ca3ad8b8 by Salvatore Bonaccorso at 2019-02-12T21:04:32Z
Merge branch 'fix-dla-webwml-source'

- - - - -


1 changed file:

- bin/tracker_service.py


Changes:

=====================================
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
 



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/compare/2dc8b90a0c57f928b53b5dfbb68116793a9702b4...ca3ad8b8c9ce44da27995e91afd8fd463d931144

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/compare/2dc8b90a0c57f928b53b5dfbb68116793a9702b4...ca3ad8b8c9ce44da27995e91afd8fd463d931144
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20190212/b4f162c1/attachment-0001.html>


More information about the debian-security-tracker-commits mailing list