RPM

Comment 28 for bug 913235

Revision history for this message
In , Neal Gompa (ngompa13) wrote :

We also probably want to have an automatic redirector like Fedora's download.fedoraproject.org site, which automatically redirects to the best mirror that can provide a given directory/file.

For example: https://download.fedoraproject.org/pub/fedora/linux/releases/23/Workstation/x86_64/iso/Fedora-Workstation-netinst-x86_64-23.iso

The above link will redirect to any one of Fedora's 400+ mirrors that offer ISOs that provides a high quality connection to me (low latency and high throughput). In my case, it automatically redirected me to: http://mirror.chpc.utah.edu/pub/fedora/linux/releases/23/Workstation/x86_64/iso/Fedora-Workstation-netinst-x86_64-23.iso

This redirector applies to anything replicated out to mirrors, and can be used to offer an automatic mirror director in a way that is transparent to the tool. This can be used as the repo URL in urpmi, for instance.

For example, https://download.mageia.org/mageia/distrib/cauldron/x86_64/ could be in /etc/urpmi/mediacfg.d/Devel-6-x86_64/url, which would automatically redirect to the correct mirror. In my case, that is http://mirrors.kernel.org/mageia/distrib/cauldron/x86_64/. From there, urpmi should work as intended.