Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test(cli): improve basic CLI coveragetest/cli-coverage | Nejc Habjan | 2021-11-27 | 1 | -3/+3 |
| | |||||
* | refactor: use f-strings for string formatting | Nejc Habjan | 2021-11-05 | 1 | -4/+4 |
| | |||||
* | feat(api): add MR pipeline manager in favor of pipelines() method | Nejc Habjan | 2021-06-13 | 1 | -1/+2 |
| | |||||
* | chore: correct a type-hint | John L. Villalovos | 2021-05-28 | 1 | -1/+2 |
| | |||||
* | chore: fix import ordering using isort | John L. Villalovos | 2021-05-25 | 1 | -1/+0 |
| | | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/ | ||||
* | fix(cli): fix parsing CLI objects to classnames | Nejc Habjan | 2021-05-15 | 1 | -7/+19 |
| | |||||
* | chore: mypy: Disallow untyped definitions | John L. Villalovos | 2021-04-27 | 1 | -27/+28 |
| | | | | | | | | | 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: fix F841 errors reported by flake8 | John L. Villalovos | 2021-04-18 | 1 | -1/+0 |
| | | | | | | Local variable name is assigned to but never used https://www.flake8rules.com/rules/F841.html | ||||
* | chore: fix F401 errors reported by flake8 | John L. Villalovos | 2021-04-18 | 1 | -1/+1 |
| | | | | | | F401: Module imported but unused https://www.flake8rules.com/rules/F401.html | ||||
* | chore: disallow incomplete type defs | John L. Villalovos | 2021-02-28 | 1 | -8/+11 |
| | | | | | | | | | | Don't allow a partially annotated function definition. Either none of the function is annotated or all of it must be. Update code to ensure no-more partially annotated functions. Update gitlab/cli.py with better type-hints. Changed Tuple[Any, ...] to Tuple[str, ...] | ||||
* | chore: add type-hints to gitlab/cli.py | John L. Villalovos | 2021-02-25 | 1 | -8/+11 |
| | |||||
* | fix: wrong variable name | John L. Villalovos | 2021-02-25 | 1 | -1/+1 |
| | | | | | Discovered this when I ran flake8 on the file. Unfortunately I was the one who introduced this wrong variable name :( | ||||
* | feat: add an initial mypy test to tox.ini | John L. Villalovos | 2021-02-22 | 1 | -1/+1 |
| | | | | Add an initial mypy test to test gitlab/base.py and gitlab/__init__.py | ||||
* | chore: explicitly import gitlab.v4.objects/cli | John L. Villalovos | 2021-02-21 | 1 | -6/+13 |
| | | | | | | | | | | | | | | | | | As we only support the v4 Gitlab API, explicitly import gitlab.v4.objects and gitlab.v4.clie instead of dynamically importing it depending on the API version. This has the added benefit of mypy being able to type check the Gitlab __init__() function as currently it will fail if we enable type checking of __init__() it will fail. Also, this also helps by not confusing tools like pyinstaller/cx_freeze with dynamic imports so you don't need hooks for standalone executables. And according to https://docs.gitlab.com/ee/api/, "GraphQL co-exists with the current v4 REST API. If we have a v5 API, this should be a compatibility layer on top of GraphQL." | ||||
* | docs(cli): add auto-generated CLI referencedocs/cli-reference-page | Nejc Habjan | 2020-10-11 | 1 | -0/+14 |
| | |||||
* | chore: remove remnants of python2 imports | Nejc Habjan | 2020-08-22 | 1 | -1/+0 |
| | |||||
* | feat: add autocompletion support | Martin Chlumsky | 2019-12-16 | 1 | -0/+6 |
| | |||||
* | 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 | -1/+1 |
| | | | | See https://docs.gitlab.com/ee/api/jobs.html#get-job-artifacts for usage | ||||
* | fix(cli): don't fail when the short print attr value is None | xarx00 | 2019-07-21 | 1 | -2/+2 |
| | | | | | Fixes #717 Fixes #727 | ||||
* | refactor: format everything blackrefactor/black | Max Wittig | 2019-05-16 | 1 | -42/+67 |
| | |||||
* | Use sys.exit as in rest of code | Hakan Fouren | 2019-03-07 | 1 | -2/+2 |
| | |||||
* | Re-enable command specific help mesaages | Hakan Fouren | 2019-03-06 | 1 | -3/+3 |
| | | | | This makes sure that the global help message wont be printed instead of the command spedific one unless we fail to read the configuration file | ||||
* | fix(cli): exit on config parse error, instead of crashing | Max Wittig | 2018-11-04 | 1 | -3/+8 |
| | | | | * Exit and hint user about possible errors * test: adjust test cases to config missing error | ||||
* | fix(cli): print help and usage without config filefix/help-usage | Max Wittig | 2018-10-04 | 1 | -1/+5 |
| | | | | Fixes #560 | ||||
* | silence logs/warnings in unittests | Cyril Jouve | 2018-06-07 | 1 | -1/+2 |
| | |||||
* | pep8 fix | Gauvain Pocentek | 2018-03-11 | 1 | -1/+2 |
| | |||||
* | [cli] Restore the --help option behavior | Gauvain Pocentek | 2018-03-11 | 1 | -3/+9 |
| | | | | Fixes #381 | ||||
* | [cli] Allow to read args from files | Gauvain Pocentek | 2018-03-05 | 1 | -1/+14 |
| | | | | | | | With the @/file/path syntax (similar to curl) user can provide values from attributes in files. Fixes #448 | ||||
* | Add support for oauth and anonymous auth in config/CLI | Gauvain Pocentek | 2017-11-10 | 1 | -2/+3 |
| | |||||
* | pep8 fix | Gauvain Pocentek | 2017-09-07 | 1 | -1/+1 |
| | |||||
* | [v4] fix CLI for some mixin methods | Gauvain Pocentek | 2017-09-07 | 1 | -10/+15 |
| | |||||
* | CLI: yaml and json outputs for v4 | Gauvain Pocentek | 2017-08-18 | 1 | -4/+16 |
| | | | | | | Verbose mode only works with the legacy output. Also add support for filtering the output by defining the list of fields that need to be displayed (yaml and json only). | ||||
* | [v4] CLI support is back | Gauvain Pocentek | 2017-08-17 | 1 | -2/+39 |
| | |||||
* | Refactor the CLI | Gauvain Pocentek | 2017-06-25 | 1 | -0/+105 |
| | | | | | | | v3 and v4 CLI will be very different, so start moving things in their own folders. For now v4 isn't working at all. | ||||
* | Add missing doc files | Gauvain Pocentek | 2017-06-25 | 1 | -564/+0 |
| | |||||
* | Remove unused future.division import | Gauvain Pocentek | 2017-06-11 | 1 | -1/+0 |
| | | | | We don't do math. | ||||
* | update copyright years | Gauvain Pocentek | 2017-05-24 | 1 | -1/+1 |
| | |||||
* | Provide API wrapper for cherry picking commits (#236) | Christian | 2017-03-21 | 1 | -1/+10 |
| | |||||
* | [CLI] Fix wrong use of arguments | Gauvain Pocentek | 2016-12-25 | 1 | -4/+4 |
| | | | | | The previous change removed undefined arguments from the args dict, don't try to use possibly missing arguments without a fallback value. | ||||
* | [CLI] ignore empty arguments | Gauvain Pocentek | 2016-12-24 | 1 | -1/+4 |
| | | | | | | | Gitlab 8.15 doesn't appreciate arguments with None as value. This breaks the python-gitlab CLI. Fixes #199 | ||||
* | CLI: add support for project all --all | Gauvain Pocentek | 2016-11-19 | 1 | -4/+13 |
| | | | | | | Rework the extra opts definition to allow setting typed arguments. Fixes #153 | ||||
* | Add support for --all in CLI | Gauvain Pocentek | 2016-09-23 | 1 | -0/+2 |
| | | | | Fixes #153 | ||||
* | CLI: refactor _die() | Gauvain Pocentek | 2016-07-18 | 1 | -35/+36 |
| | |||||
* | Fix pep8 test | Gauvain Pocentek | 2016-07-16 | 1 | -1/+2 |
| | |||||
* | implement CLI for project archive/unarchive/share | Gauvain Pocentek | 2016-07-16 | 1 | -1/+25 |
| | |||||
* | Add support for project-issue move | Gauvain Pocentek | 2016-06-19 | 1 | -1/+10 |
| | |||||
* | Add support for build artifacts and traceissue-122 | Gauvain Pocentek | 2016-06-07 | 1 | -1/+17 |
| | | | | Fixes #122 | ||||
* | project issue: doc and CLI for (un)subscribe | Gauvain Pocentek | 2016-05-28 | 1 | -0/+16 |
| | |||||
* | Manage optional parameters for list() and get() | Gauvain Pocentek | 2016-05-15 | 1 | -3/+13 |
| | | | | | * List these elements in the API doc * Implement for License objects |