Hi, On Sat, Feb 09, 2019 at 03:55:44AM +0100, Laura Arjona Reina wrote: > * We still need the Apache redirects, so the people that try the old > URLs (wether directly because they knew, or via the security tracker), > find the files they need. What we need to do is send a patch to > > https://salsa.debian.org/dsa-team/mirror/dsa-puppet/blob/master/modules/roles/templates/apache-www.debian.org.erb > > that sets the redirect from > https://www.debian.org/security/any_year/dla-whatever to > https://www.debian.org/security/lts/any_year/dla-whatever > > * Adaptation in the security tracker so the new URL paths are used from > now on is also needed.
I have the attached patch commited in a local branch, but want first to confirm is this the final intended URL to reach the DLAs? Regards, Salvatore
>From ceda9e3d1fc38f505462bce8c0aa4cdd2b165d87 Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso <car...@debian.org> Date: Tue, 12 Feb 2019 08:10:16 +0100 Subject: [PATCH] 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. Thanks: Laura Arjona Reina, Holger Levsen and Antoine Beaupré --- bin/tracker_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tracker_service.py b/bin/tracker_service.py index 971f4b4e38eb..a2ea755d8f39 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/security/lts/%d/dla-%d" % (int(y), int(number))) return None -- 2.20.1