summaryrefslogtreecommitdiff
path: root/docs/cli-usage.rst
Commit message (Collapse)AuthorAgeFilesLines
* feat(client): replace basic auth with OAuth ROPC flowfeat/oauth2-resource-password-flowNejc Habjan2023-02-161-2/+1
|
* docs(api): describe the list() and all() runners' functionsLiora Milbaum2022-10-091-2/+2
|
* docs: document CI Lint usageNejc Habjan2022-07-051-0/+2
|
* docs: describe ROPC flow in place of password authenticationNejc Habjan2022-07-041-7/+2
|
* chore(docs): use admonitions consistentlyNejc Habjan2022-01-081-1/+1
|
* docs: switch to Furo and refresh introduction pagesNejc Habjan2022-01-041-171/+3
|
* feat(cli): allow options from args and environment variablesNejc Habjan2022-01-021-7/+50
| | | | | | | | BREAKING-CHANGE: The gitlab CLI will now accept CLI arguments and environment variables for its global options in addition to configuration file options. This may change behavior for some workflows such as running inside GitLab CI and with certain environment variables configured.
* feat(cli): do not require config file to run CLIfeat/cli-without-config-fileNejc Habjan2021-12-131-3/+11
| | | | | | | | | | | BREAKING CHANGE: A config file is no longer needed to run the CLI. python-gitlab will default to https://gitlab.com with no authentication if there is no config file provided. python-gitlab will now also only look for configuration in the provided PYTHON_GITLAB_CFG path, instead of merging it with user- and system-wide config files. If the environment variable is defined and the file cannot be opened, python-gitlab will now explicitly fail.
* feat: default to gitlab.com if no URL givenNejc Habjan2021-09-081-7/+9
| | | | | BREAKING CHANGE: python-gitlab will now default to gitlab.com if no URL is given
* fix!: raise error if there is a 301/302 redirectionJohn L. Villalovos2021-09-081-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Before we raised an error if there was a 301, 302 redirect but only from an http URL to an https URL. But we didn't raise an error for any other redirects. This caused two problems: 1. PUT requests that are redirected get changed to GET requests which don't perform the desired action but raise no error. This is because the GET response succeeds but since it wasn't a PUT it doesn't update. See issue: https://github.com/python-gitlab/python-gitlab/issues/1432 2. POST requests that are redirected also got changed to GET requests. They also caused hard to debug tracebacks for the user. See issue: https://github.com/python-gitlab/python-gitlab/issues/1477 Correct this by always raising a RedirectError exception and improve the exception message to let them know what was redirected. Closes: #1485 Closes: #1432 Closes: #1477
* feat(objects): add support for generic packages APINejc Habjan2021-05-311-0/+14
|
* docs: fail on warnings during sphinx buildNejc Habjan2021-05-011-1/+1
| | | | This is useful when docs aren't included in the toctree and don't show up on RTD.
* chore(config): allow simple commands without external scriptKay-Uwe (Kiwi) Lorenz2021-04-181-10/+40
|
* fix: update doc for token helperKay-Uwe (Kiwi) Lorenz2021-03-071-2/+3
|
* fix: make secret helper more user friendlyKay-Uwe (Kiwi) Lorenz2021-03-071-1/+22
|
* fix: better real life token lookup exampleKay-Uwe (Kiwi) Lorenz2021-03-061-1/+1
|
* feat: option to add a helper to lookup tokenKay-Uwe (Kiwi) Lorenz2021-03-061-1/+1
|
* docs: add docs and examples for custom user agentfeat/override-user-agentNejc Habjan2021-01-311-0/+3
|
* Merge pull request #1230 from manuel-91/patch-1Max Wittig2021-01-291-1/+1
|\ | | | | cli-usage readme: fixed term
| * docs(cli-usage): fixed termmanuel-912021-01-291-1/+1
| |
* | docs(cli): use inline anonymous references for external linksPeter Bittner2020-12-171-6/+7
|/ | | | | | There doesn't seem to be an obvious way to use an alias for identical text labels that link to different targets. With inline links we can work around this shortcoming. Until we know better.
* docs(cli): add example for job artifacts downloadNejc Habjan2020-10-121-0/+6
|
* docs(cli): add auto-generated CLI referencedocs/cli-reference-pageNejc Habjan2020-10-111-0/+399