summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* feat(client): replace basic auth with OAuth ROPC flowfeat/oauth2-resource-password-flowNejc Habjan2023-02-167-29/+181
|
* docs(advanced): clarify netrc, proxy behavior with requestsNejc Habjan2023-02-121-26/+37
|
* feat(backends): use PEP544 protocols for structural subtyping (#2442)Liora Milbaum2023-02-122-2/+38
| | | | | | | | The purpose of this change is to track API changes described in https://github.com/python-gitlab/python-gitlab/blob/main/docs/api-levels.rst, for example, for package versioning and breaking change announcements in case of protocol changes. This is MVP implementation to be used by #2435.
* docs: fix update badge behaviourSoumya Kushwaha2023-02-111-1/+2
| | | | | | | | | | docs: fix update badge behaviour Earlier: badge.image_link = new_link Now: badge.image_url = new_image_url badge.link_url = new_link_url
* chore(renovate): swith to gitlab-eeNejc Habjan2023-02-061-1/+1
|
* chore(renovate): bring back custom requirements patternNejc Habjan2023-02-061-0/+3
|
* chore(deps): update mypy (1.0.0) and responses (0.22.0)John L. Villalovos2023-02-073-4/+4
| | | | | | | | | | | | Update the `requirements-*` files. In order to update mypy==1.0.0 we need to also update responses==0.22.0 Fix one issue found by `mypy` Leaving updates for `precommit` to be done in a separate commit by someone.
* chore(renovate): do not ignore tests dirNejc Habjan2023-02-061-1/+5
|
* test(functional): clarify MR fixture factory nameNejc Habjan2023-02-063-49/+52
|
* fix(cli): display items when iterator is returnedNejc Habjan2023-02-062-0/+17
|
* chore(deps): update all non-major dependenciesrenovate[bot]2023-02-062-3/+3
|
* chore(deps): update pre-commit hook psf/black to v23renovate[bot]2023-02-061-1/+1
|
* chore(deps): update black (23.1.0) and commitizen (2.40.0) (#2479)John Villalovos2023-02-064-6/+2
| | | | | | | | | | Update the dependency versions: black: 23.1.0 commitizen: 2.40.0 They needed to be updated together as just updating `black` caused a dependency conflict. Updated files by running `black` and committing the changes.
* docs(advanced): fix typo in Gitlab examplesNejc Habjan2023-02-051-8/+8
|
* chore: add SECURITY.mdNejc Habjan2023-02-051-0/+17
|
* chore: remove `pre-commit` as a default `tox` environment (#2470)John Villalovos2023-02-051-1/+1
| | | | | | For users who use `tox` having `pre-commit` as part of the default environment list is redundant as it will run the same tests again that are being run in other environments. For example: black, flake8, pylint, and more.
* feat(client): add http_patch method (#2471)John Villalovos2023-02-054-0/+100
| | | | | In order to support some new API calls we need to support the HTTP `PATCH` method. Closes: #2469
* chore: add Python 3.12 testingJohn L. Villalovos2023-02-031-0/+2
| | | | | | | | | | Add a unit test for Python 3.12. This will use the latest version of Python 3.12 that is available from https://github.com/actions/python-versions/ At this time it is 3.12.0-alpha.4 but will move forward over time until the final 3.12 release and updates. So 3.12.0, 3.12.1, ... will be matched.
* feat(cli): add setting of `allow_force_push` for protected branchJohn L. Villalovos2023-02-031-0/+1
| | | | | | | | | | For the CLI: add `allow_force_push` as an optional argument for creating a protected branch. API reference: https://docs.gitlab.com/ee/api/protected_branches.html#protect-repository-branches Closes: #2466
* Merge pull request #2465 from valentingregoire/typosMax Wittig2023-02-021-1/+1
|\ | | | | docs: fix typo in issue docs
| * Merge branch 'main' into typosValentin Grégoire2023-02-0144-160/+1082
| |\ | |/ |/|
* | chore: release v3.13.0v3.13.0github-actions2023-01-302-1/+24
| |
* | chore: make backends privateNejc Habjan2023-01-303-10/+10
| |
* | chore(deps): update all non-major dependenciesrenovate[bot]2023-01-301-3/+3
| |
* | chore: add a UserWarning if both `iterator=True` and `page=X` are used (#2462)John Villalovos2023-01-262-1/+25
| | | | | | | | | | If a caller calls a `list()` method with both `iterator=True` (or `as_list=False`) and `page=X` then emit a `UserWarning` as the options are mutually exclusive.
* | fix(client): regression - do not automatically get_next if page=# andHelen Koike2023-01-253-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | iterator=True/as_list=False are used This fix a regression introduced on commit https://github.com/python-gitlab/python-gitlab/commit/1339d645ce58a2e1198b898b9549ba5917b1ff12 If page is used, then get_next should be false. This was found on the mesa ci project, after upgrading the python-gitlab version, the script that monitors the ci was getting killed by consuming too much memory.
* | chore: remove tox `envdir` valuesJohn L. Villalovos2023-01-231-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | tox > 4 no longer will re-use the tox directory :( What this means is that with the previous config if you ran: $ tox -e mypy; tox -e isort; tox -e mypy It would recreate the tox environment each time :( By removing the `envdir` values it will have the tox environments in separate directories and not recreate them. The have an FAQ entry about this: https://tox.wiki/en/latest/upgrading.html#re-use-of-environments
* | feat(group): add support for group restore APIMahadevan Karthi2023-01-183-0/+37
| |
* | chore: update attributes for create and update projectsjrdescartes2023-01-181-2/+26
| |
* | chore(deps): update all non-major dependenciesrenovate[bot]2023-01-177-12/+12
| |
* | chore(deps): update all non-major dependenciesrenovate[bot]2023-01-106-13/+13
| |
* | chore(deps): update all non-major dependenciesrenovate[bot]2023-01-021-2/+2
| |
* | chore(deps): update all non-major dependenciesrenovate[bot]2022-12-275-10/+10
| |
* | chore(deps): update actions/stale action to v7renovate[bot]2022-12-271-1/+1
| |
* | chore(ci): complete all unit tests even if one has failed (#2438)Liora Milbaum2022-12-211-0/+1
| |
* | refactor: add reason property to RequestsResponse (#2439)Liora Milbaum2022-12-211-0/+4
| |
* | chore: add test, docs, and helper for 409 retriesNejc Habjan2022-12-193-10/+79
| |
* | feat(client): automatically retry on HTTP 409 Resource lockPetr Špaček2022-12-192-4/+9
| | | | | | | | Fixes: #2325
* | feat(api): add support for bulk imports APINejc Habjan2022-12-199-0/+349
| |
* | refactor: remove unneeded requests.utils import (#2426)Liora Milbaum2022-12-191-1/+0
| |
* | fix: change return value to "None" in case getattr returns None to prevent errorWu Yang2022-12-191-1/+1
| |
* | refactor: Migrate MultipartEncoder to RequestsBackend (#2421)Liora Milbaum2022-12-192-35/+36
| |
* | chore(deps): update all non-major dependenciesrenovate[bot]2022-12-196-12/+12
| |
* | refactor: move Response object to backends (#2420)Liora Milbaum2022-12-193-7/+36
| |
* | test(functional): do not require config fileNejc Habjan2022-12-182-12/+13
| |
* | feat(api): add support for resource groupsNejc Habjan2022-12-186-0/+166
| |
* | chore(deps): update all non-major dependenciesrenovate[bot]2022-12-125-12/+12
| |
* | chore(deps): update pre-commit hook pycqa/flake8 to v6renovate[bot]2022-12-121-1/+1
| |
* | test(unit): expand tests for pipeline schedulesNejc Habjan2022-12-112-4/+54
| |
* | chore: add docs for schedule pipelinesNejc Habjan2022-12-111-3/+9
| |