• Improvement: Added -U / --url #105.
  • Improvement: Added -R/--re-branch #105.
  • Improvement: Added man page.

Breaking changes

  • -S/--set-branch $BRANCH requires branch as argument.
  • -u/--update renamed to -y/--sync.
  • NoUpdate configuration removed from pacman-mirrors.conf.
  • --no-update argument removed.
  • MirrorlistsDir = /etc/pacman.d/mirrors removed from pacman-mirrors.conf.
  • -o/--output argument removed.
  • OutputMirrorlist = /etc/pacman.d/mirrorlist removed from pacman-mirrors.conf
  • -d/--mirror_dir argument removed.

Other improvements and fixes:

  • Improvement: Do not write bad servers to the end of the mirrorlist.
  • Improvement: created argument groups for logic division of arguments usage.
  • Improvement: -G/--get-branch and -S/--set-branch mutually exclusive.
  • Improvement: -n/--no-mirrorlist and -y --sync mutually exclusive.
  • Improvement: added choices to -P/--proto [all, http, https, ftp, ftps].
  • Improvement: sorting mirrorlist by country during load of data file.
  • Fix: Bug where ssl-certificate errors would break execution.
  • Fix: Issue where values from configuration was not parsed correct.
  • Fix: Issue where location in config was not determined correctly.