All notable changes to this project will be documented in this file.
- Added : Implemented issue #128
- Description :
-s/--no-status
Allow mirror list with not up-to-date mirrors
- Fixed : #130 Mirror list generation could result in weird destinations if user selected multiple protocols from same mirror.
- Added :
-lc/--country-config
(Pamac #366)
- Fix: Github #123.
- Trying to squash a bug with help from community. Github #123.
- The issue was hard to pin down, but with the help of a fantastiq community it has been done.
- Remove :
--branch
- temporary branch change removed System Maintenance Forum Post - Change :
--get-branch
not dependent on api #124 and #125 - Check :
--api
is present with api args -> args error -> exit(1) - Check :
--interactive
is present with--default
-> args error -> exit(1) - Added : translation texts for args error
- Updated: changelog, translations, documentation and tests
- Updated docs
- Updated translations
- Refactor to handle x32 correct so pool is not empty
- Fix for uncaught IndexError when mirror pool is empty Forum post
- Added the missed the x32-branches Forum post
- Added sanity check to config entries Forum post
- Wayland check - disable gtk on wayland compositor #115
- Added catch for generic network errors not otherwise caught #119
- Pulled translations
- Support for x32 branches - transparent change to x32
- Check if architecture is i686 and change branch to x32-$branch
- b/--branch and -a/--api -S/--set-branch
- no need to prepend when calling branch changing functions
- Improvement: support for x32 branches #114
- Release bump to 4.6 Error with version display 4.5b1
- Fix: Custom mirror pool was not reset when supplying new countries on CLI.
- Documentation: Added file overview to documentation and man page.
- Discussion on a pamac incompatibility pamac issue 366 and how to solve it properly.
After releasing 4.4 a couple of small trivial issues surfaced.
- Fix: Network check was handled poorly in corner cases.
- Fix: Reset of a custom mirror pool failed in corner cases.
- Fix: Country list was not complete.
- Change: OnlyCountry removed from configuration to avoid confusion.
- Added: Check for custom mirror pool by checking and validating custom-mirrors.json.
- Improvement:
-f/--fasttrack
honor-c COUNTRY,COUNTRY,COUNTRY
- Change:
-c/--country
countries supplied will be written tocustom-mirrors.json
, overwriting exiting file.
- Fix: typo in documentation
- Fix:
-h/--help
added deprecation messages - Improvement: Api
--get-branch
removed root requirement - Deprecation:
-y
and-g
is deprecated and use is discouraged - Improvement: General mirrorlist uses only up-to-date mirrors on users branch
- Improvement: Fasttrack mirrorlist uses only up-to-date mirrors on users branch
- Improvement: Filter generated mirrorlist based on branch and sync status
- Update translations.
- Fix: Missing txt 'OPT_COUNTRY'
- Ensure correct exit code (0) on
api --get-branch
- 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 correct.
- Improvement: Removed
--no-mirrorlist
dependency on API. - Fix: Behavior of
--no-mirrorlist
. Download updated mirror files before exit.
- Fix: comparison of mirrorfiles fixed
- Fix: ranking breaks when
--interactive
is used with--default
#98
- Added
-u
/--update
option- Run
pacman -Syy
after mirrorlist generation
- Run
- Modified network check so a single site failure is not considered network failure.
- Added protocol option to api.
- Possible to control protocols from CLI
/var/lib/pacman-mirrors/mirrors.json
is causing confusion so it has been removed.- Only one fallback is needed
/usr/share/pacman-mirrors/mirrors.json
. - If a new
mirrors.json
is available - existing will be updated by pacman-mirrors.
- Only one fallback is needed
- Improvement on default mirrorlist.
- mirror protocols are reverse sorted (https,http,ftps,ftp).
- if several protocols exist only the first is written to mirrorlist. Thus ssl enabled protocols get priority.
- Improvement on mirror protocol selection #90.
- If a mirror offers more than one protocol - only the first is written to the mirrorlist.
- Added
# Protocols =
to pacman-mirrors.conf. - Defined protocols are honored in the order in which they appear.
- Improvement on
--interactive
: select mirrors by protocol. - Added a simple API #81.
- Update translations.
- Code optimizing.
- Added to config
# SSLVerify = True
. - Refactored mirrorcheck to ignore a mirrors certificate error if
SSLVerify = False
. - Refactored mirrorcheck for https-mirrors timing out during ssl-handshake.
- Update docs.
- Fix issue with UnicodeEncodeError in interactive mode
- Fix issue with
--fasttrack
andOnlyCountry = Custom
. - Update translations.
- Update docs.
- Fix issue with chroot mirrorlist generation
- GUI: Add sorting functionality.
- Add: --default argument
- Fix issue with OnlyCountry unexpected reset
- Fix issue with not only displaying selected mirrors.
- Fix connectivity check.
- Update translations.
- Add: -l/--list Print available mirror countries
- Add: Network check; do not run rank if no internet.
- Add: -f/--fasttrack [n] argument.
- Modified GUI and TUI to reflect rank/random method.
- Colorized console output by message type.
- Internal rewrite to use json files from repo.manjaro.org.
- The
/etc/pacman.d/mirrors
dir has been removed.- All data files now exist in
/var/lib/pacman-mirrors
. - If the
Custom
mirrorfile exist it will convert tocustom-mirrors.json
- All data files now exist in
- A lot of inevitable small fixes.
- Fix issue with multiple country select.
- Bug fixes.
- Fix save of config file.
- Update translations.
- Add TUI interface.
- Bug fixes.
- Update translations.
- Replace --verbose option by --quiet.
- New documentation.
- Translation review.
- Check DISPLAY when using interactive mode.
- Better structure for the GUI.
- Refactoring.
- New GUI.
- Code improvements.
- --verbose option.
- Add translation support.
- Better error messages.
- --no-update option, to prevent updates when upgrading the package.
- Big refractor of code.
- Configuration file /etc/pacman-mirrors.conf is optional.
- Pep8 all the code in pacman_mirrors.py
- Reestructure the project.
- The Custom country created with interactive mode is now stored in /var/lib/pacman-mirrors/
- If a Custom country is found in /etc/pacman.d/mirrors/ its moved automatically to the new directory.