Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: use python2 compatible syntax for superfix/python-tests | Max Wittig | 2019-02-22 | 2 | -3/+12 |
| | |||||
* | Merge pull request #702 from jpiron/eq_hash | Max Wittig | 2019-02-22 | 2 | -1/+34 |
|\ | | | | | Implement __eq__ and __hash__ methods | ||||
| * | Implement __eq__ and __hash__ methods | Jonathan Piron | 2019-02-20 | 2 | -1/+34 |
| | | | | | | | | To ease lists and sets manipulations. | ||||
* | | Release version 1.8.0 | Gauvain Pocentek | 2019-02-22 | 1 | -3/+3 |
| | | |||||
* | | Fix all kwarg behaviour | Jonathan Piron | 2019-02-18 | 1 | -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-rebase | Max Wittig | 2019-01-26 | 1 | -0/+19 |
| | |||||
* | Merge branch 'master' into master | Joost Evertse | 2019-01-21 | 10 | -71/+386 |
|\ | |||||
| * | Merge pull request #687 from python-gitlab/fix/683/raw_download | Max Wittig | 2019-01-19 | 2 | -13/+18 |
| |\ | | | | | | | fix(api): Don't try to parse raw downloads | ||||
| | * | fix(api): Don't try to parse raw downloadsfix/683/raw_download | Gauvain Pocentek | 2019-01-19 | 2 | -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-conflicts | Gauvain Pocentek | 2019-01-13 | 1 | -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 GitLab | Srikanth Chelluri | 2019-01-08 | 1 | -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/672 | Gauvain Pocentek | 2019-01-08 | 1 | -1/+1 |
| | | | | | | | | Closes #672 | ||||
| * | Prepare the 1.7.0 releaserelease-1.7.0 | Gauvain Pocentek | 2018-12-09 | 1 | -1/+1 |
| | | |||||
| * | Add access control options to protected branch creation | Eric Sabouraud | 2018-12-07 | 1 | -1/+4 |
| | | |||||
| * | Merge pull request #641 from python-gitlab/refactor/excpetion_msg | Max Wittig | 2018-11-28 | 2 | -3/+12 |
| |\ | | | | | | | Improve error message handling in exceptions | ||||
| | * | Improve error message handling in exceptionsrefactor/excpetion_msg | Gauvain Pocentek | 2018-11-24 | 2 | -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_event | Max Wittig | 2018-11-28 | 1 | -1/+39 |
| |\ \ | | | | | | | | | Add support to resource label events | ||||
| | * | | Add support to resource label eventsfix/611/resource_label_event | Gauvain Pocentek | 2018-11-22 | 1 | -1/+39 |
| | |/ | | | | | | | | | | Closes #611 | ||||
| * | | [feature] Add support for members all() methodfeature/589/member_all | Gauvain Pocentek | 2018-11-24 | 1 | -0/+48 |
| |/ | | | | | | | Closes #589 | ||||
| * | fix(cli): exit on config parse error, instead of crashing | Max Wittig | 2018-11-04 | 3 | -6/+42 |
| | | | | | | | | * Exit and hint user about possible errors * test: adjust test cases to config missing error | ||||
| * | docs(cli): add PyYAML requirement noticeci-output-option | Max Wittig | 2018-10-09 | 1 | -6/+16 |
| | | | | | | | | Fixes #606 | ||||
| * | refactor: rename MASTER_ACCESSrefactor/rename-variable | Max Wittig | 2018-10-06 | 1 | -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-usage | Max Wittig | 2018-10-04 | 1 | -1/+5 |
| | | | | | | | | Fixes #560 | ||||
| * | Add project protected tags management (#581) | Eric Sabouraud | 2018-10-03 | 1 | -0/+13 |
| | | |||||
| * | add missing comma in ProjectIssueManager _create_attrs | Justin | 2018-09-10 | 1 | -2/+2 |
| | | | | | | This fixes the argument handling for assignee/milestone ID when for `project-issue create` | ||||
| * | Fix the https redirection test | Gauvain Pocentek | 2018-09-05 | 1 | -1/+1 |
| | | |||||
| * | 1.6.0 release1.6.0 | Gauvain Pocentek | 2018-08-25 | 1 | -1/+1 |
| | | |||||
| * | [cli] Fix the project-export download | Gauvain Pocentek | 2018-08-25 | 1 | -2/+24 |
| | | | | | | | | Closes #559 | ||||
| * | Raise an exception on https redirects for PUT/POST | Gauvain Pocentek | 2018-08-24 | 3 | -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 Rouesnel | 2018-08-02 | 1 | -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 Guest | 2018-07-26 | 1 | -1/+23 |
| | | |||||
| * | MR: add the squash attribute for create/update | Gauvain Pocentek | 2018-07-20 | 1 | -6/+7 |
| | | | | | | | | Closes #557 | ||||
| * | Implement MR.pipelines() | Gauvain Pocentek | 2018-07-15 | 1 | -0/+18 |
| | | | | | | | | Closes #555 | ||||
| * | Support group and global MR listing | Gauvain Pocentek | 2018-07-15 | 2 | -2/+28 |
| | | | | | | | | Closes #553 | ||||
| * | Project import: fix the override_params parameter | Gauvain Pocentek | 2018-07-15 | 1 | -1/+2 |
| | | | | | | | | Closes #552 | ||||
| * | [cli] Fix the case where we have nothing to print | Gauvain Pocentek | 2018-07-12 | 1 | -2/+1 |
| | | |||||
| * | [cli] Output: handle bytes in API responses | Gauvain Pocentek | 2018-07-09 | 1 | -0/+3 |
| | | | | | | | | Closes #548 | ||||
* | | feat: Added approve & unapprove method for Mergerequests | Joost Evertse | 2019-01-19 | 2 | -0/+45 |
|/ | | | | Offical GitLab API supports this for GitLab EE | ||||
* | 1.5.1 release1.5.1 | Gauvain Pocentek | 2018-06-23 | 1 | -1/+1 |
| | |||||
* | Fix the ProjectPipelineJob base class | Gauvain Pocentek | 2018-06-23 | 1 | -1/+1 |
| | | | | Closes #537 | ||||
* | Prepare the 1.5.0 release1.5.0 | Gauvain Pocentek | 2018-06-22 | 1 | -1/+1 |
| | |||||
* | [cli] Fix the non-verbose output of ProjectCommitComment | Gauvain Pocentek | 2018-06-22 | 2 | -1/+9 |
| | | | | Closes #433 | ||||
* | Use the same description for **kwargs everywhere | Gauvain Pocentek | 2018-06-17 | 3 | -32/+32 |
| | |||||
* | Revert "make as_list work for all queries" | Gauvain Pocentek | 2018-06-17 | 2 | -67/+20 |
| | | | | | | This reverts commit 8e787612fa77dc945a4c1327e9faa6eee10c48f2. This change broke the basic generator usage (Fixes #534) | ||||
* | Add support for epics API (EE) | Gauvain Pocentek | 2018-06-17 | 1 | -0/+78 |
| | | | | Fixes #525 | ||||
* | ProjectPipelineJob objects can only be listed | Gauvain Pocentek | 2018-06-14 | 1 | -1/+1 |
| | | | | | | And they are not directly related to ProjectJob objects. Fixes #531 | ||||
* | Add support for the LDAP gorups API | Gauvain Pocentek | 2018-06-13 | 2 | -0/+45 |
| | |||||
* | Add support for the EE license API | Gauvain Pocentek | 2018-06-13 | 2 | -9/+42 |
| | |||||
* | Implement MR-level approvals | Gauvain Pocentek | 2018-06-11 | 1 | -8/+36 |
| | | | | Fixes #323 | ||||
* | Add project push rules configuration (#520) | Eric Sabouraud | 2018-06-11 | 3 | -5/+33 |
| |