Add merge_request.draft push option
Release notes
Add merge_request.draft push option
Problem to solve
I'd like to be able to create a merge request on the command-line that's a draft from the start as well as change the draft status via pushing. This is useful if you want to create a MR that you don't want merged or reviewed yet and then once you have solved any issues and push a new commit you can remove the draft status. Without a push option you end up creating a MR and associated notifications without the draft status which can be confusing if you add it later.
Intended users
User experience goal
The user should be able to create a MR via a push option that starts off in Draft form. The user should later be able to unset Draft status upon a new push.
Proposal
A new push option merge_request.draft
should be added that can be set to True or False.
Further details
If no value is provided then it should default to True
like merge_request.create
.
Permissions and Security
The permissions should be the same as the UI button.