File: ChangeLog

package info (click to toggle)
python-pygerrit2 2.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 200 kB
  • sloc: python: 532; makefile: 75
file content (389 lines) | stat: -rw-r--r-- 12,053 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
CHANGES
=======

2.0.4
-----

* Add missing docstrings to silence pydocstyle errors
* Replace pep257 with pydocstyle
* Fix up various pydocstyle warnings, mostly about spacing
* pylint: Remove useless subclassing/super() calls
* pylint: Don't iterate over range(len()), use enumerate()
* Minor pylint fixes, mostly spacing, indentation, capitalization, naming
* Bump pyflakes from 1.5.0 to 1.6.0
* Bump flake8 from 3.3.0 to 3.5.0
* Exclude docs from analysis
* Remove doc build; add generated docs folder

2.0.3
-----

* Allow requests up to version 2.18.4
* Fixes #11 Remove pypi downloads shields
* Allow to use requests version 2.18.1
* Fixes #10: Fix a bug preventing file upload in PUT and POST
* Fixes #7: Be less strict about requests version
* Upgrade requests to 2.16.0
* Adapt to removal of Digest authentication in Gerrit 2.14
* Update links to Gerrit 2.14
* Upgrade requests to 2.14.2
* Add support to return response code
* Fix docs folder exclusion in tox config
* Upgrade pyflakes and flake8 to latest versions
* Remove debug logs
* rest: use encoding from response instead of UTF-8
* Upgrade requests to 2.13.0
* Add back the ReStructured Text version of the README

2.0.2
-----

* Fix MANIFEST.in with correct README file name
* Upgrade flake8 to version 3.2.1
* Upgrade requests to 2.12.1
* Update Gerrit documentation link to latest major release
* Upgrade flake8 and pyflakes to latest versions
* Fix README reference in setup.cfg
* Upgrade requests to 2.11.1
* Convert README to markdown

2.0.1
-----

* Upgrade requests to version 2.11.0
* Revert "Don't use requests.session()"
* Upgrade requests to 2.10.0
* returning raw response for non-JSON Content-Type
* making use of requests' json argument
* merging request headers
* Remove redundant pylint suppressions
* Rewrite the README with better usage instructions
* Update prerequisites
* Add tox configuration
* Use flake8 instead of pep8
* GerritReview: dump json content with sorted keys
* Example: Don't use 'self' in query when not authenticated
* Python3 compatibility fixes

2.0.0
-----

* Remove SSH support and rename to pygerrit2
* Update Gerrit documentation link to latest version
* Update link to Gerrit home page

1.0.0
-----

* Use badges from shields.io
* Upgrade pyflakes to 1.0.0
* Upgrade PEP-8 to 1.7.0
* Include event name in UnhandledEvent's \_\_repr\_\_ output
* Upgrade Paramiko to 1.16.0
* Upgrade requests to 2.9.1
* Raise exception if the json content is invalid
* Add missing docstring for Change#from\_json
* Added from\_json method for Change model
* Updated add\_comment() to support line ranges

0.2.11
------

* Upgrade paramiko to version 1.15.2
* Add keepalive support to GerritSSHClient

0.2.10
------

* Don't use requests.session()
* Don't set Content-Type on PUT/POST if there is no body
* Add debug log of response content

0.2.9
-----

* Upgrade requests to 2.7.0
* Allow unicode characters in gerrit commands
* Update requests to 2.5.1
* Fix incorrect docstring
* Upgrade pyflakes to 0.8.1
* Be less strict about the pbr version used
* Restructure docstrings for better html output
* Bump pep8 to 1.5.7
* Bump paramiko to 1.15.1 and pycrypto to 2.6.1
* Bump requests to 2.4.3
* Fix documentation build
* Bump python requests version to 2.4.1

0.2.8
-----

* Add inline review support
* Replace deprecated assertEquals() with assertEqual()
* Update PEP257 to 0.2.4
* Update pyflakes to 0.7.3

0.2.7
-----

* Add message formatter class
* Upgrade requests to 2.3.0
* Fix paramiko link in the README file

0.2.6
-----

* Add support for ProxyCommand in GerritSSHClient
* Upgrade paramiko to 1.14.0
* Revert "Remove support for Gerrit over ssh"
* Update the README
* Upgdade requests to 2.2.1
* Include full description in the setup config
* Set Content-Type header on PUT and POST requests
* Set HTTP headers to reduce data transfer time
* Migrate setup to pbr
* Stop using pylint
* Remove support for Gerrit over ssh

0.2.5
-----

* Version 0.2.5
* Fix up usage of argparse in examples
* Update examples to use argparse instead of optparse
* Fix for hanging connections

0.2.4
-----

* Version 0.2.4
* Accept kwargs for request functions
* Correct Gerrit documentation link
* Add badges to the README
* Fix README markup to work properly on Gitlab

0.2.3
-----

* Version 0.2.3
* Use find\_packages() in setup

0.2.2
-----

* Bump version to 0.2.2
* Release notes for 0.2.2
* Add user in the Approval object
* Add support for CurrentPatchSet
* Include change status in Change object
* Always set sortkey in Change object
* Handle errors in REST API example
* Simplify REST API error handling
* Add username field in the account data
* Add method to run a gerrit command from the client
* Add method to get username and Gerrit version
* Fix NameError in REST API example
* Bump to requests 2.0.1 also in setup.py
* Bump requests version up to 2.0.1

0.2.1
-----

* Update change log for 0.2.1
* Document the HTTP password configuration for REST API usage
* Reword the prerequisites in the readme
* Separate prerequisites and configuration in the readme

0.2.0
-----

* Bump version to 0.2.0
* Update change log for 0.2.0
* Suppress pylint "Unable to import" error
* Suppress pylint warning about catching too general exception
* Fix pylint error in rest\_example.py
* Change abandoned and restored events don't have a patchset field
* Add myself to authors
* Add an authors list that contributors can add themselves to
* Fix indentation
* Ensure errors in json parsing doesn't leave everything in a broken state
* Reason is optional in abandon and restore changes
* Return sortKey from query result, to allow resuming query
* Update the README to mention the REST API
* Avoid busy loop when receiving incoming stream data
* Add more detailed examples of SSH interface usage in the README
* Update the README notes about ssh configuration
* Add support for Kerberos authentication in example script
* Allow client to disable SSL certificate verification
* Add REST API example
* Refactor the authentication handling
* Add MANIFEST to .gitignore
* Add method to build url from endpoint

0.1.1
-----

* Bump version to 0.1.1
* Add changelog
* Make get, put, post and delete REST methods public
* Fix #10: Allow to manually specify ssh username and port
* Completely refactor the stream event handling
* Add missing \_\_repr\_\_ methods on ErrorEvent and UnhandledEvent
* Fix initialisation of error event
* Fix #11: correct handling of \`identityfile\` in the ssh config
* Allow example script to continue if errors are received
* Fix #9: Add a bit more detail in the documentation
* Fix #8: Support the "topic-changed" stream event
* Fix #7: Support the "reviewer-added" stream event
* Fix #6: Support the "merge-failed" stream event
* Fix #5: Move json parsing and error handling into the event factory
* Improved logging in the example script
* Fix #3: Don't treat unhandled event types as errors
* Fix #4: Keep event's raw json data in the event object
* Add \_\_repr\_\_ methods on event and model classes
* Remove redundant \`exec\_command\` method
* Fix #2: Establish SSH connection in a thread-safe way
* Fix #1: Use select.select() instead of select.poll()
* Fix authentication setup
* Add handling of HTTP error status codes in responses
* Add support for HTTP digest authentication
* Initial implementation of Gerrit REST API interface
* Disable W0142 'Used \* or \*\* magic' in the Pylint configuration

0.1.0
-----

* Bump version to 0.1.0
* Add Python trove classifiers to the setup
* Include full license text in the license parameter of setup
* Add long description in the setup
* Add MANIFEST.in file
* Improve formatting in the README file
* Rename README to README.rst
* Add make target and rules to ensure environment setup tools are OK
* Add a make target to build the API documentation zip archive
* Don't put copyright and license headers in Python module docstrings
* Add a make target to build the source distribution
* Add a make target to check for clean git status
* Add a make target to check that the git is tagged properly
* Add generation of package documentation
* Separate test dependency installation into its own build target
* Separate environment intialisation into its own build target
* Make the shebangs consistent
* Add pylint check in the Makefile
* Fix pylint warnings
* Add PEP-257 conformance check in the Makefile
* Add a unit test to ensure dependency package version consistency
* Separate package dependencies from verification/test dependencies
* Bump paramiko dependency to version 1.11.0
* Fix relative imports
* Fix one more PEP-257 violation
* Add a \`clean\` target in the Makefile
* Add PEP-8 conformance check in the Makefile
* Add pyflakes check in the Makefile
* Add a Makefile to install dependencies and run unit tests
* Only allow strings as query terms and commands
* Don't hard code version in setup.py
* Include command in GerritCommandResult
* Don't open ssh connection until needed
* Fix UnboundLocalError when stream-event connection fails
* Add missing docstrings to conform to PEP-257
* Explicitly depend on paramiko v1.7.6
* Move requirements.txt to the root
* Add requirements file

0.0.7
-----

* Bump to version 0.0.7
* Better error message in example script
* Rename the readme and license files

0.0.6
-----

* Bump to version 0.0.6
* Better error handling in the example script
* Move license to its own file and add basic documentation
* Use correct URL in setup information
* Handle socket connection error in SSH client
* Python 2.6 style exception handling
* Add Eclipse and Pydev project files

0.0.5
-----

* Bump to version 0.0.5
* Revert "Basic thread-safeness in the SSH client"
* Encapsulate the SSH command results in a class
* Update pylint config to work with version 0.26
* Only add query result lines to returned data
* Handle JSON errors in query results
* Refactor getting the Gerrit version
* Reduce nested \`if\` blocks in stream handling
* Add pylint configuration file
* More error handling improvements in stream
* Handle exception when running ssh command
* Fix pylint warnings in stream.py
* Basic thread-safeness in the SSH client
* More exception handling in stream

0.0.4
-----

* Bump version to 0.0.4
* Fix hostname in unit tests
* Get Gerrit version during client initialisation
* Add query functionality
* Add \_\_str\_\_ on event base class
* Move SSH client from stream class to main client class
* Add license information
* Simplify the unit test structure

0.0.3
-----

* Bump version to 0.0.3
* Add an example of how the Gerrit client class is used
* Wait for thread to complete when stopping stream
* Handle errors when reading event stream
* Fix event registration from other module
* Refactor event stream handling to use SSH client
* Handle invalid port in ssh config
* Add GerritSSHClient
* Add initial stub of GerritClient class
* Inject event name into event classes with decorator
* Revert "GerritEventFactory should be a singleton"
* GerritEventFactory should be a singleton
* Pass input stream in the constructor of GerritStream
* Add support for topic name in change attribute
* Add event factory and refactor event dispatching
* Events unit tests should also test event dispatching
* Add helper methods for initialisation from json data
* Add setup.py

0.0.2
-----

* Tidy up docstrings to follow the PEP-257 docstring convention
* Refactor into submodules
* Add .settings to .gitignore
* Remove check for supported approval types

0.0.1
-----

* Add .gitignore
* Add Makefile and script for unit tests
* Add unit tests for event handling
* Reason is missing in ChangeRestoredEvent
* \`comment-added\` event can have multiple approvals
* Add support for the \`draft-published\` event
* Minor refactoring of unit tests
* Fixing PEP-8 and pylint warnings
* Python cleanup: inherit from object
* Undefined variable in GerritCommentAddedEvent
* Check for callable event handler on attach
* Minor refactoring and adding initial unit tests
* Initial version of class for handling Gerrit stream events
* Initial empty commit