bad order if ftp error ?
if we have one ftp error, all result list is not sorted ?
pacman-mirrors -c Bulgaria --api --protocol all
::INFO Querying mirrors - This may take some time
0.686 Bulgaria : https://mirrors.netix.net/manjaro/
1.078 Bulgaria : https://mirror.telepoint.bg/manjaro/
0.880 Bulgaria : http://mirror.telepoint.bg/manjaro/
..... Bulgaria : ftps://mirror.telepoint.bg/manjaro/
::ERROR unknown url type: ftps
0.003
1.016 Bulgaria : https://manjaro.ipacct.com/manjaro/
0.557 Bulgaria : http://manjaro.telecoms.bg/
::INFO Writing mirror list
::Bulgaria : https://mirror.telepoint.bg/manjaro/stable/$repo/$arch
::Bulgaria : http://manjaro.telecoms.bg/stable/$repo/$arch
::Bulgaria : https://mirrors.netix.net/manjaro/stable/$repo/$arch
::Bulgaria : https://manjaro.ipacct.com/manjaro/stable/$repo/$arch
first at 0.5576
is number 2
second at 0.686
is number 3
Edited by patrick