Permanent URL for the latest release ISO

If none of the more specific forums is the right place to ask

Permanent URL for the latest release ISO

Postby nick » 2020-10-17 13:03

Do we have a permanent URL for the latest release ISO?

The https://cdimage.debian.org/mirror/cdima ... 64/iso-cd/ release directory contains only the latest ISO, e.g. https://cdimage.debian.org/mirror/cdima ... etinst.iso. This ISO will be moved to the archive directory like https://cdimage.debian.org/mirror/cdima ... 64/iso-cd/ (10.5 instead of 10.6 because 10.6 archive directory doesn't exist yet) after the 10.7 release and will be removed from the https://cdimage.debian.org/mirror/cdima ... 64/iso-cd/ release directory.

The problem is that when I use the latest release ISO URL in my CI, it's broken with every Debian release (old debian-10.5.0-amd64-netinst.iso replaced with the new debian-10.6.0-amd64-netinst.iso) and I have to switch CI's URL to the next release URL. I wish to switch this URL only when I decided to switch to the new release but not forced to do so.

How about to put release ISO to the archive directory simultaneously with the release directory? Backward compatibility will be intact (extended) and my problem will be solved.

How to bring this idea to the release team?
nick
 
Posts: 3
Joined: 2020-10-17 12:20

Re: Permanent URL for the latest release ISO

Postby metreo » 2020-10-17 13:07

I would send a post on the IRC or mailing list.
User avatar
metreo
 
Posts: 20
Joined: 2020-10-08 19:15

Re: Permanent URL for the latest release ISO

Postby Head_on_a_Stick » 2020-10-17 13:17

Perhaps include some logic in your CI that will update to the next point release automatically if the old version is removed?
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12612
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Permanent URL for the latest release ISO

Postby nick » 2020-10-17 13:24

metreo wrote:I would send a post on the IRC or mailing list.

Good idea. Thank you! I've sent it to the debian-release mailing list.
nick
 
Posts: 3
Joined: 2020-10-17 12:20

Re: Permanent URL for the latest release ISO

Postby arzgi » 2020-10-17 15:42

Head_on_a_Stick wrote:Perhaps include some logic in your CI that will update to the next point release automatically if the old version is removed?
nick wrote:
metreo wrote:I would send a post on the IRC or mailing list.

Good idea. Thank you! I've sent it to the debian-release mailing list.


It's always some one other's fault :D
arzgi
 
Posts: 654
Joined: 2008-02-21 17:03
Location: Finland

Re: Permanent URL for the latest release ISO

Postby sgosnell » 2020-10-17 19:38

It is certainly one's fault here. We're all just Debian users, and have no more input into Debian than anyone else out on the street. This forum has no affiliation with Debian other than the name.
Take my advice, I'm not using it.
sgosnell
 
Posts: 838
Joined: 2011-03-14 01:49

Re: Permanent URL for the latest release ISO

Postby metreo » 2020-10-17 20:43

I think the issue here is indeterminism, it's not great have a generic pointer which leads to unspecified code on the other end.
User avatar
metreo
 
Posts: 20
Joined: 2020-10-08 19:15

Re: Permanent URL for the latest release ISO

Postby Bloom » 2020-10-17 22:27

You can determine the last version by using this Bash code:
Code: Select all
wget -qO - http://cdimage.debian.org/cdimage/release/current-live/amd64/iso-hybrid/MD5SUMS|grep "standard.iso"|cut -d " " -f 3


So to download the last version of Debian Stable Live Edition, do this:

Code: Select all
wget http://cdimage.debian.org/cdimage/release/current-live/amd64/iso-hybrid/$(wget -qO - http://cdimage.debian.org/cdimage/release/current-live/amd64/iso-hybrid/MD5SUMS|grep "standard.iso"|cut -d " " -f 3)
User avatar
Bloom
 
Posts: 297
Joined: 2017-11-11 12:23

Re: Permanent URL for the latest release ISO

Postby nick » 2020-10-18 12:12

Head_on_a_Stick wrote:Perhaps include some logic in your CI that will update to the next point release automatically if the old version is removed?

I thought about such a solution and will implement it if I won't find a better one.
nick
 
Posts: 3
Joined: 2020-10-17 12:20


Return to General Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable