Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | test: add tests and clean up usage for new enums | Nejc Habjan | 2022-06-27 | 12 | -45/+84 | |
| | | ||||||
* | | refactor: do not recommend plain gitlab.const constants | Nejc Habjan | 2022-06-27 | 2 | -6/+10 | |
| | | ||||||
* | | chore(deps): ignore python-semantic-release updates | Nejc Habjan | 2022-06-27 | 1 | -0/+1 | |
| | | ||||||
* | | refactor: avoid possible breaking change in iterator (#2107) | John Villalovos | 2022-06-27 | 10 | -28/+66 | |
| | | | | | | | | | | | | | | | | Commit b6447211754e126f64e12fc735ad74fe557b7fb4 inadvertently introduced a possible breaking change as it added a new argument `iterator` and added it in between existing (potentially positional) arguments. This moves the `iterator` argument to the end of the argument list and requires it to be a keyword-only argument. | |||||
* | | Merge pull request #2105 from python-gitlab/renovate/actions-setup-python-4.x | Nejc Habjan | 2022-06-27 | 4 | -7/+11 | |
|\ \ | | | | | | | chore(deps): update actions/setup-python action to v4 | |||||
| * | | chore(workflows): explicitly use python-version | Nejc Habjan | 2022-06-27 | 2 | -0/+4 | |
| | | | ||||||
| * | | chore(deps): update actions/setup-python action to v4 | renovate[bot] | 2022-06-27 | 4 | -7/+7 | |
| | | | ||||||
* | | | Merge pull request #2100 from python-gitlab/jlvillal/pylint_2022-06-26 | Nejc Habjan | 2022-06-27 | 9 | -20/+19 | |
|\ \ \ | | | | | | | | | test(pylint): enable pylint "unused-argument" check | |||||
| * | | | test(pylint): enable pylint "unused-argument" check | John L. Villalovos | 2022-06-26 | 9 | -20/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the pylint "unused-argument" check and resolve issues it found. * Quite a few functions were accepting `**kwargs` but not then passing them on through to the next level. Now pass `**kwargs` to next level. * Other functions had no reason to accept `**kwargs`, so remove it * And a few other fixes. | |||||
* | | | | chore(deps): update typing dependencies | renovate[bot] | 2022-06-26 | 2 | -6/+6 | |
| |/ / |/| | | ||||||
* | | | chore(deps): update pre-commit hook pycqa/pylint to v2.14.3 | renovate[bot] | 2022-06-26 | 1 | -1/+1 | |
|/ / | ||||||
* | | feat(downloads): allow streaming downloads access to response iterator (#1956) | Tom Catshoek | 2022-06-26 | 13 | -37/+165 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(downloads): allow streaming downloads access to response iterator Allow access to the underlying response iterator when downloading in streaming mode by specifying `iterator=True`. Update type annotations to support this change. * docs(api-docs): add iterator example to artifact download Document the usage of the `iterator=True` option when downloading artifacts * test(packages): add tests for streaming downloads | |||||
* | | refactor: remove no-op id argument in GetWithoutIdMixin | Nejc Habjan | 2022-06-25 | 12 | -92/+54 | |
| | | ||||||
* | | docs(api): add separate section for advanced usage | Nejc Habjan | 2022-06-25 | 3 | -160/+164 | |
| | | ||||||
* | | Merge pull request #2061 from bgamari/patch-1 | Nejc Habjan | 2022-06-25 | 4 | -0/+85 | |
|\ \ | | | | | | | feat(users): add approve and reject methods to User | |||||
| * | | feat(users): add approve and reject methods to User | Ben Gamari | 2022-06-25 | 4 | -0/+85 | |
| | | | | | | | | | | | | | | | | | | As requested in #1604. Co-authored-by: John Villalovos <john@sodarock.com> | |||||
* | | | docs(api): document usage of head() methods | Nejc Habjan | 2022-06-25 | 2 | -1/+32 | |
| | | | ||||||
* | | | feat(api): support head() method for get and list endpoints | Nejc Habjan | 2022-06-25 | 5 | -3/+69 | |
| | | | ||||||
* | | | test(api): add tests for HEAD method | Nejc Habjan | 2022-06-25 | 1 | -0/+16 | |
| | | | ||||||
* | | | feat(api): implement HEAD method | Gauvain Pocentek | 2022-06-25 | 1 | -0/+21 | |
|/ / | ||||||
* | | docs(projects): provide more detailed import examples | Nejc Habjan | 2022-06-25 | 1 | -2/+17 | |
| | | ||||||
* | | docs(projects): document 404 gotcha with unactivated integrations | Nejc Habjan | 2022-06-25 | 1 | -6/+17 | |
| | | ||||||
* | | docs(variables): instruct users to follow GitLab rules for values | Nejc Habjan | 2022-06-25 | 1 | -0/+6 | |
| | | ||||||
* | | docs(api): stop linking to python-requests.org | Nejc Habjan | 2022-06-25 | 1 | -3/+3 | |
| | | ||||||
* | | docs(api): fix incorrect docs for merge_request_approvals (#2094) | John Villalovos | 2022-06-25 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * docs(api): fix incorrect docs for merge_request_approvals The `set_approvers()` method is on the `ProjectApprovalManager` class. It is not part of the `ProjectApproval` class. The docs were previously showing to call `set_approvers` using a `ProjectApproval` instance, which would fail. Correct the documentation. This was pointed out by a question on the Gitter channel. Co-authored-by: Nejc Habjan <nejc.habjan@siemens.com> | |||||
* | | Merge pull request #2089 from python-gitlab/jlvillal/more_time | Nejc Habjan | 2022-06-24 | 1 | -4/+16 | |
|\ \ | | | | | | | chore(ci): increase timeout for docker container to come online | |||||
| * | | chore(ci): increase timeout for docker container to come online | John L. Villalovos | 2022-06-24 | 1 | -4/+16 | |
| | | | | | | | | | | | | | | | Have been seeing timeout issues more and more. Increase timeout from 200 seconds to 300 seconds (5 minutes). | |||||
* | | | docs(api-usage): add import os in example | Arthur Lutz | 2022-06-24 | 1 | -0/+1 | |
| | | | ||||||
* | | | chore(docs): ignore nitpicky warnings | Nejc Habjan | 2022-06-23 | 2 | -1/+2 | |
| | | | ||||||
* | | | docs: drop deprecated setuptools build_sphinx | Nejc Habjan | 2022-06-23 | 2 | -4/+1 | |
| | | | ||||||
* | | | chore: patch sphinx for explicit re-exports | Nejc Habjan | 2022-06-23 | 2 | -0/+21 | |
| | | | ||||||
* | | | chore: bump mypy pre-commit hook | Nejc Habjan | 2022-06-23 | 1 | -1/+1 | |
| | | | ||||||
* | | | chore(gitlab): fix implicit re-exports for mpypy | Nejc Habjan | 2022-06-23 | 4 | -1/+26 | |
|/ / | ||||||
* | | Merge pull request #1688 from jspricke/enum | Nejc Habjan | 2022-06-22 | 8 | -79/+130 | |
|\ \ | | | | | | | feat(api): Convert gitlab.const to Enums | |||||
| * | | feat(api): convert gitlab.const to Enums | Jochen Sprickerhof | 2022-06-22 | 8 | -79/+130 | |
|/ / | | | | | | | | | | | | | This allows accessing the elements by value, i.e.: import gitlab.const gitlab.const.AccessLevel(20) | |||||
* | | Merge pull request #2084 from calve/protected-environments | Nejc Habjan | 2022-06-22 | 6 | -3/+109 | |
|\ \ | | | | | | | feat: Add support for Protected Environments | |||||
| * | | feat: Add support for Protected Environments | calve | 2022-06-22 | 6 | -3/+109 | |
|/ / | | | | | | | | | | | | | | | - https://docs.gitlab.com/ee/api/protected_environments.html - https://github.com/python-gitlab/python-gitlab/issues/1130 no write operation are implemented yet as I have no use case right now and am not sure how it should be done | |||||
* | | Merge pull request #2083 from python-gitlab/jlvillal/cz | Nejc Habjan | 2022-06-20 | 1 | -1/+1 | |
|\ \ | | | | | | | chore: add link to Commitizen in Github workflow | |||||
| * | | chore: add link to Commitizen in Github workflow | John L. Villalovos | 2022-06-20 | 1 | -1/+1 | |
|/ / | | | | | | | | | Add a link to the Commitizen website in the Github workflow. Hopefully this will help people when their job fails. | |||||
* | | fix(base): do not fail repr() on lazy objects | Nejc Habjan | 2022-06-20 | 2 | -4/+15 | |
| | | ||||||
* | | Merge pull request #2066 from python-gitlab/jlvillal/approval_rule_id | Nejc Habjan | 2022-06-20 | 2 | -2/+2 | |
|\ \ | | | | | | | fix(cli): project-merge-request-approval-rule | |||||
| * | | fix(cli): project-merge-request-approval-rule | John L. Villalovos | 2022-06-18 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the CLI the command: gitlab project-merge-request-approval-rule list --mr-iid 1 --project-id foo/bar Would raise an exception. This was due to the fact that `_id_attr` and `_repr_attr` were set for keys which are not returned in the response. Add a unit test which shows the `repr` function now works. Before it did not. This is an EE feature so we can't functional test it. Closes: #2065 | |||||
* | | | Merge pull request #2076 from python-gitlab/renovate/pylint-2.x | Nejc Habjan | 2022-06-20 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | chore(deps): update dependency pylint to v2.14.3 | |||||
| * | | | chore(deps): update dependency pylint to v2.14.3 | renovate[bot] | 2022-06-20 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Merge pull request #2077 from python-gitlab/jlvillal/pylint | Nejc Habjan | 2022-06-20 | 1 | -3/+1 | |
|\ \ \ | | | | | | | | | chore: fix issue found with pylint==2.14.3 | |||||
| * | | | chore: fix issue found with pylint==2.14.3 | John L. Villalovos | 2022-06-19 | 1 | -3/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new error was reported when running pylint==2.14.3: gitlab/client.py:488:0: W1404: Implicit string concatenation found in call (implicit-str-concat) Fixed this issue. | |||||
* | | | | chore(deps): update pre-commit hook commitizen-tools/commitizen to v2.27.1 | renovate[bot] | 2022-06-19 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | chore(deps): update dependency requests to v2.28.0 | renovate[bot] | 2022-06-19 | 2 | -2/+2 | |
|/ / / | ||||||
* | | | chore(deps): update dependency mypy to v0.961 | renovate[bot] | 2022-06-19 | 1 | -1/+1 | |
| |/ |/| | ||||||
* | | Merge pull request #2064 from antoineauger/feat/user-ban-unban | Nejc Habjan | 2022-06-13 | 5 | -0/+99 | |
|\ \ | | | | | | | feat(users): add ban and unban methods |