summaryrefslogtreecommitdiff
path: root/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* fix(cli): fix update value for key not workingproject-variable-updatenateatkins2019-07-211-0/+2
|
* Merge pull request #823 from jeroen92/rebase-mrMax Wittig2019-07-212-0/+20
|\ | | | | Resolve #822, add mr rebase
| * feat: add mr rebase methodJeroen Schutrup2019-07-112-0/+20
| |
* | style: format with black againMax Wittig2019-07-201-3/+16
| |
* | feat: get artifact by ref and jobJeff Groom2019-07-111-0/+32
|/
* Merge pull request #803 from python-gitlab/feat/related_mrMax Wittig2019-07-011-0/+18
|\ | | | | feat: add support for issue.related_merge_requests
| * feat: add support for issue.related_merge_requestsfeat/related_mrGauvain Pocentek2019-06-201-0/+18
| | | | | | | | Closes #794
* | feat: add support for board updatefeat/update_boardGauvain Pocentek2019-06-201-4/+4
|/ | | | Closes #801
* feat: bump version to 1.9.0feat/version-bumpMax Wittig2019-06-191-1/+1
|
* feat: implement artifacts deletionfix/744/delete_artifactsGauvain Pocentek2019-06-101-0/+15
| | | | Closes #744
* Merge pull request #785 from agustinhenze/add-pipeline-get-variables-endpointMax Wittig2019-06-101-1/+14
|\ | | | | Add new endpoint to get the variables of a pipeline
| * feat: add endpoint to get the variables of a pipelineAgustin Henze2019-06-101-1/+14
| | | | | | | | | | | | It adds a new endpoint which was released in the Gitlab CE 11.11. Signed-off-by: Agustin Henze <tin@redhat.com>
* | fix: convert # to %23 in URLsfix/779Gauvain Pocentek2019-06-083-3/+51
|/ | | | | | Refactor a bit to handle this change, and add unit tests. Closes #779
* 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