Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat: add keep_base_url when getting configuration from file | Antoine Meynard | 2022-12-03 | 1 | -0/+10 |
| | |||||
* | chore: remove broad Exception catching from `config.py` | John L. Villalovos | 2022-08-05 | 1 | -25/+21 |
| | | | | | | Change "except Exception:" catching to more granular exceptions. A step in enabling the "broad-except" check in pylint. | ||||
* | chore: consolidate license and authors | Nejc Habjan | 2022-08-04 | 1 | -17/+0 |
| | |||||
* | chore: make code PEP597 compliant | John L. Villalovos | 2022-07-28 | 1 | -1/+1 |
| | | | | | | Use `encoding="utf-8"` in `open()` and open-like functions. https://peps.python.org/pep-0597/ | ||||
* | fix(config): raise error when gitlab id provided but no config section found | Nejc Habjan | 2022-07-22 | 1 | -0/+6 |
| | |||||
* | fix(config): raise error when gitlab id provided but no config file found | Nejc Habjan | 2022-07-22 | 1 | -0/+5 |
| | |||||
* | chore: enable pylint check "raise-missing-from" | John L. Villalovos | 2022-06-04 | 1 | -2/+4 |
| | | | | Enable the pylint check "raise-missing-from" and fix errors detected. | ||||
* | test(gitlab): increase unit test coverage | Nejc Habjan | 2022-05-29 | 1 | -3/+5 |
| | |||||
* | chore: remove old-style classes | Nejc Habjan | 2022-01-23 | 1 | -1/+1 |
| | |||||
* | feat(cli): allow options from args and environment variables | Nejc Habjan | 2022-01-02 | 1 | -2/+2 |
| | | | | | | | | 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-file | Nejc Habjan | 2021-12-13 | 1 | -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 formatting | Nejc Habjan | 2021-11-05 | 1 | -4/+4 |
| | |||||
* | feat: allow global retry_transient_errors setup | Karun Japhet | 2021-08-29 | 1 | -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 isort | John L. Villalovos | 2021-05-25 | 1 | -2/+2 |
| | | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/ | ||||
* | chore: mypy: Disallow untyped definitions | John L. Villalovos | 2021-04-27 | 1 | -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 script | Kay-Uwe (Kiwi) Lorenz | 2021-04-18 | 1 | -6/+27 |
| | |||||
* | chore: make lint happy | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 1 | -1/+2 |
| | |||||
* | fix: handling config value in _get_values_from_helper | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 1 | -2/+4 |
| | |||||
* | fix: let the homedir be expanded in path of helper | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 1 | -1/+2 |
| | |||||
* | chore: make lint happy | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 1 | -6/+4 |
| | |||||
* | fix: make secret helper more user friendly | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 1 | -9/+16 |
| | |||||
* | feat: option to add a helper to lookup token | Kay-Uwe (Kiwi) Lorenz | 2021-03-06 | 1 | -0/+11 |
| | |||||
* | chore: add type-hints to gitlab/config.py | John L. Villalovos | 2021-02-25 | 1 | -4/+7 |
| | |||||
* | feat(api,cli): make user agent configurable | Nejc Habjan | 2021-01-31 | 1 | -0/+12 |
| | |||||
* | fix(config): fix duplicate codefix/duplicate-code | Max Wittig | 2020-05-16 | 1 | -8/+0 |
| | | | | Fixes #1094 | ||||
* | feat: allow an environment variable to specify config location | Jeremy Cline | 2020-04-16 | 1 | -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-from | Nejc Habjan | 2020-03-30 | 1 | -4/+4 |
| | |||||
* | feat: add global order_by option to ease paginationfeat/keyset-pagination | Max Wittig | 2020-01-26 | 1 | -0/+6 |
| | |||||
* | feat: support keyset pagination globally | Max Wittig | 2020-01-26 | 1 | -0/+6 |
| | |||||
* | refactor: remove six dependency | Max Wittig | 2019-12-18 | 1 | -2/+1 |
| | |||||
* | refactor: remove unused code, simplify string format | godaji | 2019-10-06 | 1 | -1/+1 |
| | |||||
* | feat: add support for job token | Mathieu Parent | 2019-09-06 | 1 | -0/+6 |
| | | | | See https://docs.gitlab.com/ee/api/jobs.html#get-job-artifacts for usage | ||||
* | refactor: format everything blackrefactor/black | Max Wittig | 2019-05-16 | 1 | -39/+30 |
| | |||||
* | fix(cli): exit on config parse error, instead of crashing | Max Wittig | 2018-11-04 | 1 | -0/+17 |
| | | | | * Exit and hint user about possible errors * test: adjust test cases to config missing error | ||||
* | add per_page config option | Cyril Jouve | 2018-05-22 | 1 | -0/+10 |
| | |||||
* | Drop API v3 support | Gauvain Pocentek | 2018-05-19 | 1 | -1/+1 |
| | | | | Drop the code, the tests, and update the documentation. | ||||
* | Default to API v4 | Gauvain Pocentek | 2018-02-05 | 1 | -1/+1 |
| | |||||
* | config: support api_version in the global section | Gauvain Pocentek | 2018-02-04 | 1 | -0/+4 |
| | | | | Fixes #421 | ||||
* | Add support for oauth and anonymous auth in config/CLI | Gauvain Pocentek | 2017-11-10 | 1 | -1/+23 |
| | |||||
* | Support SSL verification via internal CA bundle | Maura Hausman | 2017-08-04 | 1 | -0/+17 |
| | | | | | - Also updates documentation - See issues #204 and #270 | ||||
* | update copyright years | Gauvain Pocentek | 2017-05-24 | 1 | -1/+1 |
| | |||||
* | Initial, non-functional v4 support | Gauvain Pocentek | 2017-05-23 | 1 | -0/+9 |
| | |||||
* | Added support for HTTP basic authentication | Peter Mosmans | 2016-05-30 | 1 | -0/+10 |
| | |||||
* | unit tests for config parser | Gauvain Pocentek | 2016-01-09 | 1 | -4/+1 |
| | |||||
* | Provide a Gitlab.from_config method | Gauvain Pocentek | 2015-08-21 | 1 | -0/+83 |
It provides the Gitlab object creation from the ~/.python-gitlab.cfg, just like the CLI does. |