Re: Any way to add some redirects on cdimage.d.o?
Roland Clobus <[email protected]> Tue, 10 Jun 2025 12:35:49 +0200
| Newsgroups | gmane.linux.debian.devel.cd |
|---|---|
| Message-ID | <[email protected]> |
Hello Steve, Mattias, On 10/06/2025 11:26, Mattias Wadenstein wrote: > Hey, sorry for the late answer, been very busy days. We're good with > running apache rewrite rules that can do redirects, but I don't think > I'm going to get hours to do make good rules before the fall due to VAC. Let me try to help and provide some URLs that are currently in use: Upstream osinfo-db [1] points towards: https://cdimage.debian.org/cdimage/release/12.11.0/amd64/iso-cd/debian-12.11.0-amd64-netinst.iso And the current Debian package [2] points towards: https://cdimage.debian.org/cdimage/release/12.9.0/amd64/iso-cd/debian-12.9.0-amd64-netinst.iso In addition to the version numbers, there is also a variant for architecture (amd64, i386, arm64, armhf, ppc64el, s390x) and medium (dvd-1 vs netinst) The cloud team already uses a more generic URL: https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2 So can the stable become like (removing all duplicates in the paths, and keeping a much as possible in the filename): https://cdimage.debian.org/cdimage/release/debian-12-amd64-netinst.iso In pseudo-Apache2 syntax (unverified): ``` RedirectMatch 302 /cdimage/release/debian-12-(.+)-netinst.iso /cdimage/release/12.11.0/\1/iso-cd/debian-12.11.0-\1-netinst.iso RedirectMatch 302 /cdimage/release/debian-12-(.+)-DVD-1.iso /cdimage/release/12.11.0/\1/iso-dvd/debian-12.11.0-\1-DVD-1.iso ``` This still needs to be updated for every point release, but at least the end users will be able to download the most recent released ISO images and we don't need to have updated osinfo-db packages. With kind regards, Roland Clobus [1] https://gitlab.com/libosinfo/osinfo-db -> data/os/debian.org/debian-12.xml.in [2] https://sources.debian.org/src/osinfo-db/0.20250124-1/
OpenPGP_signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEUFVLM5Bdj7GSJEb+YsV8aqYUlb0FAmhICoUACgkQYsV8aqYU lb3/xA//cso+Wwex400eG6fxX3qnBqEm8WvT/OxCWTPI/AypzmMGrLZ6/3gFrIbK pPuio3oSgg8voTLcObkjjWjwTHUHA0hL1CIIQlWz9B70IC3N6cWX74AQZ6gm71dQ 3yIms1fi4/+xBxaabR3AUVfb85KlGKg4SS2vvuS82/xbusHim6pCJpiJStcJmAJf 8RyOR+8YgcVlmSXjICeei24GGFOHHpbGWvUU4qpl5nq9pnr1F0j1lLre1Mm2iZqd zHRmSxNuhtxu2HXSfixFy7z76ZAZZtyeZKxSyIBN8kRhiKZYr3WPopNN+vriCU2I 76hGkz49l9DthCxmb/ZCvfjvF47dNltrrVHxf+tPyXqZX4UeeYzwJRzOQ9yOaUcg 1rxuR9djGfrPnVCG/dCeD8PnkjVqEAmwMfs8dQ1JXny6OkL5q5q1YkLDxz1Mx4mt s0c09ui1RlePkCu+4URTSMI9hpHFJFy9YI/d/D1e0SnPgHqsoPaeK1ZyDTpE6HJp wEDL+Krs9q2PUEVAQ4tTDBY8HzvDKftKeMr2+KglGacKRHJ33Qf7QnreUmKEt3FD rNCC8TmlJRT2VFpP1LRDHanLnR3GotDnn0V2nU5UqZrPRNPDXSpu9OEQQ4WF122a syD0xSyP1FmZDOmiJvoqCV5RjYm+73WK5RwiVk/n7lJiAR58NNc= =eoDT -----END PGP SIGNATURE-----