summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix: use python2 compatible syntax for superfix/python-testsMax Wittig2019-02-222-3/+12
|
* Merge pull request #702 from jpiron/eq_hashMax Wittig2019-02-222-1/+34
|\ | | | | Implement __eq__ and __hash__ methods
| * Implement __eq__ and __hash__ methodsJonathan Piron2019-02-202-1/+34
| | | | | | | | To ease lists and sets manipulations.
* | Merge pull request #705 from python-gitlab/release-1.8.01.8.0Max Wittig2019-02-223-3/+20
|\ \ | | | | | | Release version 1.8.0
| * | Release version 1.8.0Gauvain Pocentek2019-02-223-3/+20
|/ /
* | Merge pull request #701 from jpiron/fix_all_behaviourGauvain Pocentek2019-02-201-1/+1
|\ \ | |/ |/| Fix all kwarg behaviour
| * Fix all kwarg behaviourJonathan Piron2019-02-181-1/+1
|/ | | | | | | | | | | | | | `all` kwarg is used to manage GitlabList generator behaviour. However, as it is not poped from kwargs, it is sent to Gitlab API. Some endpoints such as [the project commits](https://docs.gitlab.com/ee/api/commits.html#list-repository-commits) one, support a `all` attribute. This means a call like `project.commits.list(all=True, ref_name='master')` won't return all the master commits as one might expect but all the repository's commits. To prevent confusion, the same kwarg shouldn't be used for 2 distinct purposes. Moreover according to [the documentation](https://python-gitlab.readthedocs.io/en/stable/gl_objects/commits.html#examples), the `all` project commits API endpoint attribute doesn't seem supported.
* Merge pull request #689 from python-gitlab/fix/wrong-rebaseGauvain Pocentek2019-01-261-0/+19
|\ | | | | fix: re-add merge request pipelines
| * fix: re-add merge request pipelinesfix/wrong-rebaseMax Wittig2019-01-261-0/+19
|/
* Merge pull request #685 from Joustie/masterMax Wittig2019-01-212-9/+36
|\ | | | | feat: Added approve method for Mergerequests
| * Merge branch 'master' into masterJoost Evertse2019-01-2141-252/+903
| |\ | |/ |/|
* | Merge pull request #687 from python-gitlab/fix/683/raw_downloadMax Wittig2019-01-192-13/+18
|\ \ | | | | | | fix(api): Don't try to parse raw downloads
| * | fix(api): Don't try to parse raw downloadsfix/683/raw_downloadGauvain Pocentek2019-01-192-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http_get always tries to interpret the retrieved data if the content-type is json. In some cases (artifact download for instance) this is not the expected behavior. This patch changes http_get and download methods to always get the raw data without parsing. Closes #683
* | | Merge pull request #680 from python-gitlab/chore/automatic-deployGauvain Pocentek2019-01-191-0/+9
|\ \ \ | | | | | | | | chore: release tags to PyPI automatically
| * | | chore: release tags to PyPI automaticallychore/automatic-deployMax Wittig2019-01-131-0/+9
| |/ / | | | | | | | | | Fixes #609
* | | Merge pull request #681 from python-gitlab/no-param-conflictsMax Wittig2019-01-196-3/+64
|\ \ \ | |/ / |/| | fix(api): avoid parameter conflicts with python and gitlab
| * | fix(api): avoid parameter conflicts with python and gitlabno-param-conflictsGauvain Pocentek2019-01-136-3/+64
|/ / | | | | | | | | | | | | | | | | | | Provide another way to send data to gitlab with a new `query_parameters` argument. This parameter can be used to explicitly define the dict of items to send to the server, so that **kwargs are only used to specify python-gitlab specific parameters. Closes #566 Closes #629
* | Merge pull request #678 from appian/backoff-requestsMax Wittig2019-01-133-5/+27
|\ \ | | | | | | Fix missing "Retry-After" header and fix integration tests
| * | fix: remove decode() on error_message stringSrikanth Chelluri2019-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The integration tests failed because a test called 'decode()' on a string-type variable - the GitLabException class handles byte-to-string conversion already in its __init__. This commit removes the call to 'decode()' in the test. ``` Traceback (most recent call last): File "./tools/python_test_v4.py", line 801, in <module> assert 'Retry later' in error_message.decode() AttributeError: 'str' object has no attribute 'decode' ```
| * | fix: handle empty 'Retry-After' header from GitLabSrikanth Chelluri2019-01-082-4/+26
|/ / | | | | | | | | | | | | | | | | When requests are throttled (HTTP response code 429), python-gitlab assumed that 'Retry-After' existed in the response headers. This is not always the case and so the request fails due to a KeyError. The change in this commit adds a rudimentary exponential backoff to the 'http_request' method, which defaults to 10 retries but can be set to -1 to retry without bound.
* | Merge pull request #673 from python-gitlab/fix/672Max Wittig2019-01-081-1/+1
|\ \ | | | | | | fix(api): make reset_time_estimate() work again
| * | fix(api): make reset_time_estimate() work againfix/672Gauvain Pocentek2019-01-081-1/+1
|/ / | | | | | | Closes #672
* | Merge pull request #664 from python-gitlab/docs/commit-messageGauvain Pocentek2018-12-161-0/+3
|\ \ | | | | | | docs(readme): provide commit message guidelines
| * | docs(readme): provide commit message guidelinesdocs/commit-messageMax Wittig2018-12-151-0/+3
|/ / | | | | Fixes #660
* | Merge pull request #659 from python-gitlab/docs/readme-pypiGauvain Pocentek2018-12-091-1/+3
|\ \ | | | | | | docs(setup): use proper readme on PyPI
| * | docs(setup): use proper readme on PyPIMax Wittig2018-12-091-1/+3
|/ /
* | Merge pull request #657 from python-gitlab/release-1.7.01.7.0Max Wittig2018-12-093-102/+33
|\ \ | | | | | | Prepare the 1.7.0 release
| * | Prepare the 1.7.0 releaserelease-1.7.0Gauvain Pocentek2018-12-093-102/+33
|/ /
* | Merge pull request #656 from esabouraud/feature-protectedbranchesoptionsGauvain Pocentek2018-12-082-1/+13
|\ \ | | | | | | Issue 653 Add access control options to protected branch creation
| * | Add access control options to protected branch creationEric Sabouraud2018-12-072-1/+13
|/ /
* | Merge pull request #652 from roozbehf/fix/docker-enable-use-of-yamlMax Wittig2018-12-051-0/+1
|\ \ | | | | | | fix: enable use of YAML in the CLI
| * | fix: enable use of YAML in the CLIRoozbeh Farahbod2018-12-041-0/+1
|/ / | | | | | | | | In order to use the YAML output, PyYaml needs to be installed on the docker image. This commit adds the installation to the dockerfile as a separate layer.
* | Merge pull request #651 from roozbehf/fix/docker-entrypoint-argumentsMax Wittig2018-12-041-1/+1
|\ \ | | | | | | fix: docker entry point argument passing
| * | fix: docker entry point argument passingRoozbeh Farahbod2018-12-041-1/+1
|/ / | | | | | | | | | | Fixes the problem of passing spaces in the arguments to the docker entrypoint. Before this fix, there was virtually no way to pass spaces in arguments such as task description.
* | Merge pull request #641 from python-gitlab/refactor/excpetion_msgMax Wittig2018-11-282-3/+12
|\ \ | | | | | | Improve error message handling in exceptions
| * | Improve error message handling in exceptionsrefactor/excpetion_msgGauvain Pocentek2018-11-242-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Depending on the request Gitlab has a 'message' or 'error' attribute in the json data, handle both * Add some consistency by converting messages to unicode or str for exceptions (depending on the python version) Closes #616
* | | Merge pull request #625 from python-gitlab/fix/611/resource_label_eventMax Wittig2018-11-284-2/+96
|\ \ \ | | | | | | | | Add support to resource label events
| * | | Add support to resource label eventsfix/611/resource_label_eventGauvain Pocentek2018-11-224-2/+96
| | | | | | | | | | | | | | | | Closes #611
* | | | Merge pull request #642 from python-gitlab/feature/589/member_allMax Wittig2018-11-284-0/+59
|\ \ \ \ | |_|/ / |/| | | [feature] Add support for members all() method
| * | | [feature] Add support for members all() methodfeature/589/member_allGauvain Pocentek2018-11-244-0/+59
|/ / / | | | | | | | | | Closes #589
* | | Merge pull request #639 from python-gitlab/fix/628/doc_typoMax Wittig2018-11-231-1/+1
|\ \ \ | | | | | | | | [docs] Fix typo in custom attributes example
| * | | [docs] Fix typo in custom attributes examplefix/628/doc_typoGauvain Pocentek2018-11-221-1/+1
| |/ / | | | | | | | | | Closes #628
* | | Merge pull request #638 from python-gitlab/fix/633/milestone_filterMax Wittig2018-11-231-1/+1
|\ \ \ | |/ / |/| | [docs] Fix the milestone filetring doc (iid -> iids)
| * | [docs] Fix the milestone filetring doc (iid -> iids)fix/633/milestone_filterGauvain Pocentek2018-11-221-1/+1
|/ / | | | | | | Fixes #633
* | Merge pull request #634 from python-gitlab/docs/project-typoGauvain Pocentek2018-11-221-1/+1
|\ \ | | | | | | | | | | | | docs(projects): fix typo in code sample Closes #630
| * | docs(projects): fix typo in code sampledocs/project-typoMax Wittig2018-11-191-1/+1
| | | | | | | | | Fixes #630
* | | Merge pull request #636 from python-gitlab/docs/groups-fix-typoGauvain Pocentek2018-11-221-1/+1
|\ \ \ | |/ / |/| | docs(groups): fix typo
| * | docs(groups): fix typodocs/groups-fix-typoMax Wittig2018-11-201-1/+1
|/ / | | | | Fixes #635
* | Merge pull request #627 from nicgrayson/fix-docs-typoGauvain Pocentek2018-11-091-3/+3
|\ \ | | | | | | Fix 3 typos in docs
| * | Fix 3 typosNic Grayson2018-11-091-3/+3
|/ /