summaryrefslogtreecommitdiff
path: root/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* refactor: format everything blackrefactor/blackMax Wittig2019-05-1618-2032/+2661
|
* Revert "Custom cli actions fix"revert-760-custom_cli_actions_fixMax Wittig2019-05-101-5/+5
|
* Merge pull request #760 from kkoralsky/custom_cli_actions_fixMax Wittig2019-05-101-5/+5
|\ | | | | Custom cli actions fix
| * fix -/_ replacament for *Manager custom actionsKarol Ossowski2019-04-241-3/+3
| |
| * dont ask for id attr if this is *Manager originating custom actionKarol Ossowski2019-04-241-2/+2
| |
* | whitespacesKarol Ossowski2019-05-021-1/+3
| |
* | fix docstring & improve coding styleKarol Ossowski2019-05-011-3/+3
| |
* | register cli action for delete_in_bulkKarol Ossowski2019-05-011-0/+1
| |
* | fix repository_id marshaling in cliKarol Ossowski2019-05-011-1/+1
| |
* | merged new release & registry apisKarol Ossowski2019-05-011-0/+41
| |
* | fix: pep8 errorsGauvain Pocentek2019-05-012-2/+3
| | | | | | | | Errors have not been detected by broken travis runs.
* | Use NoUpdateMixin for nowKris Gambirazzi2019-03-271-1/+1
| |
* | add project releases apiKris Gambirazzi2019-03-271-0/+12
|/
* Merge pull request #714 from jaraco/feature/runpy-invokeGauvain Pocentek2019-03-211-0/+4
|\ | | | | Add runpy hook, allowing invocation with 'python -m gitlab'.
| * Add runpy hook. Fixes #713.Jason R. Coombs2019-03-151-0/+4
| | | | | | | | Allows for invocation with 'python -m gitlab'
* | feat(GitLab Update): delete ProjectPipeline (#736)gouglhupf2019-03-211-2/+3
| | | | | | | | | | | | * feat(GitLab Update): delete ProjectPipeline As of Gitlab 11.6 it is now possible to delete a pipeline - https://docs.gitlab.com/ee/api/pipelines.html#delete-a-pipeline
* | Make gitlab.Gitlab.from_config a classmethodjeroen_decroos2019-03-072-9/+41
| |
* | Merge pull request #732 from hakanf/masterMax Wittig2019-03-071-4/+4
|\ \ | | | | | | Re-enable command specific help messages
| * | Use sys.exit as in rest of codeHakan Fouren2019-03-071-2/+2
| | |
| * | Re-enable command specific help mesaagesHakan Fouren2019-03-061-3/+3
| | | | | | | | | | | | This makes sure that the global help message wont be printed instead of the command spedific one unless we fail to read the configuration file
* | | Fix for #716: %d replaced by %sxarx002019-03-051-10/+10
|/ /
* | fix(api): Make *MemberManager.all() return a list of objectsfix/699Gauvain Pocentek2019-03-031-2/+4
|/ | | | Fixes #699
* 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