Re: Bug#859122: about 500 DLAs missing from the website
- To: Laura Arjona Reina <larjona@debian.org>
- Cc: Holger Levsen <holger@layer-acht.org>, 859122@bugs.debian.org, Antoine Beaupré <anarcat@orangeseeds.org>, debian-lts@lists.debian.org, Debian Security Team <team@security.debian.org>
- Subject: Re: Bug#859122: about 500 DLAs missing from the website
- From: Salvatore Bonaccorso <carnil@debian.org>
- Date: Tue, 12 Feb 2019 08:13:18 +0100
- Message-id: <[🔎] 20190212071318.eqttfdjddtqgaoa6@lorien.valinor.li>
- Mail-followup-to: Laura Arjona Reina <larjona@debian.org>, Holger Levsen <holger@layer-acht.org>, 859122@bugs.debian.org, Antoine Beaupré <anarcat@orangeseeds.org>, debian-lts@lists.debian.org, Debian Security Team <team@security.debian.org>
- In-reply-to: <[🔎] 2a3e6bef-205e-50f2-cec9-e18fc5ae931a@debian.org>
- References: <20181219144402.qzfm5dopbc67gaqy@layer-acht.org> <875zvpwov0.fsf@curie.anarc.at> <20181219145829.prw3tamwwffht7tl@layer-acht.org> <8736qtwlax.fsf@curie.anarc.at> <87tvj9ungf.fsf@angela.anarc.at> <[🔎] 87o97v2vt1.fsf@curie.anarc.at> <[🔎] 20190203130806.GA5784@eldamar.local> <149088372568.22144.197345294156985604.reportbug@curie.anarc.at> <[🔎] 20190208145204.bpte4lv6jdsemhwn@layer-acht.org> <[🔎] 2a3e6bef-205e-50f2-cec9-e18fc5ae931a@debian.org>
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 <carnil@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
Reply to: