Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore: bump to 2.0.0refactor/cleanup-upgrade | Max Wittig | 2019-12-18 | 1 | -1/+1 |
| | | | | Dropping support for legacy python requires a new major version | ||||
* | refactor: remove six dependency | Max Wittig | 2019-12-18 | 6 | -26/+21 |
| | |||||
* | feat: add autocompletion support | Martin Chlumsky | 2019-12-16 | 1 | -0/+6 |
| | |||||
* | chore: bump version to 1.15.0v1.15.0 | Max Wittig | 2019-12-16 | 1 | -1/+1 |
| | |||||
* | feat: allow cfg timeout to be overrided via kwargs | Andrew Tergis | 2019-12-16 | 2 | -13/+15 |
| | | | | | | | | | | | | | 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 | 2 | -0/+90 |
| | | | | | | | | | | | | | | | | | | | 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 #973 from mitar/patch-1 | Max Wittig | 2019-12-16 | 1 | -4/+6 |
|\ | | | | | Nicer stacktrace | ||||
| * | feat: nicer stacktrace | Mitar | 2019-12-16 | 1 | -4/+6 |
| | | |||||
* | | 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 | ||||
* | | Merge pull request #968 from mitar/stats | Max Wittig | 2019-12-13 | 2 | -0/+78 |
|\ \ | | | | | | | Stats | ||||
| * | | test: added tests for statistics | Mitar | 2019-12-12 | 1 | -0/+56 |
| | | | |||||
| * | | 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 | ||||
* | | feat: retry transient HTTP errors | Mitar | 2019-12-12 | 1 | -1/+5 |
|/ | | | | Fixes #970 | ||||
* | test: test that all is ignored, when as_list=Falsefix/as_list | Max Wittig | 2019-12-08 | 1 | -0/+18 |
| | |||||
* | style: format with the latest black version | Max Wittig | 2019-12-08 | 1 | -4/+4 |
| | |||||
* | fix: ignore all parameter, when as_list=True | Max Wittig | 2019-12-08 | 1 | -1/+1 |
| | | | | Closes #962 | ||||
* | chore: bump version to 1.14.0v1.14.0 | Max Wittig | 2019-12-07 | 1 | -1/+1 |
| | |||||
* | feat: add audit endpoint | idanbensha | 2019-12-02 | 2 | -0/+11 |
| | |||||
* | 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 |
| | |||||
* | chore: bump version to 1.13.0choree/1-13-0 | Max Wittig | 2019-11-02 | 1 | -1/+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 | 3 | -0/+75 |
| | | | | These were introduced in GitLab 12.4 | ||||
* | feat: send python-gitlab version as user-agent | Max Wittig | 2019-10-24 | 1 | -1/+1 |
| | |||||
* | feat: add deployment creationfeat/deployment-create | Max Wittig | 2019-10-24 | 2 | -2/+47 |
| | | | | | | Added in GitLab 12.4 Fixes #917 | ||||
* | feat(test): unused unittest2, type -> isinstance | Cyril Jouve | 2019-10-13 | 7 | -64/+33 |
| | |||||
* | Merge pull request #904 from jouve/remove-cred-auth | Max Wittig | 2019-10-13 | 2 | -82/+1 |
|\ | | | | | remove deprecated session auth | ||||
| * | feat(auth): remove deprecated session auth | Cyril Jouve | 2019-10-12 | 2 | -82/+1 |
| | | |||||
* | | test: remove warning about open files from test_todo() | Derek Schrock | 2019-10-12 | 1 | -4/+5 |
|/ | | | | | | When running unittests python warns that the json file from test_todo() was still open. Use with to open, read, and create encoded json data that is used by resp_get_todo(). | ||||
* | fix: fix not working without authfix/non-auth | Max Wittig | 2019-10-07 | 1 | -8/+7 |
| | |||||
* | chore: bump to 1.12.0 | Max Wittig | 2019-10-06 | 1 | -1/+1 |
| | |||||
* | test(submodules): correct test methodfeat/update_submodule | Max Wittig | 2019-10-06 | 1 | -4/+4 |
| | |||||
* | docs(project): add submodule docs | Max Wittig | 2019-10-06 | 1 | -1/+1 |
| | |||||
* | feat(project): implement update_submodule | Sebastian Kratzert | 2019-10-06 | 2 | -0/+73 |
| | |||||
* | Merge pull request #892 from godaji/remove-unused-code | Max Wittig | 2019-10-06 | 4 | -6/+3 |
|\ | | | | | Remove unused code and simplify string format. | ||||
| * | refactor: remove unused code, simplify string format | godaji | 2019-10-06 | 4 | -6/+3 |
| | | |||||
* | | 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 |
| | |||||
* | test(todo): add unittests | Max Wittig | 2019-09-08 | 2 | -0/+121 |
| | |||||
* | style: format with black | Max Wittig | 2019-09-07 | 1 | -3/+1 |
| |