Commit Graph

8 Commits

Author SHA1 Message Date
GitLab Bot 6d19e491d1 Add latest changes from gitlab-org/gitlab@master 2021-04-30 12:12:30 +00:00
GitLab Bot 6df7943512 Add latest changes from gitlab-org/gitlab@master 2020-08-13 15:10:03 +00:00
GitLab Bot 37419c44f0 Add latest changes from gitlab-org/gitlab@master 2020-08-06 18:09:41 +00:00
GitLab Bot 18ffa5e881 Add latest changes from gitlab-org/gitlab@master 2020-07-14 18:09:55 +00:00
GitLab Bot 0526dc1e68 Add latest changes from gitlab-org/gitlab@master 2020-06-11 12:08:54 +00:00
Christian Couder 760d4a1621 Avoid creating labels when removing them
IssuableBaseService has been updated so that labels are not
created when push options to remove them are received.
2019-09-04 12:11:31 +02:00
Christian Couder f00db0c342 Support adding and removing labels w/ push opts
MergeRequests::PushOptionsHandlerService has been updated to allow
adding and removing labels to a merge request using git push options.

To create a new merge request and add 2 labels to it:

      git push -u origin -o merge_request.create \
        -o merge_request.label="My label 1" \
        -o merge_request.label="My label 2"

To update an existing merge request and remove a label while
adding a different label:

      git push -u origin -o merge_request.label="My added label" \
        -o merge_request.unlabel="My removed label"

Issue https://gitlab.com/gitlab-org/gitlab-ce/issues/64320
2019-09-04 12:11:24 +02:00
Jarka Košanová 96153f2055 Check if labels are available for target issuable
- labels have to be in the same project/group
as an issuable
2019-03-28 12:06:31 +01:00