summaryrefslogtreecommitdiff
path: root/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* feat(api): add support for events scope parameterSamuël WEBER2023-05-031-1/+1
|
* feat: usernames support for MR approvalsNick Brown2023-04-191-1/+1
| | | | | | This can be used instead of 'user_ids' See: https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule
* chore: release v3.14.0v3.14.0github-actions2023-04-111-1/+1
|
* fix(cli): warn user when no fields are displayedNejc Habjan2023-04-111-16/+28
|
* feat(projects): allow importing additional items from GitHubNejc Habjan2023-04-101-2/+10
|
* feat(objects): support fetching PATs via id or `self` endpointNejc Habjan2023-04-071-2/+9
|
* refactor(client): let mypy know http_password is setNejc Habjan2023-03-271-1/+1
|
* feat: add resource_weight_event for ProjectIssuePaul Fariello2023-03-232-0/+21
|
* fix(client): properly parse content-type when charset is presentNejc Habjan2023-03-122-6/+13
|
* fix: support int for `parent_id` in `import_group`John L. Villalovos2023-03-122-6/+10
| | | | | | | | | This will also fix other use cases where an integer is passed in to MultipartEncoder. Added unit tests to show it works. Closes: #2506
* chore: use a dataclass to return values from `prepare_send_data`John L. Villalovos2023-03-122-15/+24
| | | | | | | | I found the tuple of three values confusing. So instead use a dataclass to return the three values. It is still confusing but a little bit less so. Also add some unit tests
* fix(cli): add ability to escape at-prefixed parameter (#2513)PyHedgehog2023-03-111-0/+2
| | | | | | | * fix(cli): Add ability to escape at-prefixed parameter (#2511) --------- Co-authored-by: Nejc Habjan <hab.nejc@gmail.com>
* 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.
* chore(deps): update mypy (1.0.0) and responses (0.22.0)John L. Villalovos2023-02-071-1/+1
| | | | | | | | | | | | 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.
* fix(cli): display items when iterator is returnedNejc Habjan2023-02-061-0/+2
|
* chore(deps): update black (23.1.0) and commitizen (2.40.0) (#2479)John Villalovos2023-02-061-1/+0
| | | | | | | | | | 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.
* feat(client): add http_patch method (#2471)John Villalovos2023-02-051-0/+48
| | | | | In order to support some new API calls we need to support the HTTP `PATCH` method. Closes: #2469
* 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
* chore: release v3.13.0v3.13.0github-actions2023-01-301-1/+1
|
* chore: make backends privateNejc Habjan2023-01-303-10/+10
|
* chore: add a UserWarning if both `iterator=True` and `page=X` are used (#2462)John Villalovos2023-01-261-0/+13
| | | | | 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-251-1/+1
| | | | | | | | | | | | | 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.
* feat(group): add support for group restore APIMahadevan Karthi2023-01-181-0/+15
|
* chore: update attributes for create and update projectsjrdescartes2023-01-181-2/+26
|
* refactor: add reason property to RequestsResponse (#2439)Liora Milbaum2022-12-211-0/+4
|
* chore: add test, docs, and helper for 409 retriesNejc Habjan2022-12-191-7/+14
|
* feat(client): automatically retry on HTTP 409 Resource lockPetr Špaček2022-12-191-1/+4
| | | | Fixes: #2325
* feat(api): add support for bulk imports APINejc Habjan2022-12-193-0/+59
|
* 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
|
* refactor: move Response object to backends (#2420)Liora Milbaum2022-12-193-7/+36
|
* feat(api): add support for resource groupsNejc Habjan2022-12-183-0/+48
|
* feat(api): support listing pipelines triggered by pipeline schedulesSteve Vermeulen2022-12-111-0/+13
|
* feat: allow filtering pipelines by sourceNick Brown2022-12-101-0/+1
| | | | | | See: https://docs.gitlab.com/ee/api/pipelines.html#list-project-pipelines Added in GitLab 14.3
* refactor: move the request call to the backend (#2413)Liora Milbaum2022-12-102-2/+43
|
* refactor: Moving RETRYABLE_TRANSIENT_ERROR_CODES to constLiora Milbaum2022-12-062-2/+3
|
* feat(client): bootstrap the http backends concept (#2391)Liora Milbaum2022-12-053-5/+32
|
* feat: add resource iteration events (see ↵Oliver Blasius2022-12-042-0/+21
| | | | https://docs.gitlab.com/ee/api/resource_iteration_events.html)
* feat: allow passing kwargs to Gitlab class when instantiating with ↵Liora Milbaum2022-12-041-1/+8
| | | | `from_config` (#2392)
* feat: add keep_base_url when getting configuration from fileAntoine Meynard2022-12-031-0/+10
|
* fix: Use the ProjectIterationManager within the Project objectRyan Holleran2022-12-031-2/+2
| | | | | | | | The Project object was previously using the GroupIterationManager resulting in the incorrect API endpoint being used. Utilize the correct ProjectIterationManager instead. Resolves #2403
* fix(api): Make description optional for releaseslovetox2022-12-031-1/+1
|
* chore: release v3.12.0v3.12.0github-actions2022-11-281-1/+1
|
* feat: add support for SAML group links (#2367)Abhishek Singh2022-11-221-0/+21
|
* fix(cli): Enable debug before doing authEmanuele Aina2022-11-211-3/+2
| | | | | | | | | | | | | | | | Authentication issues are currently hard to debug since `--debug` only has effect after `gl.auth()` has been called. For example, a 401 error is printed without any details about the actual HTTP request being sent: $ gitlab --debug --server-url https://gitlab.com current-user get 401: 401 Unauthorized By moving the call to `gl.enable_debug()` the usual debug logs get printed before the final error message. Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
* feat(groups): add LDAP link manager and deprecate old API endpointsNejc Habjan2022-11-171-19/+67
|
* refactor: explicitly use ProjectSecureFileNejc Habjan2022-11-172-9/+11
|
* feat(groups): add support for listing ldap_group_links (#2371)Ray2022-11-161-0/+17
|
* feat: implement secure files APIBen Brown2022-11-103-0/+72
|