summaryrefslogtreecommitdiff
path: root/docs/gl_objects/merge_requests.rst
Commit message (Collapse)AuthorAgeFilesLines
* fix: use POST method and return dict in ↵John Villalovos2022-10-311-1/+7
| | | | | | | | | | | | | | `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
* docs(api): Update `merge_requests.rst`: `mr_id` to `mr_iid`Stavros Ntentos2022-10-031-2/+2
| | | | | | | | | Typo: Author probably meant `mr_iid` (i.e. project-specific MR ID) and **not** `mr_id` (i.e. server-wide MR ID) Closes: https://github.com/python-gitlab/python-gitlab/issues/2295 Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
* feat: Add reset_approvals apiLucas Zampieri2022-09-261-0/+4
| | | | | | Added the newly added reset_approvals merge request api. Signed-off-by: Lucas Zampieri <lzampier@redhat.com>
* docs(merge_requests): add new possible merge request state and link to the ↵Carlos Duelo2022-05-041-2/+5
| | | | | | upstream docs The actual documentation do not mention the locked state for a merge request
* chore: fix typo in MR documentationMarkus Legner2022-01-041-1/+1
|
* chore: add and document optional parameters for get MRjlvillal/rebase_in_progressJohn L. Villalovos2021-12-231-0/+8
| | | | | | | Add and document (some of the) optional parameters that can be done for a `project.merge_requests.get()` Closes #1775
* docs: rename documentation files to match names of code filesJohn L. Villalovos2021-12-231-0/+217
Rename the merge request related documentation files to match the code files. This will make it easier to find the documentation quickly. Rename: `docs/gl_objects/mrs.rst -> `docs/gl_objects/merge_requests.rst` `docs/gl_objects/mr_approvals.rst -> `docs/gl_objects/merge_request_approvals.rst`