| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
`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
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Added the newly added reset_approvals merge request api.
Signed-off-by: Lucas Zampieri <lzampier@redhat.com>
|
| |
|
|
|
|
| |
upstream docs
The actual documentation do not mention the locked state for a merge request
|
| | |
|
| |
|
|
|
|
|
| |
Add and document (some of the) optional parameters that can be done
for a `project.merge_requests.get()`
Closes #1775
|
|
|
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`
|