summaryrefslogtreecommitdiff
path: root/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* feat: add basic GraphQL support (wip)feat/graphqlNejc Habjan2022-12-114-93/+235
|
* 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
|
* feat(api): add support for getting a project's pull mirror detailsJohn L. Villalovos2022-11-041-0/+23
| | | | | | | Add the ability to get a project's pull mirror details. This was added in GitLab 15.5 and is a PREMIUM feature. https://docs.gitlab.com/ee/api/projects.html#get-a-projects-pull-mirror-details
* fix(cli): expose missing mr_default_target_self project attributeRomain Dartigues2022-11-031-0/+1
| | | | | | | | | | | | Example:: gitlab project update --id 616 --mr-default-target-self 1 References: * https://gitlab.com/gitlab-org/gitlab/-/merge_requests/58093 * https://gitlab.com/gitlab-org/gitlab/-/blob/v13.11.0-ee/doc/user/project/merge_requests/creating_merge_requests.md#new-merge-request-from-a-fork * https://gitlab.com/gitlab-org/gitlab/-/blob/v14.7.0-ee/doc/api/projects.md#get-single-project
* feat(api): add support for remote project import from AWS S3 (#2357)Abhishek Singh2022-11-021-2/+64
|
* feat(api): add support for remote project import (#2348)Abhishek Singh2022-11-011-0/+45
|
* feat(api): add application statisticsShreya2022-11-012-0/+16
|
* fix: use POST method and return dict in ↵John Villalovos2022-10-311-7/+8
| | | | | | | | | | | | | | `cancel_merge_when_pipeline_succeeds()` (#2350) * Call was incorrectly using a `PUT` method when should have used a `POST` method. * Changed return type to a `dict` as GitLab only returns {'status': 'success'} on success. Since the function didn't work previously, this should not impact anyone. * Updated the test fixture `merge_request` to add ability to create a pipeline. * Added functional test for `mr.cancel_merge_when_pipeline_succeeds()` Fixes: #2349
* chore: release v3.11.0v3.11.0github-actions2022-10-281-1/+1
|
* chore: narrow type hints for license APINejc Habjan2022-10-271-1/+1
|
* fix: remove `project.approvals.set_approvals()` methodJohn L. Villalovos2022-10-191-32/+0
| | | | | | | | | | | | The `project.approvals.set_approvals()` method used the `/projects/:id/approvers` end point. That end point was removed from GitLab in the 13.11 release, on 2-Apr-2021 in commit 27dc2f2fe81249bbdc25f7bd8fe799752aac05e6 via merge commit e482597a8cf1bae8e27abd6774b684fb90491835. It was deprecated on 19-Aug-2019. See merge request: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57473
* fix: use epic id instead of iid for epic notesShreya2022-10-161-4/+4
|
* feat(api): add support for topics merge APINejc Habjan2022-10-142-1/+43
|
* fix(cli): handle list response for json/yaml outputJohn L. Villalovos2022-10-061-4/+4
| | | | | | | | | Handle the case with the CLI where a list response is returned from GitLab and json/yaml output is requested. Add a functional CLI test to validate it works. Closes: #2287
* chore: release v3.10.0v3.10.0github-actions2022-09-281-1/+1
|
* feat: Add reset_approvals apiLucas Zampieri2022-09-262-0/+22
| | | | | | Added the newly added reset_approvals merge request api. Signed-off-by: Lucas Zampieri <lzampier@redhat.com>
* fix(cli): add missing attributes for creating MRsNejc Habjan2022-09-231-3/+6
|
* fix(cli): add missing attribute for MR changesNejc Habjan2022-09-231-1/+1
|
* Merge pull request #2254 from python-gitlab/jlvillal/deploy_approveNejc Habjan2022-08-282-1/+55
|\ | | | | feat: add support for deployment approval endpoint
| * feat: add support for deployment approval endpointJohn L. Villalovos2022-08-252-1/+55
| | | | | | | | | | | | | | Add support for the deployment approval endpoint[1] [1] https://docs.gitlab.com/ee/api/deployments.html#approve-or-reject-a-blocked-deployment Closes: #2253
* | chore: release v3.9.0v3.9.0github-actions2022-08-281-1/+1
|/
* feat: add support for merge_base APINejc Habjan2022-08-191-1/+27
|
* chore: release v3.8.1v3.8.1github-actions2022-08-101-1/+1
|
* fix(client): do not assume user attrs returned for auth()Nejc Habjan2022-08-101-1/+3
| | | | This is mostly relevant for people mocking the API in tests.
* chore: remove broad Exception catching from `config.py`John L. Villalovos2022-08-051-25/+21
| | | | | | Change "except Exception:" catching to more granular exceptions. A step in enabling the "broad-except" check in pylint.
* chore: consolidate license and authorsNejc Habjan2022-08-0413-191/+2
|
* chore: release v3.8.0v3.8.0github-actions2022-08-041-1/+1
|
* feat(client): warn user on misconfigured URL in `auth()`Nejc Habjan2022-08-041-1/+3
|
* refactor(client): factor out URL check into a helperNejc Habjan2022-08-041-27/+33
|
* refactor(client): remove handling for incorrect link headerNejc Habjan2022-08-041-7/+2
| | | | | | | | This was a quirk only present in GitLab 13.0 and fixed with 13.1. See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33714 and https://gitlab.com/gitlab-org/gitlab/-/issues/218504 for more context.
* chore: use `urlunparse` instead of string replaceJohn L. Villalovos2022-08-041-1/+1
| | | | | Use the `urlunparse()` function to reconstruct the URL without the query parameters.
* fix(client): ensure encoded query params are never duplicatedNejc Habjan2022-08-041-2/+7
|
* fix: optionally keep user-provided base URL for pagination (#2149)Omar Mochtar2022-08-031-0/+29
|
* Merge pull request #2211 from python-gitlab/jlvillal/mypy_step_stepNejc Habjan2022-08-017-18/+32
|\ | | | | chore: enable mypy check `disallow_any_generics`