summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* chore: bump to 2.0.0refactor/cleanup-upgradeMax Wittig2019-12-181-1/+1
| | | | Dropping support for legacy python requires a new major version
* refactor: remove six dependencyMax Wittig2019-12-1811-32/+24
|
* chore: drop legacy python testsMax Wittig2019-12-184-30/+8
| | | | Support dropped for: 2.7, 3.4, 3.5
* chore: add PyYaml as extra requireMax Wittig2019-12-182-2/+5
|
* chore: bump minimum required requests versionMax Wittig2019-12-182-2/+2
| | | | for security reasons
* docs(projects): add raw file download docsMax Wittig2019-12-181-0/+7
| | | Fixes #969
* Merge pull request #941 from mchlumsky/feat/autocompletionMax Wittig2019-12-173-0/+65
|\ | | | | feat: add autocompletion support
| * feat: add autocompletion supportMartin Chlumsky2019-12-163-0/+65
|/
* chore: bump version to 1.15.0v1.15.0Max Wittig2019-12-161-1/+1
|
* Merge pull request #959 from andrew-littlebits/feat/import-githubMax Wittig2019-12-164-0/+109
|\ | | | | feat: add support for /import/github
| * feat: allow cfg timeout to be overrided via kwargsAndrew Tergis2019-12-163-13/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | 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/githubAndrew Tergis2019-12-162-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-1Max Wittig2019-12-161-4/+6
|\ | | | | Nicer stacktrace
| * feat: nicer stacktraceMitar2019-12-161-4/+6
| |
* | Merge pull request #971 from jooola/ci_vars_typeMax Wittig2019-12-161-4/+4
|\ \ | | | | | | feat: add more options for project/group ci variables manipulation
| * | feat: add variable_type/protected to projects ci variablesjo2019-12-121-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 variablesjo2019-12-121-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 #974 from python-gitlab/docs/file-deletion-docsMax Wittig2019-12-161-1/+1
|\ \ \ | |_|/ |/| | docs(projects): fix file deletion docs
| * | docs(projects): fix file deletion docsdocs/file-deletion-docsVeLKerr2019-12-161-1/+1
|/ / | | | | | | The function `file.delete()` requires `branch` argument in addition to `commit_message`.
* | Merge pull request #968 from mitar/statsMax Wittig2019-12-133-0/+129
|\ \ | | | | | | Stats
| * | test: added tests for statisticsMitar2019-12-121-0/+56
| | |
| * | docs: added docs for statisticsMitar2019-12-121-0/+51
| | |
| * | feat: access project's issues statisticsMitar2019-12-121-0/+11
| | | | | | | | | | | | Fixes #966
| * | feat: adding project statsMitar2019-12-121-0/+11
| |/ | | | | | | Fixes #967
* | Merge pull request #972 from mitar/http-retryMax Wittig2019-12-132-1/+23
|\ \ | |/ |/| Retry transient HTTP errors
| * feat: retry transient HTTP errorsMitar2019-12-122-1/+23
|/ | | | Fixes #970
* Merge pull request #963 from python-gitlab/fix/as_listRoger Meier2019-12-094-6/+24
|\ | | | | Fix/as list
| * test: test that all is ignored, when as_list=Falsefix/as_listMax Wittig2019-12-081-0/+18
| |
| * style: format with the latest black versionMax Wittig2019-12-082-5/+5
| |
| * fix: ignore all parameter, when as_list=TrueMax Wittig2019-12-081-1/+1
|/ | | | Closes #962
* chore(ci): use correct crane ciMax Wittig2019-12-071-1/+1
|
* chore: bump version to 1.14.0v1.14.0Max Wittig2019-12-071-1/+1
|
* Merge pull request #949 from idanbensha/add_audit_eventsMax Wittig2019-12-042-0/+11
|\ | | | | feat: add audit endpoint
| * feat: add audit endpointidanbensha2019-12-022-0/+11
| |
* | Merge pull request #958 from vvv/fix-docker-refMax Wittig2019-12-021-1/+1
|\ \ | | | | | | README.rst: fix the upstream Docker image reference
| * | docs(readme): fix Docker image referenceValery V. Vorotyntsev2019-12-021-1/+1
|/ / | | | | | | | | | | | | | | v1.8.0 is not available. ``` Unable to find image 'registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0' locally docker: Error response from daemon: manifest for registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0 not found: manifest unknown: manifest unknown. ```
* | Merge pull request #955 from python-gitlab/fix/snippet-docsMax Wittig2019-11-291-1/+1
|\ \ | | | | | | docs(snippets): fix snippet docs
| * | docs(snippets): fix snippet docsMax Wittig2019-11-291-1/+1
|/ / | | | | Fixes #954
* | Merge pull request #953 from bmwiedemann/masterMax Wittig2019-11-291-1/+1
|\ \ | |/ |/| Fix doc typo
| * docs: fix typoBernhard M. Wiedemann2019-11-291-1/+1
|/
* Merge pull request #947 from lundbird/masterMax Wittig2019-11-261-0/+82
|\ | | | | docs: add project and group cluster examples
| * docs: add project and group cluster examplesalex lundberg2019-11-251-0/+82
| |
* | Merge pull request #946 from lundbird/masterMax Wittig2019-11-253-0/+133
|\ \ | |/ | | feat: add project and group clusters
| * feat: add project and group clustersalex lundberg2019-11-243-0/+133
| |
* | chore(ci): switch to crane docker image (#944)Max Wittig2019-11-221-2/+3
| |
* | Merge pull request #943 from choyrim/942-project-fork-list-404Max Wittig2019-11-201-15/+12
|\ \ | | | | | | #942: fix up path computation for project-fork list
| * | fix(project-fork): copy create fix from ProjectPipelineManagerChoy Rim2019-11-201-0/+19
| | |
| * | fix(project-fork): correct path computation for project-fork listChoy Rim2019-11-201-23/+1
|/ /
* | docs(changelog): add notice for release-notes on Github (#938)Max Wittig2019-11-191-2/+4
|/
* Merge pull request #937 from sathieu/fix_labels_saveMax Wittig2019-11-141-2/+2
|\ | | | | fix(labels): ensure label.save() works