Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor: structure python objects in a reasonable way | Max Wittig | 2020-01-22 | 1 | -5021/+0 |
| | |||||
* | fix(projects): adjust snippets to match the API | Max Wittig | 2019-12-18 | 1 | -2/+5 |
| | |||||
* | feat: allow cfg timeout to be overrided via kwargs | Andrew Tergis | 2019-12-16 | 1 | -13/+13 |
| | | | | | | | | | | | | | On startup, the `timeout` parameter is loaded from config and stored on the base gitlab object instance. This instance parameter is used as the timeout for all API requests (it's passed into the `session` object when making HTTP calls). This change allows any API method to specify a `timeout` argument to `**kwargs` that will override the global timeout value. This was somewhat needed / helpful for the `import_github` method. I have also updated the docs accordingly. | ||||
* | feat: add support for /import/github | Andrew Tergis | 2019-12-16 | 1 | -0/+63 |
| | | | | | | | | | | | | | | | | | | | Addresses python-gitlab/python-gitlab#952 This adds a method to the `ProjectManager` called `import_github`, which maps to the `/import/github` API endpoint. Calling `import_github` will trigger an import operation from <repo_id> into <target_namespace>, using <personal_access_token> to authenticate against github. In practice a gitlab server may take many 10's of seconds to respond to this API call, so we also take the liberty of increasing the default timeout (only for this method invocation). Unfortunately since `import` is a protected keyword in python, I was unable to follow the endpoint structure with the manager namespace. I'm open to suggestions on a more sensible interface. I'm successfully using this addition to batch-import hundreds of github repositories into gitlab. | ||||
* | Merge pull request #971 from jooola/ci_vars_type | Max Wittig | 2019-12-16 | 1 | -4/+4 |
|\ | | | | | feat: add more options for project/group ci variables manipulation | ||||
| * | feat: add variable_type/protected to projects ci variables | jo | 2019-12-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | This adds the ci variables types and protected flag for create/update requests. See https://docs.gitlab.com/ee/api/project_level_variables.html#create-variable | ||||
| * | feat: add variable_type to groups ci variables | jo | 2019-12-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | This adds the ci variables types for create/update requests. See https://docs.gitlab.com/ee/api/group_level_variables.html#create-variable | ||||
* | | feat: access project's issues statistics | Mitar | 2019-12-12 | 1 | -0/+11 |
| | | | | | | | | Fixes #966 | ||||
* | | feat: adding project stats | Mitar | 2019-12-12 | 1 | -0/+11 |
|/ | | | | Fixes #967 | ||||
* | style: format with the latest black version | Max Wittig | 2019-12-08 | 1 | -4/+4 |
| | |||||
* | feat: add audit endpoint | idanbensha | 2019-12-02 | 1 | -0/+10 |
| | |||||
* | Merge pull request #946 from lundbird/master | Max Wittig | 2019-11-25 | 1 | -0/+92 |
|\ | | | | | feat: add project and group clusters | ||||
| * | feat: add project and group clusters | alex lundberg | 2019-11-24 | 1 | -0/+92 |
| | | |||||
* | | fix(project-fork): copy create fix from ProjectPipelineManager | Choy Rim | 2019-11-20 | 1 | -0/+19 |
| | | |||||
* | | fix(project-fork): correct path computation for project-fork list | Choy Rim | 2019-11-20 | 1 | -23/+1 |
|/ | |||||
* | fix(labels): ensure label.save() works | Mathieu Parent | 2019-11-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Otherwise, we get: File "gitlabracadabra/mixins/labels.py", line 67, in _process_labels current_label.save() File "gitlab/exceptions.py", line 267, in wrapped_f return f(*args, **kwargs) File "gitlab/v4/objects.py", line 896, in save self._update_attrs(server_data) File "gitlab/base.py", line 131, in _update_attrs self.__dict__["_attrs"].update(new_attrs) TypeError: 'NoneType' object is not iterable Because server_data is None. | ||||
* | fix: added missing attributes for project approvals | Tymoteusz Blazejczyk | 2019-11-12 | 1 | -0/+2 |
| | | | | | | | | Reference: https://docs.gitlab.com/ee/api/merge_request_approvals.html#change-configuration Missing attributes: * merge_requests_author_approval * merge_requests_disable_committers_approval | ||||
* | feat: add support for include_subgroups filter | Conor Nevin | 2019-11-06 | 1 | -0/+1 |
| | |||||
* | fix(projects): support `approval_rules` endpoint for projects | Srikanth Chelluri | 2019-10-27 | 1 | -0/+14 |
| | | | | | | | | | | | | The `approvers` API endpoint is deprecated [1]. GitLab instead uses the `approval_rules` API endpoint to modify approval settings for merge requests. This adds the functionality for project-level merge request approval settings. Note that there does not exist an endpoint to 'get' a single approval rule at this moment - only 'list'. [1] https://docs.gitlab.com/ee/api/merge_request_approvals.html | ||||
* | feat: add users activate, deactivate functionality | Max Wittig | 2019-10-25 | 1 | -0/+42 |
| | | | | These were introduced in GitLab 12.4 | ||||
* | feat: add deployment creationfeat/deployment-create | Max Wittig | 2019-10-24 | 1 | -2/+3 |
| | | | | | | Added in GitLab 12.4 Fixes #917 | ||||
* | docs(project): add submodule docs | Max Wittig | 2019-10-06 | 1 | -1/+1 |
| | |||||
* | feat(project): implement update_submodule | Sebastian Kratzert | 2019-10-06 | 1 | -0/+23 |
| | |||||
* | feat(project): add file blame api | Vincent Lae | 2019-10-04 | 1 | -0/+22 |
| | | | | https://docs.gitlab.com/ee/api/repository_files.html#get-file-blame-from-repository | ||||
* | fix(cli): fix cli command user-project list | Sergey Bondarev | 2019-09-27 | 1 | -2/+4 |
| | |||||
* | fix(labels): don't mangle label name on update | Mathieu Parent | 2019-09-24 | 1 | -2/+4 |
| | |||||
* | fix(todo): mark_all_as_done doesn't return anything | Max Wittig | 2019-09-08 | 1 | -4/+0 |
| | |||||
* | Merge pull request #875 from python-gitlab/feat/status-api | Max Wittig | 2019-09-05 | 1 | -0/+35 |
|\ | | | | | feat(user): add status api | ||||
| * | feat(user): add status api | Max Wittig | 2019-09-05 | 1 | -0/+35 |
| | | |||||
* | | test: re-enabled py_func_v4 test | Max Wittig | 2019-09-05 | 1 | -80/+40 |
|/ | |||||
* | Merge pull request #865 from orf/retrieve-environment | Max Wittig | 2019-08-22 | 1 | -1/+1 |
|\ | | | | | feat: add methods to retrieve an individual project environment | ||||
| * | feat: add methods to retrieve an individual project environment | Tom Forbes | 2019-08-20 | 1 | -1/+1 |
| | | |||||
* | | fix(projects): avatar uploading for projects | Ravan Scafi | 2019-08-14 | 1 | -0/+1 |
|/ | |||||
* | fix: remove empty list default arguments | Frantisek Lachman | 2019-08-14 | 1 | -2/+7 |
| | | | | Signed-off-by: Frantisek Lachman <flachman@redhat.com> | ||||
* | fix: remove empty dict default arguments | Frantisek Lachman | 2019-08-14 | 1 | -8/+12 |
| | | | | Signed-off-by: Frantisek Lachman <flachman@redhat.com> | ||||
* | fix: add project and group label update without id to fix cli | Alberto López Martín | 2019-07-26 | 1 | -0/+22 |
| | |||||
* | feat: group labels with subscriptable mixin | Alberto López Martín | 2019-07-26 | 1 | -0/+48 |
| | |||||
* | fix(cli): allow --recursive parameter in repository tree | xarx00 | 2019-07-21 | 1 | -1/+1 |
| | | | | | Fixes #718 Fixes #731 | ||||
* | Merge pull request #823 from jeroen92/rebase-mr | Max Wittig | 2019-07-21 | 1 | -0/+16 |
|\ | | | | | Resolve #822, add mr rebase | ||||
| * | feat: add mr rebase method | Jeroen Schutrup | 2019-07-11 | 1 | -0/+16 |
| | | |||||
* | | style: format with black again | Max Wittig | 2019-07-20 | 1 | -3/+16 |
| | | |||||
* | | feat: get artifact by ref and job | Jeff Groom | 2019-07-11 | 1 | -0/+32 |
|/ | |||||
* | Merge pull request #803 from python-gitlab/feat/related_mr | Max Wittig | 2019-07-01 | 1 | -0/+18 |
|\ | | | | | feat: add support for issue.related_merge_requests | ||||
| * | feat: add support for issue.related_merge_requestsfeat/related_mr | Gauvain Pocentek | 2019-06-20 | 1 | -0/+18 |
| | | | | | | | | Closes #794 | ||||
* | | feat: add support for board updatefeat/update_board | Gauvain Pocentek | 2019-06-20 | 1 | -4/+4 |
|/ | | | | Closes #801 | ||||
* | feat: implement artifacts deletionfix/744/delete_artifacts | Gauvain Pocentek | 2019-06-10 | 1 | -0/+15 |
| | | | | Closes #744 | ||||
* | feat: add endpoint to get the variables of a pipeline | Agustin Henze | 2019-06-10 | 1 | -1/+14 |
| | | | | | | It adds a new endpoint which was released in the Gitlab CE 11.11. Signed-off-by: Agustin Henze <tin@redhat.com> | ||||
* | refactor: format everything blackrefactor/black | Max Wittig | 2019-05-16 | 1 | -1190/+1640 |
| | |||||
* | whitespaces | Karol Ossowski | 2019-05-02 | 1 | -1/+3 |
| | |||||
* | fix docstring & improve coding style | Karol Ossowski | 2019-05-01 | 1 | -3/+3 |
| |