summaryrefslogtreecommitdiff
path: root/gitlab
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.
* | Release version 1.8.0Gauvain Pocentek2019-02-221-3/+3
| |
* | 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.
* fix: re-add merge request pipelinesfix/wrong-rebaseMax Wittig2019-01-261-0/+19
|
* Merge branch 'master' into masterJoost Evertse2019-01-2110-71/+386
|\
| * 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
| * | fix(api): avoid parameter conflicts with python and gitlabno-param-conflictsGauvain Pocentek2019-01-131-1/+14
| |/ | | | | | | | | | | | | | | | | | | 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
| * fix: handle empty 'Retry-After' header from GitLabSrikanth Chelluri2019-01-081-3/+11
| | | | | | | | | | | | | | | | | | 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.
| * fix(api): make reset_time_estimate() work againfix/672Gauvain Pocentek2019-01-081-1/+1
| | | | | | | | Closes #672
| * Prepare the 1.7.0 releaserelease-1.7.0Gauvain Pocentek2018-12-091-1/+1
| |
| * Add access control options to protected branch creationEric Sabouraud2018-12-071-1/+4
| |
| * 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-281-1/+39
| |\ \ | | | | | | | | Add support to resource label events
| | * | Add support to resource label eventsfix/611/resource_label_eventGauvain Pocentek2018-11-221-1/+39
| | |/ | | | | | | | | | Closes #611
| * | [feature] Add support for members all() methodfeature/589/member_allGauvain Pocentek2018-11-241-0/+48
| |/ | | | | | | Closes #589
| * fix(cli): exit on config parse error, instead of crashingMax Wittig2018-11-043-6/+42
| | | | | | | | * Exit and hint user about possible errors * test: adjust test cases to config missing error
| * docs(cli): add PyYAML requirement noticeci-output-optionMax Wittig2018-10-091-6/+16
| | | | | | | | Fixes #606
| * refactor: rename MASTER_ACCESSrefactor/rename-variableMax Wittig2018-10-061-1/+2
| | | | | | | | | | | | | | to MAINTAINER_ACCESS to follow GitLab 11.0 docs See: https://docs.gitlab.com/ce/user/permissions.html#project-members-permissions
| * fix(cli): print help and usage without config filefix/help-usageMax Wittig2018-10-041-1/+5
| | | | | | | | Fixes #560
| * Add project protected tags management (#581)Eric Sabouraud2018-10-031-0/+13
| |
| * add missing comma in ProjectIssueManager _create_attrsJustin2018-09-101-2/+2
| | | | | | This fixes the argument handling for assignee/milestone ID when for `project-issue create`
| * Fix the https redirection testGauvain Pocentek2018-09-051-1/+1
| |
| * 1.6.0 release1.6.0Gauvain Pocentek2018-08-251-1/+1
| |
| * [cli] Fix the project-export downloadGauvain Pocentek2018-08-251-2/+24
| | | | | | | | Closes #559
| * Raise an exception on https redirects for PUT/POSTGauvain Pocentek2018-08-243-19/+53
| | | | | | | | | | | | | | | | | | | | | | POST and PUT requests are modified by clients when redirections happen. A common problem with python-gitlab is a misconfiguration of the server URL: the http to https redirection breaks some requests. With this change python-gitlab should detect problematic redirections, and raise a proper exception instead of failing with a cryptic error. Closes #565
| * Add support for project transfers from the projects interface. (#561)Will Rouesnel2018-08-021-0/+19
| | | | | | See https://docs.gitlab.com/ee/api/projects.html#transfer-a-project-to-a-new-namespace
| * Added support for listing forks of a project (#562)David Guest2018-07-261-1/+23
| |
| * MR: add the squash attribute for create/updateGauvain Pocentek2018-07-201-6/+7
| | | | | | | | Closes #557
| * Implement MR.pipelines()Gauvain Pocentek2018-07-151-0/+18
| | | | | | | | Closes #555
| * Support group and global MR listingGauvain Pocentek2018-07-152-2/+28
| | | | | | | | Closes #553
| * Project import: fix the override_params parameterGauvain Pocentek2018-07-151-1/+2
| | | | | | | | Closes #552
| * [cli] Fix the case where we have nothing to printGauvain Pocentek2018-07-121-2/+1
| |
| * [cli] Output: handle bytes in API responsesGauvain Pocentek2018-07-091-0/+3
| | | | | | | | Closes #548
* | feat: Added approve & unapprove method for MergerequestsJoost Evertse2019-01-192-0/+45
|/ | | | Offical GitLab API supports this for GitLab EE
* 1.5.1 release1.5.1Gauvain Pocentek2018-06-231-1/+1
|
* Fix the ProjectPipelineJob base classGauvain Pocentek2018-06-231-1/+1
| | | | Closes #537
* Prepare the 1.5.0 release1.5.0Gauvain Pocentek2018-06-221-1/+1
|
* [cli] Fix the non-verbose output of ProjectCommitCommentGauvain Pocentek2018-06-222-1/+9
| | | | Closes #433
* Use the same description for **kwargs everywhereGauvain Pocentek2018-06-173-32/+32
|
* Revert "make as_list work for all queries"Gauvain Pocentek2018-06-172-67/+20
| | | | | | This reverts commit 8e787612fa77dc945a4c1327e9faa6eee10c48f2. This change broke the basic generator usage (Fixes #534)
* Add support for epics API (EE)Gauvain Pocentek2018-06-171-0/+78
| | | | Fixes #525
* ProjectPipelineJob objects can only be listedGauvain Pocentek2018-06-141-1/+1
| | | | | | And they are not directly related to ProjectJob objects. Fixes #531
* Add support for the LDAP gorups APIGauvain Pocentek2018-06-132-0/+45
|
* Add support for the EE license APIGauvain Pocentek2018-06-132-9/+42
|
* Implement MR-level approvalsGauvain Pocentek2018-06-111-8/+36
| | | | Fixes #323
* Add project push rules configuration (#520)Eric Sabouraud2018-06-113-5/+33
|