[arch-dev-public] Poor man's mirror redirector
Hi all, I wrote a simply redirector script for fun*. It uses geoip to redirect you to a random Arch mirror in your country; but only if that mirror has synced within the last 24h. It is located at https://downloads.archlinux.de/ So you can for example download an iso using this URL: https://downloads.archlinux.de/iso/2010.05/archlinux-2010.05-netinstall-i686... or simply redirect to a dir like https://downloads.archlinux.de/iso/ It's probably not that useful and don't even think about using that url in pacman. It will redirect you to a random mirror on every request no matter if that mirror is up or has this file. (also pacman doesn't seem to handle https; but once could use the curl xfer command (wget has poor https support too)) However, a possible usage might be to use this for simpler iso download. Greetings, Pierre *) https://git.archlinux.de/www.archlinux.de.git/tree/pages/GetFileFromMirror.p... -- Pierre Schmitz, https://users.archlinux.de/~pierre
It's probably not that useful and don't even think about using that url in pacman. It will redirect you to a random mirror on every request no matter if that mirror is up or has this file. (also pacman doesn't seem to handle https; but once could use the curl xfer command (wget has poor https support too))
You sure? I've been using native https for a few months now to get around a firewall that likes to eat packages for some reason. Dale
participants (2)
-
Dale Blount
-
Pierre Schmitz