v.4.3

Merged Philip Müller requested to merge fhdk:master into master

Created by: fhdk

I have made the following changes mostly based on the feed back from the forum post.

https://forum.manjaro.org/t/change-to-pacman-mirrors-app/30751

The highlights are

  • deprecation of -g in favor of -f since -g and -f overlaps @jonathonf
  • deprecation of -y it does not belong in pacman-mirrors @rahtgaz

The was a majority of users who would like to be sure they were using an up-to-date mirror so when generating a mirror list - the users branch are used when selecting up-to-date mirrors. This works for both -f -g

The only place which has not changed is the interactive which as defined is created to give the user full control over the mirror file generation. The only thing not controlled here is the protocol selection which, if done, the user has specifically altered pacman-mirrors.conf.

I have ran all more than 100 tests and and would like you to preview the changes before building it for unstable branch. When looking at my branch it seems like the Travis build reveals no obvious mistakes.

Though it is not strictly necessary I have ensured all lines comply with PEP and the flake8 linter.

I have rearranged the files in module folders - I think it is a huge improvement to having it all in one folder.

There are some obvious points in the code I have added extended commenting simply because the understanding on the how and why is essential at those point - so please let the be for an eventual successor.

So please gentlemen - the hunt is hereby opened

Merge request reports