summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* chore: another tryrefactor/structure-objectsMax Wittig2020-01-228-58/+58
|
* refactor: structure python objects in a reasonable wayMax Wittig2020-01-2224-319/+1936
|
* Merge pull request #988 from jgroom33/patch-3Max Wittig2020-01-081-1/+1
|\ | | | | docs: fix snippet get in project
| * docs: fix snippet get in projectJeff Groom2020-01-081-1/+1
|/
* Merge pull request #984 from derekschrock/patch-1Max Wittig2019-12-221-1/+1
|\ | | | | chore: build_sphinx needs sphinx >= 1.7.6
| * chore: build_sphinx needs sphinx >= 1.7.6Derek Schrock2019-12-211-1/+1
|/ | | Stepping thru Sphinx versions from 1.6.5 to 1.7.5 build_sphinx fails. Once Sphinx == 1.7.6 build_sphinx finished.
* Merge pull request #982 from python-gitlab/chore/version-requirementsRoger Meier2019-12-181-0/+1
|\ | | | | chore: enforce python version requirements
| * chore: enforce python version requirementschore/version-requirementsMax Wittig2019-12-181-0/+1
|/
* Merge pull request #980 from python-gitlab/refactor/cleanup-upgradeRoger Meier2019-12-1815-66/+39
|\ | | | | Refactor/cleanup upgrade
| * 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
* | Merge pull request #979 from python-gitlab/fix/project-snippetsRoger Meier2019-12-184-3/+146
|\ \ | |/ |/| Fix/project snippets
| * test: adjust functional tests for project snippetsMax Wittig2019-12-181-1/+1
| |
| * test: add project snippet testsMax Wittig2019-12-182-0/+140
| |
| * fix(projects): adjust snippets to match the APIMax Wittig2019-12-181-2/+5
|/
* 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