summaryrefslogtreecommitdiff
path: root/gitlab/config.py
Commit message (Collapse)AuthorAgeFilesLines
* feat(cli): do not require config file to run CLIfeat/cli-without-config-fileNejc Habjan2021-12-131-60/+94
| | | | | | | | | | | 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.
* refactor: use f-strings for string formattingNejc Habjan2021-11-051-4/+4
|
* feat: allow global retry_transient_errors setupKarun Japhet2021-08-291-0/+14
| | | | | | `retry_transient_errors` can now be set through the Gitlab instance and global configuration Documentation for API usage has been updated and missing tests have been added.
* chore: fix import ordering using isortJohn L. Villalovos2021-05-251-2/+2
| | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/
* chore: mypy: Disallow untyped definitionsJohn L. Villalovos2021-04-271-1/+1
| | | | | | | | | Be more strict and don't allow untyped definitions on the files we check. Also this adds type-hints for two of the decorators so that now functions/methods decorated by them will have their types be revealed correctly.
* chore(config): allow simple commands without external scriptKay-Uwe (Kiwi) Lorenz2021-04-181-6/+27
|
* chore: make lint happyKay-Uwe (Kiwi) Lorenz2021-03-071-1/+2
|
* fix: handling config value in _get_values_from_helperKay-Uwe (Kiwi) Lorenz2021-03-071-2/+4
|
* fix: let the homedir be expanded in path of helperKay-Uwe (Kiwi) Lorenz2021-03-071-1/+2
|
* chore: make lint happyKay-Uwe (Kiwi) Lorenz2021-03-071-6/+4
|
* fix: make secret helper more user friendlyKay-Uwe (Kiwi) Lorenz2021-03-071-9/+16
|
* feat: option to add a helper to lookup tokenKay-Uwe (Kiwi) Lorenz2021-03-061-0/+11
|
* chore: add type-hints to gitlab/config.pyJohn L. Villalovos2021-02-251-4/+7
|
* feat(api,cli): make user agent configurableNejc Habjan2021-01-311-0/+12
|
* fix(config): fix duplicate codefix/duplicate-codeMax Wittig2020-05-161-8/+0
| | | | Fixes #1094
* feat: allow an environment variable to specify config locationJeremy Cline2020-04-161-1/+11
| | | | | | | | It can be useful (especially in scripts) to specify a configuration location via an environment variable. If the "PYTHON_GITLAB_CFG" environment variable is defined, treat its value as the path to a configuration file and include it in the set of default configuration locations.
* chore: use raise..from for chained exceptions (#939)fix/raise-fromNejc Habjan2020-03-301-4/+4
|
* feat: add global order_by option to ease paginationfeat/keyset-paginationMax Wittig2020-01-261-0/+6
|
* feat: support keyset pagination globallyMax Wittig2020-01-261-0/+6
|
* refactor: remove six dependencyMax Wittig2019-12-181-2/+1
|
* refactor: remove unused code, simplify string formatgodaji2019-10-061-1/+1
|
* feat: add support for job tokenMathieu Parent2019-09-061-0/+6
| | | | See https://docs.gitlab.com/ee/api/jobs.html#get-job-artifacts for usage
* refactor: format everything blackrefactor/blackMax Wittig2019-05-161-39/+30
|
* fix(cli): exit on config parse error, instead of crashingMax Wittig2018-11-041-0/+17
| | | | * Exit and hint user about possible errors * test: adjust test cases to config missing error
* add per_page config optionCyril Jouve2018-05-221-0/+10
|
* Drop API v3 supportGauvain Pocentek2018-05-191-1/+1
| | | | Drop the code, the tests, and update the documentation.
* Default to API v4Gauvain Pocentek2018-02-051-1/+1
|
* config: support api_version in the global sectionGauvain Pocentek2018-02-041-0/+4
| | | | Fixes #421
* Add support for oauth and anonymous auth in config/CLIGauvain Pocentek2017-11-101-1/+23
|
* Support SSL verification via internal CA bundleMaura Hausman2017-08-041-0/+17
| | | | | - Also updates documentation - See issues #204 and #270
* update copyright yearsGauvain Pocentek2017-05-241-1/+1
|
* Initial, non-functional v4 supportGauvain Pocentek2017-05-231-0/+9
|
* Added support for HTTP basic authenticationPeter Mosmans2016-05-301-0/+10
|
* unit tests for config parserGauvain Pocentek2016-01-091-4/+1
|
* Provide a Gitlab.from_config methodGauvain Pocentek2015-08-211-0/+83
It provides the Gitlab object creation from the ~/.python-gitlab.cfg, just like the CLI does.