Skip to content
Snippets Groups Projects
CHANGELOG.md 13.3 KiB
Newer Older
Hugo Posnic's avatar
Hugo Posnic committed
# Change Log
All notable changes to this project will be documented in this file.

Frede H's avatar
Frede H committed
## [4.17.1] 2020-09-29
Frede H's avatar
Frede H committed
* fix --interactive on arm - sway edition

Frede H's avatar
Frede H committed
## [4.16.3] 2020-03-03
* Fix typo

## [4.16.3] 2020-03-02
* Added **stable-staging** to the end of the branch list.

## [4.16.2] 2019-12-12
* Fixed missing reset of custom mirror pool when using `--continent` and `--geoip`

Frede H's avatar
Frede H committed
## [4.16] 2019-12-10
* Added `--continent` argument [#149](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/149)
* Added `--status` argument [#151](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/151)

## [4.15.1] 2019-10-22
* Fix bug in return value for `--geoip` argument
* Removed debug messages

Frede H's avatar
Frede H committed
## [4.15] 2019-10-19
* Refactor internal mirrorpool building - excluding mirros which are unresponsive or not up-to-date
Frede H's avatar
Frede H committed
* Experimental argument `--use-async`
Frede H's avatar
Frede H committed
  - @ZenTauro code added for [#144](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/144)
  - Overall functionality works - needs field testing.
  - Disclaimer before run.
Frede H's avatar
Frede H committed
## [4.14.99.dev] 2019-04-25
Frede H's avatar
Frede H committed
* Implemented [#146](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/146)
Frede H's avatar
Frede H committed
  - Added `--interval`. Works only with `--no-status` filtering mirrors based on last sync time.
* Fixed [#145](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/145)

## [4.14.2] 2019-04-22
* pulled transifex translation
* updated documentation (man page)

Frede H's avatar
Frede H committed
## [4.14.1] 2019-01-03
* new geo location service

Frede H's avatar
Frede H committed
## [4.14.0] 2018-10-29
* refactor geo location query to use geoip.kde.org

## [4.13.0] 2018-10-28
* Implemented [#143](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/143)
  - Added `--no-color` argument for Pamac v7.2 logging.
  - Pulled translations
Frede H's avatar
Frede H committed
  - Fixed doubled messages when using `-f` argument
Frede H's avatar
Frede H committed
## [4.12.5] 2018-08-06
* fix issue with console ui

## [4.12.4] 2018-08-06
* rebuild - removed debug code

## [4.12.3] 2018-08-06
Frede H's avatar
Frede H committed
* changed test file to `core.db.tar.gz` - added option to `pacman-mirrors.conf`
Frede H's avatar
Frede H committed
## [4.12.2] 2018-08-02
Frede H's avatar
Frede H committed
* fix sorting based on resp_time (lexicographic -> numbers)
Frede H's avatar
Frede H committed

## [4.12.1] 2018-08-01
* refactor mirror probe to get more realistic response times.
* setting http User-Agent to Pacman-Mirrors/{version}
## [4.11.5] 2018-07-24
* Fix for [#140](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/140)
* Fix issue for when user had configured protocol limitations - servers with invalid certificates was still written to the mirrorlist.

Frede H's avatar
Frede H committed
## [4.11.4] 2018-07-23
* Fix for [#139](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/139)
Frede H's avatar
Frede H committed
* Fixed interactive mirrorlist still containing https on invalid certificate
## [4.11.3] 2018-07-22
* Fix for [#138](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/138)
* Mirrors offering both https and http - with expired/invalid certifcate was written to mirrorlist with https protocol instead of http.
* Pulled translation from Transifex
## [4.11.2]
* Final build with fix for [#136](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/136)
* The change of call to gettext in the i18n module to return unicode messages fixed the issue.

## [4.11.1dev]
* Attempt to fix [#136](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/136)
* The issue manifests when the translation makes use of unicode chars (Hungarian) maybe others
* The call to gettext in the i18n module has been changed to return unicode messages.

## [4.11.0] 2018-06-22
* Added       : Implemented issue [#135](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/135)
* Description : A non-reponsive mirror is eliminated from the mirrorlist
*             : If a mirror is blacklisted in the systems hosts file the mirror becomes unresponsive

Frede H's avatar
Frede H committed
## [4.10.1] 2018-04-01
Frede H's avatar
Frede H committed
* Added       : Implemented issue [#128](https://github.com/manjaro/pacman-mirrors/issues/128)
* Description : `-s/--no-status` Allow mirror list with not up-to-date mirrors
Frede H's avatar
Frede H committed

Frede H's avatar
Frede H committed
## [4.9.1] 2018-03-23
* Fixed  : [#130](https://github.com/manjaro/pacman-mirrors/issues/130) Mirror list generation could result in weird destinations if user selected multiple protocols from same mirror.

Frede H's avatar
Frede H committed
## [4.9.0] 2018-03-23
* Added  : `-lc/--country-config` (Pamac [#366](https://github.com/manjaro/pamac/issues/366))

## [4.8.2] 2018-03-19
* Fix: Github [#123](https://github.com/manjaro/pacman-mirrors/issues/123).

Frede H's avatar
Frede H committed
## [4.8.1] 2018-03-19
* Trying to squash a bug with help from community. Github [#123](https://github.com/manjaro/pacman-mirrors/issues/123).
* The issue was hard to pin down, but with the help of a fantastiq community it has been done.
Frede H's avatar
Frede H committed

Frede H's avatar
Frede H committed
## [4.8.0] 2018-03-19
* Remove : `--branch` - temporary branch change removed [System Maintenance](https://wiki.manjaro.org/System_Maintenance) [Forum Post](https://forum.manjaro.org/t/wiki-pacman-mirrors-pacman-4-7-6-recommendations-for-maintenance-and-installation/41991/16)
* Change : `--get-branch` not dependent on api [#124](https://github.com/manjaro/pacman-mirrors/issues/124) and [#125](https://github.com/pacman-mirrors/issues/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

Frede H's avatar
Frede H committed
## [4.7.6] 2018-03-08
* Updated docs
* Updated translations

Frede H's avatar
Frede H committed
## [4.7.5] 2018-02-14
Frede H's avatar
Frede H committed
* Refactor to handle x32 correct so pool is not empty
Frede H's avatar
Frede H committed

## [4.7.4] 2018-02-13
* Fix for uncaught IndexError when mirror pool is empty [Forum post](https://forum.manjaro.org/t/pacman-mirrors-4-7-3-1-problems/40319/4)

Frede H's avatar
Frede H committed
## [4.7.3] 2018-02-11
* Added the missed the x32-branches [Forum post](https://forum.manjaro.org/t/pacman-mirrors-4-7-2-config-file-sanity-check-and-fix-of-my-staring-blind/40171/9)

Frede H's avatar
Frede H committed
## [4.7.2] 2018-02-10
* Added sanity check to config entries [Forum post](https://forum.manjaro.org/t/solved-struggling-to-change-permanently-from-stable-to-testing/40128)

Frede H's avatar
Frede H committed
## [4.7.1] 2018-01-28
* Wayland check - disable gtk on wayland compositor [#115](https://github.com/manjaro/pacman-mirrors/issues/115)
* Added catch for generic network errors not otherwise caught [#119](https://github.com/manjaro/pacman-mirrors/issues/119)
* Pulled translations

Frede H's avatar
Frede H committed
## [4.7.0] 2017-12-08
* 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
Frede H's avatar
Frede H committed
    - no need to prepend when calling branch changing functions
Frede H's avatar
Frede H committed

## [4.6.9] 2017-12-06
* **Improvement**: support for x32 branches [#114](https://github.com/manjaro/pacman-mirrors/issues/114)

## [4.6] 2017-11-19
* **Release bump to 4.6** Error with version display 4.5b1

Frede H's avatar
Frede H committed
## [4.5.0] 2017-11-16
Frede H's avatar
Frede H committed
* **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](https://github.com/manjaro/pamac/issues/366) and how to solve it properly.
Frede H's avatar
Frede H committed

Frede H's avatar
Frede H committed
## [4.5b1] 2017-11-09
Frede H's avatar
Frede H committed
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.
Frede H's avatar
Frede H committed
* **Fix**: Country list was not complete.
* **Change**: OnlyCountry removed from configuration to avoid confusion.
Frede H's avatar
Frede H committed
* **Added**: Check for custom mirror pool by checking and validating custom-mirrors.json.
Frede H's avatar
Frede H committed

Frede H's avatar
Frede H committed
## [4.4] 2017-11-07
Frede H's avatar
Frede H committed
* **Improvement**: `-f/--fasttrack` honor `-c COUNTRY,COUNTRY,COUNTRY`
* **Change**: `-c/--country` countries supplied will be written to `custom-mirrors.json`, overwriting exiting file.
Frede H's avatar
Frede H committed

Frede H's avatar
Frede H committed
## [4.3.1] 2017-11-07
* **Fix**: typo in documentation

Philip Müller's avatar
Philip Müller committed
## [4.3.0] 2017-10-28
Frede H's avatar
Frede H committed
- **Fix**: `-h/--help` added deprecation messages
Frede H's avatar
Frede H committed
- **Improvement**: Api `--get-branch` removed root requirement
Frede H's avatar
Frede H committed
- **Deprecation**: `-y` and `-g` is deprecated and use is discouraged
Frede H's avatar
Frede H committed
- **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
Hugo Posnic's avatar
Hugo Posnic committed
- Update translations.
Frede H's avatar
Frede H committed
## [4.2.2]
- **Fix**: Missing txt 'OPT_COUNTRY'

## [4.2.1] 2017-08-16
Frede H's avatar
Frede H committed
- Ensure correct exit code (0) on `api --get-branch`
## [4.2.0] 2017-06-14
Frede H's avatar
Frede H committed
- **Improvement**: Added `-U` / `--url` [#105](https://github.com/manjaro/pacman-mirrors/issues/105).
- **Improvement**: Added `-R`/`--re-branch` [#105](https://github.com/manjaro/pacman-mirrors/issues/105).
Frede H's avatar
Frede H committed
- **Improvement**: Added man page.
Frede H's avatar
Frede H committed
**Breaking changes**
Frede H's avatar
Frede H committed
- `-S`/`--set-branch $BRANCH` requires branch as argument.
Frede H's avatar
Frede H committed
- `-u`/`--update` renamed to `-y`/`--sync`.
Frede H's avatar
Frede H committed
- `NoUpdate` configuration removed from pacman-mirrors.conf.
Frede H's avatar
Frede H committed
- `--no-update` argument removed.
Frede H's avatar
Frede H committed
- `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.
Frede H's avatar
Frede H committed
**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.
Frede H's avatar
Frede H committed
- **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.
Frede H's avatar
Frede H committed
- **Fix**: Issue where location in config was not determined correct.
Frede H's avatar
Frede H committed

Frede H's avatar
Frede H committed
## [4.1.4] 2017-05-16
Frede H's avatar
Frede H committed
- Improvement: Removed `--no-mirrorlist` dependency on API.
- Fix: Behavior of `--no-mirrorlist`. Download updated mirror files before exit.
Frede H's avatar
Frede H committed

Frede H's avatar
Frede H committed
## [4.1.3] 2017-05-15
Frede H's avatar
Frede H committed
- Fix: comparison of mirrorfiles fixed

Frede H's avatar
Frede H committed
## [4.1.2] 2017-05-15
Frede H's avatar
Frede H committed
- Fix: ranking breaks when `--interactive` is used with `--default` [#98](https://github.com/manjaro/pacman-mirrors/issues/98)
Frede H's avatar
Frede H committed

Frede H's avatar
Frede H committed
## [4.1.1] 2017-05-01
Frede H's avatar
Frede H committed
- Added `-u` / `--update` option
  * Run `pacman -Syy` after mirrorlist generation
Frede H's avatar
Frede H committed
- Modified network check so a single site failure is not considered network failure.
Frede H's avatar
Frede H committed

## [4.1.0] 2017-05-01
Frede H's avatar
Frede H committed
- Added protocol option to api.
  * Possible to control protocols from CLI
Frede H's avatar
Frede H committed
- `/var/lib/pacman-mirrors/mirrors.json` is causing confusion so it has been removed.
Frede H's avatar
Frede H committed
  * Only one fallback is needed `/usr/share/pacman-mirrors/mirrors.json`.
Frede H's avatar
Frede H committed
  * If a new `mirrors.json` is available - existing will be updated by pacman-mirrors.
Frede H's avatar
Frede H committed
- Improvement on default mirrorlist.
  * mirror protocols are reverse sorted (https,http,ftps,ftp).
Frede H's avatar
Frede H committed
  * if several protocols exist only the first is written to mirrorlist. Thus ssl enabled protocols get priority.
- Improvement on mirror protocol selection [#90](https://github.com/manjaro/pacman-mirrors/issues/90).
Frede H's avatar
Frede H committed
  * If a mirror offers more than one protocol - only the first is written to the mirrorlist.
Frede H's avatar
Frede H committed
  * Added `# Protocols = ` to pacman-mirrors.conf.
Frede H's avatar
Frede H committed
  * Defined protocols are honored in the order in which they appear.
Hugo Posnic's avatar
Hugo Posnic committed
- Improvement on `--interactive`: select mirrors by protocol.
Hugo Posnic's avatar
Hugo Posnic committed
- Added a simple API [#81](https://github.com/manjaro/pacman-mirrors/issues/81).
Hugo Posnic's avatar
Hugo Posnic committed
- Update translations.
Frede H's avatar
Frede H committed
- Code optimizing.
- Added to config `# SSLVerify = True`.
Frede H's avatar
Frede H committed
- Refactored mirrorcheck to ignore a mirrors certificate error if `SSLVerify = False`.
Frede H's avatar
Frede H committed
- Refactored mirrorcheck for https-mirrors timing out during ssl-handshake.
- Update docs.
Frede H's avatar
Frede H committed

Philip Müller's avatar
Philip Müller committed
## [4.0.4] - 2017-04-15
Frede H's avatar
Frede H committed
- Fix issue with UnicodeEncodeError in interactive mode
Frede H's avatar
Frede H committed
## [4.0.3] - 2017-03-28
- Fix issue with `--fasttrack` and `OnlyCountry = Custom`.
Hugo Posnic's avatar
Hugo Posnic committed
- Update translations.
- Update docs.
Frede H's avatar
Frede H committed
## [4.0.2] - 2017-03-21
Philip Müller's avatar
Philip Müller committed
- Fix issue with chroot mirrorlist generation

## [4.0.1] - 2017-03-21
Hugo Posnic's avatar
Hugo Posnic committed
- GUI: Add sorting functionality.
Philip Müller's avatar
Philip Müller committed
- Add: --default argument
- Fix issue with OnlyCountry unexpected reset
Hugo Posnic's avatar
Hugo Posnic committed
- Fix issue with not only displaying selected mirrors.
- Fix connectivity check.
- Update translations.

## [4.0.0] - 2017-03-19
- Add: -l/--list Print available mirror countries
Hugo Posnic's avatar
Hugo Posnic committed
- 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.
Frede H's avatar
Frede H committed
- 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 to `custom-mirrors.json`
- A lot of inevitable small fixes.
FH's avatar
FH committed

Philip Müller's avatar
Philip Müller committed
## [3.2.2] - 2017-02-12
FH's avatar
FH committed
- Fix issue with multiple country select.
Philip Müller's avatar
Philip Müller committed
- Bug fixes.

Hugo Posnic's avatar
Hugo Posnic committed
## [3.2.1] - 2017-02-10
- Fix save of config file.
- Update translations.

Hugo Posnic's avatar
Hugo Posnic committed
## [3.2.0] - 2017-02-06
- Add TUI interface.
- Bug fixes.
- Update translations.

Hugo Posnic's avatar
Hugo Posnic committed
## [3.1.0] - 2017-01-18
- Replace --verbose option by --quiet.
- New documentation.
- Translation review.
- Check DISPLAY when using interactive mode.
Hugo Posnic's avatar
Hugo Posnic committed
- Better structure for the GUI.
Hugo Posnic's avatar
Hugo Posnic committed

## [3.0.0] - 2017-01-12
Hugo Posnic's avatar
Hugo Posnic committed
- Refactoring.
- New GUI.
- Code improvements.
- --verbose option.

Hugo Posnic's avatar
Hugo Posnic committed
## [2.0.0] - 2016-03-01
Hugo Posnic's avatar
Hugo Posnic committed
- 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.