#3866 short redirect links to cloud images?
Closed: Fixed None Opened 10 years ago by mattdm.

The RDO people would like a short, permanent URL for the Fedora cloud image to put in documentation, and possibly to include in the software itself.

For F20 or beyond, I'd like to extend MirrorManager to support the permanent URLs. Matt Domsch suggests that this isn't completely trivial. So for now, I'd like to request some manually-created redirects:

http://cloud.fedoraproject.org/fedora-19.x86_64.qcow2 -> http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/19/Images/x86_64/Fedora-x86_64-19-20130627-sda.qcow2&redirect=1

and

http://cloud.fedoraproject.org/fedora-19.i386.qcow2 -> http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/19/Images/i386/Fedora-i386-19-20130627-sda.qcow2&redirect=1

(With probably also the corresponding s/qcow2/raw.xz/ links for completeness, although not strictly necessary for the request from RDO.)

Then, also,

http://cloud.fedoraproject.org/fedora-latest.x86_64.qcow2 -> fedora-19.x86_64.qcow2
http://cloud.fedoraproject.org/fedora-latest.i386.qcow2 -> fedora-19.i386.qcow2


As discussed on IRC, for the F20 time frame, I'd prefer this be done with a short url service (such as yourls) rather than adding a generic short URL feature to MirrorManager.

Replying to [comment:1 mdomsch]:

As discussed on IRC, for the F20 time frame, I'd prefer this be done with a short url service (such as yourls) rather than adding a generic short URL feature to MirrorManager.

That would work just fine for me. Also as mentioned on IRC, the use case is documentation, so "understandable" and "pretty" are more important than absolutely-short, although of course short is desirable (and avoiding line wrapping is important).

So, we already do have the download redirect:

http://download.fedoraproject.org/pub/fedora/linux/releases/19/Images/x86_64/Fedora-x86_64-19-20130627-sda.qcow2
http://download.fedoraproject.org/pub/fedora/linux/releases/19/Images/i386/Fedora-i386-19-20130627-sda.qcow2

I agree it's not super pretty, but it works.

If I point the cloud.fp.o ones you want to those would that get you what you need?

Replying to [comment:3 kevin]:

http://download.fedoraproject.org/pub/fedora/linux/releases/19/Images/x86_64/Fedora-x86_64-19-20130627-sda.qcow2
http://download.fedoraproject.org/pub/fedora/linux/releases/19/Images/i386/Fedora-i386-19-20130627-sda.qcow2
I agree it's not super pretty, but it works.
If I point the cloud.fp.o ones you want to those would that get you what you need?

If I understand you right, yes. That will give the "pretty" versions of the links. In the future, we can put a URL shortener of some sort underneath. (I ''do'' want the shorter URLs to use the different filename as given, because the real name is at least half of the ugliness.)

Works for me too. Thanks!

I have this commit all lined up. Will go live tomorrow before the website does. ;)

Thanks

This went live. Please let us know if you see any problems with it.

I have also updated our fedora-release SOP to add a note to always update this as part of our release prep process. ;)

These need to be updated for heartbleed update please. Both 19, 20, and of course "latest".

Links to location should be in

https://fedorahosted.org/fedora-websites/ticket/257

although the images haven't hit the mirrors yet.

I'm going to add "automate this" to the feature for updated images. :)

I updated the redirects for the F20 and latest URL in puppet. Will need another link change once the images hit the mirrors in fedora/linux/updates tomorrow.

Whats the status here? Is this done? Or waiting testing/QA to finish to complete?

The short links point to the mirrors since a few days, so that is done. We could add this feature to the [http://infrastructure.fedoraproject.org/infra/docs/fedorawebsites.txt websites SOP] to ensure we will always update these short links.

Sure, seems reasonable...

Added with rev. db6a1bb, so the websites team will take care of this for the next releases. Reopen if this is not enough 'automation' :)

Login to comment on this ticket.

Metadata