debiman icon indicating copy to clipboard operation
debiman copied to clipboard

Add oldstable/oldoldstable/oldoldoldstable redirects

Open pabs3 opened this issue 4 years ago • 6 comments

It appears that bullseye is mapped to all of oldstable/oldoldstable/oldoldoldstable, but these should be buster, stretch and jessie. However, codenames are supported and working all the way back to wheezy.

pabs3 avatar Aug 20 '21 00:08 pabs3

Can you add what made you come to that conclusion? A link which redirects or something else?

stapelberg avatar Aug 20 '21 06:08 stapelberg

Take any manual page URL, replace the suite/codename with one of the oldstable oldoldstable oldoldoldstable suites and you get a redirect that lands on the bullseye codename.

-- bye, pabs

https://bonedaddy.net/pabs3/

pabs3 avatar Aug 20 '21 06:08 pabs3

I cannot reproduce this.

Take any manual page URL,

Taking https://manpages.debian.org/bullseye/i3-wm/i3.1.en.html for example

replace the suite/codename with one of the oldstable oldoldstable oldoldoldstable suites and you get a redirect that lands on the bullseye codename.

oldstable is buster, oldoldstable is stretch.

% curl -v -o /dev/null -L https://manpages.debian.org/buster/i3-wm/i3.1.en.html shows no redirect and serves the buster (oldstable) version of the page.

% curl -v -o /dev/null -L https://manpages.debian.org/stretch/i3-wm/i3.1.en.html shows no redirect and serves the stretch (oldoldstable) version of the page.

If I use a non-existant suite (perhaps you tried older versions? manpages.d.o currently goes back as far as wheezy only), I see a redirect, which defaults to bullseye (current stable) when it can’t find a page:

% curl -v -o /dev/null -L https://manpages.debian.org/nonexistant/i3-wm/i3.1.en.html

stapelberg avatar Aug 22 '21 09:08 stapelberg

Correct:

https://manpages.debian.org/stable/i3-wm/i3.1.en.html -> https://manpages.debian.org/bullseye/i3-wm/i3.1.en.html

Incorrect:

https://manpages.debian.org/oldstable/i3-wm/i3.1.en.html -> https://manpages.debian.org/bullseye/i3-wm/i3.1.en.html

https://manpages.debian.org/oldoldstable/i3-wm/i3.1.en.html -> https://manpages.debian.org/bullseye/i3-wm/i3.1.en.html

https://manpages.debian.org/oldoldoldstable/i3-wm/i3.1.en.html -> https://manpages.debian.org/bullseye/i3-wm/i3.1.en.html

-- bye, pabs

https://bonedaddy.net/pabs3/

pabs3 avatar Aug 22 '21 13:08 pabs3

I have renamed the issue accordingly. These names (oldstable etc.) just don’t have any meaning currently, i.e. no redirects are in place.

stapelberg avatar Aug 24 '21 07:08 stapelberg

Ah, that makes more sense now, I guess that is why non-supported suites have the same behaviour.

pabs3 avatar Aug 26 '21 06:08 pabs3