CHANGELOG.md 11.9 KB
Newer Older
Hugo Posnic's avatar
Hugo Posnic committed
1 2 3
# Change Log
All notable changes to this project will be documented in this file.

4 5 6 7 8 9
## [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
  - Fixed doubled messages when using `-f` argument 

Frede Hundewadt's avatar
Frede Hundewadt committed
10 11 12 13 14 15
## [4.12.5] 2018-08-06
* fix issue with console ui

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

16
## [4.12.3] 2018-08-06
Frede Hundewadt's avatar
Frede Hundewadt committed
17
* changed test file to `core.db.tar.gz` - added option to `pacman-mirrors.conf`
18

Frede Hundewadt's avatar
Frede Hundewadt committed
19
## [4.12.2] 2018-08-02
Frede Hundewadt's avatar
Frede Hundewadt committed
20
* fix sorting based on resp_time (lexicographic -> numbers)
Frede Hundewadt's avatar
Frede Hundewadt committed
21 22

## [4.12.1] 2018-08-01
23
* refactor mirror probe to get more realistic response times.
24
* setting http User-Agent to Pacman-Mirrors/{version}
25

26 27 28 29
## [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 Hundewadt's avatar
Frede Hundewadt committed
30
## [4.11.4] 2018-07-23
31 32 33
* Fix for [#139](https://gitlab.manjaro.org/applications/pacman-mirrors/issues/139)
* Fixed interactive mirrorlist still containing https on invalid certificate 

34 35 36
## [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.
37
* Pulled translation from Transifex
38

39 40 41 42 43 44 45 46 47
## [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.

48 49 50 51 52
## [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 Hundewadt's avatar
Frede Hundewadt committed
53
## [4.10.1] 2018-04-01
Frede Hundewadt's avatar
Frede Hundewadt committed
54 55
* 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 Hundewadt's avatar
Frede Hundewadt committed
56

Frede Hundewadt's avatar
Frede Hundewadt committed
57 58 59
## [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 Hundewadt's avatar
Frede Hundewadt committed
60 61 62
## [4.9.0] 2018-03-23
* Added  : `-lc/--country-config` (Pamac [#366](https://github.com/manjaro/pamac/issues/366))

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

Frede Hundewadt's avatar
Frede Hundewadt committed
66
## [4.8.1] 2018-03-19
67 68
* 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 Hundewadt's avatar
Frede Hundewadt committed
69

Frede Hundewadt's avatar
Frede Hundewadt committed
70 71 72 73 74 75 76 77
## [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 Hundewadt's avatar
Frede Hundewadt committed
78 79 80 81
## [4.7.6] 2018-03-08
* Updated docs
* Updated translations

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

85 86 87
## [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 Hundewadt's avatar
Frede Hundewadt committed
88 89 90
## [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 Hundewadt's avatar
Frede Hundewadt committed
91 92 93
## [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 Hundewadt's avatar
Frede Hundewadt committed
94 95 96 97 98
## [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 Hundewadt's avatar
Frede Hundewadt committed
99 100 101 102
## [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 Hundewadt's avatar
Frede Hundewadt committed
103
    - no need to prepend when calling branch changing functions
Frede Hundewadt's avatar
Frede Hundewadt committed
104

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

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

Frede Hundewadt's avatar
Frede Hundewadt committed
111
## [4.5.0] 2017-11-16
Frede Hundewadt's avatar
Frede Hundewadt committed
112 113 114
* **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 Hundewadt's avatar
Frede Hundewadt committed
115

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

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

Frede Hundewadt's avatar
Frede Hundewadt committed
128 129 130
## [4.3.1] 2017-11-07
* **Fix**: typo in documentation

Philip Müller's avatar
Philip Müller committed
131
## [4.3.0] 2017-10-28
Frede Hundewadt's avatar
Frede Hundewadt committed
132
- **Fix**: `-h/--help` added deprecation messages
Frede Hundewadt's avatar
Frede Hundewadt committed
133
- **Improvement**: Api `--get-branch` removed root requirement
Frede Hundewadt's avatar
Frede Hundewadt committed
134
- **Deprecation**: `-y` and `-g` is deprecated and use is discouraged
Frede Hundewadt's avatar
Frede Hundewadt committed
135 136
- **Improvement**: General mirrorlist uses only up-to-date mirrors on users branch
- **Improvement**: Fasttrack mirrorlist uses only up-to-date mirrors on users branch
137
- **Improvement**: Filter generated mirrorlist based on branch and sync status
Hugo Posnic's avatar
Hugo Posnic committed
138
- Update translations.
139

140 141 142
## [4.2.2]
- **Fix**: Missing txt 'OPT_COUNTRY'

143
## [4.2.1] 2017-08-16
144
- Ensure correct exit code (0) on `api --get-branch`
145

Philip Müller's avatar
Philip Müller committed
146
## [4.2.0] 2017-06-14
Frede Hundewadt's avatar
Frede Hundewadt committed
147 148
- **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 Hundewadt's avatar
Frede Hundewadt committed
149
- **Improvement**: Added man page.
150

Frede Hundewadt's avatar
Frede Hundewadt committed
151
**Breaking changes**
Frede Hundewadt's avatar
Frede Hundewadt committed
152
- `-S`/`--set-branch $BRANCH` requires branch as argument.
Frede Hundewadt's avatar
Frede Hundewadt committed
153
- `-u`/`--update` renamed to `-y`/`--sync`.
154
- `NoUpdate` configuration removed from pacman-mirrors.conf.
Frede Hundewadt's avatar
Frede Hundewadt committed
155
- `--no-update` argument removed.
Frede Hundewadt's avatar
Frede Hundewadt committed
156 157 158 159
- `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.
160

Frede Hundewadt's avatar
Frede Hundewadt committed
161
**Other improvements and fixes:**
162 163
- **Improvement**: Do not write bad servers to the end of the mirrorlist.
- **Improvement**: created argument groups for logic division of arguments usage.
Frede Hundewadt's avatar
Frede Hundewadt committed
164 165 166
- **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].
167 168 169
- **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 Hundewadt's avatar
Frede Hundewadt committed
170
- **Fix**: Issue where location in config was not determined correct.
Frede Hundewadt's avatar
Frede Hundewadt committed
171

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

Frede Hundewadt's avatar
Frede Hundewadt committed
176
## [4.1.3] 2017-05-15
Frede Hundewadt's avatar
Frede Hundewadt committed
177 178
- Fix: comparison of mirrorfiles fixed

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

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

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

Philip Müller's avatar
Philip Müller committed
209
## [4.0.4] - 2017-04-15
Frede Hundewadt's avatar
Frede Hundewadt committed
210
- Fix issue with UnicodeEncodeError in interactive mode
Philip Müller's avatar
Philip Müller committed
211

Frede Hundewadt's avatar
Frede Hundewadt committed
212
## [4.0.3] - 2017-03-28
213
- Fix issue with `--fasttrack` and `OnlyCountry = Custom`.
Hugo Posnic's avatar
Hugo Posnic committed
214 215
- Update translations.
- Update docs.
216

Frede Hundewadt's avatar
Frede Hundewadt committed
217
## [4.0.2] - 2017-03-21
Philip Müller's avatar
Philip Müller committed
218 219 220
- Fix issue with chroot mirrorlist generation

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

Philip Müller's avatar
Philip Müller committed
228
## [4.0.0] - 2017-03-19
229
- Add: -l/--list Print available mirror countries
Hugo Posnic's avatar
Hugo Posnic committed
230 231 232 233 234
- 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 Hundewadt's avatar
Frede Hundewadt committed
235 236 237
- 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`
238
- A lot of inevitable small fixes.
FH's avatar
FH committed
239

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

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

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

Hugo Posnic's avatar
Hugo Posnic committed
253 254 255 256 257
## [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
258
- Better structure for the GUI.
Hugo Posnic's avatar
Hugo Posnic committed
259 260

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

Hugo Posnic's avatar
Hugo Posnic committed
266
## [2.0.0] - 2016-03-01
Hugo Posnic's avatar
Hugo Posnic committed
267 268 269 270 271 272 273 274 275
- 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.