FS#20431 - [pacman-mirrorlist] Split pacman mirrorlist to two files
Attached to Project:
Arch Linux
Opened by Tomas Mudrunka (harvie) - Tuesday, 10 August 2010, 18:55 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 10 August 2010, 21:03 GMT
Opened by Tomas Mudrunka (harvie) - Tuesday, 10 August 2010, 18:55 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 10 August 2010, 21:03 GMT
|
Details
Summary and Info: I think that there should be two
mirrorlist files. One with mirrors specified by admin
(mirrorlist.custom) and one original from distribution
(which is currently moved to mirrorlist.pacnew). Maybe that
one mirror can be uncommented in this file as fallback.
Using those two files will be nicer than using mirrorlist
and mirrorlist.pacnew.
pacman.conf snippet: #[testing] ## Add your preferred servers here, they will be used first #Include = /etc/pacman.d/mirrorlist.custom #Include = /etc/pacman.d/mirrorlist [core] # Add your preferred servers here, they will be used first Include = /etc/pacman.d/mirrorlist.custom Include = /etc/pacman.d/mirrorlist [extra] # Add your preferred servers here, they will be used first Include = /etc/pacman.d/mirrorlist.custom Include = /etc/pacman.d/mirrorlist #[community-testing] ## Add your preferred servers here, they will be used first #Include = /etc/pacman.d/mirrorlist.custom #Include = /etc/pacman.d/mirrorlist [community] ## Add your preferred servers here, they will be used first #Include = /etc/pacman.d/mirrorlist.custom #Include = /etc/pacman.d/mirrorlist |
This task depends upon
Closed by Dan McGee (toofishes)
Tuesday, 10 August 2010, 21:03 GMT
Reason for closing: Won't implement
Additional comments about closing: We aren't in the business of changing what works and this is easy to do as a per-system policy.
Tuesday, 10 August 2010, 21:03 GMT
Reason for closing: Won't implement
Additional comments about closing: We aren't in the business of changing what works and this is easy to do as a per-system policy.
cat mirrorlist | sed -e 's/^#//g' | rankmirrors - | head -n3 > mirrorlist.custom
cat mirrorlist.pacnew | sed -e 's/^#//g' | rankmirrors - | head -n3 > mirrorlist
This whole idea seems silly to me. Either add it to NoUpgrade, or implement this exact same thing yourself, on your local system, without needing a change to the package at all.
Include = /etc/pacman.d/mirrorlist.custom