FS#23896 - [pacman-mirrorlist] dynamic mirrorlists

Attached to Project: Arch Linux
Opened by Frank Phillips (fphillips) - Saturday, 23 April 2011, 04:41 GMT
Last edited by Allan McRae (Allan) - Friday, 16 November 2012, 11:38 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

We have all been bitten by updating with an out-of-date mirror before.

In addition to distributing a mirrorlist, distribute a countrylist and a cronjob that, when enabled, uses the mirrorlist generator ( http://www.archlinux.org/mirrorlist/ ) to update a score-ordered mirrorlist weekly.

Existing users that wish to use a static mirrorlist would still get updates in the form of mirrorlist.pacnew.

To enable, the user would uncomment one or more countries in /etc/pacman.d/mirrorlist.country
and mv /etc/pacman.d/updatemirrors /etc/cron.weekly (depends on what cron daemon is used).


Dependencies: bash sed grep wget
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 16 November 2012, 11:38 GMT
Reason for closing:  Won't implement
Additional comments about closing:  not an Arch like thing to do...
Comment by Brendan (watricky) - Friday, 02 March 2012, 06:24 GMT
This feature request is perhaps semi-redundant with reflector. See https://wiki.archlinux.org/index.php/Reflector
`reflector --help` shows that it supports specifying a country

Adding this as part of pacman-mirrorlist would add extra dependencies and otherwise unnecessary complexity.

Perhaps Xyne would be happy to include such a cron script with reflector instead? Or perhaps we could make a new package which provides pacman-mirrorlist which depends on reflector?

Loading...