Merged requested to merge pserwylo/fdroidclient:fix-974--repo-priorities-and-suggested-vercode into master
This adds a test case and a bugfix for #974 (closed). That bug was due to the archive repository taking higher priority ,and thus the suggested version being selected from the archive repo, despite a higher version being available in the main repo. With this change, we take into account all apks from all repos when suggesting the best version.
Fixes #974 (closed).