Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31303 - Aliases for getting an updated mirror list (with example)
Attached to Project:
Arch Linux
Opened by Andrew (DSpider) - Monday, 27 August 2012, 10:12 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 01 September 2012, 15:05 GMT
Opened by Andrew (DSpider) - Monday, 27 August 2012, 10:12 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 01 September 2012, 15:05 GMT
|
DetailsDescription:
I'd like to request that these aliases (or some form of them) are added in /etc/bash.bashrc on the next release. Maybe renamed something that matches the "genfstab" command? Something like "genmirror", "genmirrorlist". HTTP was filtered from the Mirrorlist Generator (http://www.archlinux.org/mirrorlist/). See the tip from here on why HTTP: https://wiki.archlinux.org/index.php/Beginners%27_Guide#Select_installation_mirror Aliases: mirror() { curl "http://www.archlinux.org/mirrorlist/?country=$1&protocol=http" > /etc/pacman.d/mirrorlist nano /etc/pacman.d/mirrorlist } mirrorspeed() { curl "http://www.archlinux.org/mirrorlist/?country=$1&protocol=http&use_mirror_status=on" > /etc/pacman.d/mirrorlist nano /etc/pacman.d/mirrorlist } Usage: # mirror FR # mirrorspeed IT Observation: The country need to be capitalized, and the user needs to uncomment one (or several) mirrors. Thank you. |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Saturday, 01 September 2012, 15:05 GMT
Reason for closing: Deferred
Additional comments about closing: Discussion and/or patches can go to http://mailman.archlinux.org/mailman/lis tinfo/arch-releng
Saturday, 01 September 2012, 15:05 GMT
Reason for closing: Deferred
Additional comments about closing: Discussion and/or patches can go to http://mailman.archlinux.org/mailman/lis tinfo/arch-releng
And technically speaking, they're functions, not aliases.