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#63806 - [pacman-contrib] rankmirrors wrongly parses command line containing -m
Attached to Project:
Community Packages
Opened by Sebastian Jakubiak (jakseb) - Tuesday, 17 September 2019, 11:56 GMT
Last edited by Daniel M. Capella (polyzen) - Friday, 20 December 2019, 00:51 GMT
Opened by Sebastian Jakubiak (jakseb) - Tuesday, 17 September 2019, 11:56 GMT
Last edited by Daniel M. Capella (polyzen) - Friday, 20 December 2019, 00:51 GMT
|
DetailsDescription:
Specifying `-m` option in an invocation of rankmirror results in unexpected error messages. Additional info: * package version: pacman-contrib 1.1.0-1 Steps to reproduce: Preparation: $ url='http://ftp.vectranet.pl/archlinux/$repo/os/$arch' $ rankmirrors -u "$url" http://ftp.vectranet.pl/archlinux/$repo/os/$arch : 0,146896 Test: $ rankmirrors -m 0,001 -u "$url" 'http://ftp.vectranet.pl/archlinux/$repo/os/$arch' does not exist. On the other hand, the long option works fine, as well as putting `-m ...` at the end: $ rankmirrors -u "$url" -m 0,001 http://ftp.vectranet.pl/archlinux/$repo/os/$arch : timeout $ rankmirrors --max-time 0,001 -u "$url" http://ftp.vectranet.pl/archlinux/$repo/os/$arch : timeout |
This task depends upon
Closed by Daniel M. Capella (polyzen)
Friday, 20 December 2019, 00:51 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/pacman-contrib .git/commit/?id=d0264150a5d6a8e27d4a2093 ff7a3630f371869b
Friday, 20 December 2019, 00:51 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/pacman-contrib .git/commit/?id=d0264150a5d6a8e27d4a2093 ff7a3630f371869b
0001-rankmirrors-fix-parsing-...
https://git.archlinux.org/pacman-contrib.git/tree/doc/submitting-patches.txt