gitlab-org--gitlab-foss/spec/services/merge_requests
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
..
conflicts
add_todo_when_build_fails_service_spec.rb
assign_issues_service_spec.rb
build_service_spec.rb Filter params in MR build service 2019-07-17 13:56:12 +02:00
close_service_spec.rb
create_from_issue_service_spec.rb Fix issues when creating system notes 2019-06-29 00:22:09 +08:00
create_pipeline_service_spec.rb
create_service_spec.rb Add usage pings for merge request creating 2019-08-26 14:30:45 +00:00
delete_non_latest_diffs_service_spec.rb
ff_merge_service_spec.rb
get_urls_service_spec.rb Use namespace#path for building urls in specs 2019-07-09 18:09:45 +02:00
merge_service_spec.rb [CE port] Bypass push rules for merge to ref service 2019-07-09 14:36:29 -03:00
merge_to_ref_service_spec.rb [CE port] Bypass push rules for merge to ref service 2019-07-09 14:36:29 -03:00
mergeability_check_service_spec.rb Add exclusive lease to mergeability check process 2019-07-31 19:58:43 -03:00
migrate_external_diffs_service_spec.rb
post_merge_service_spec.rb
push_options_handler_service_spec.rb Support adding and removing labels w/ push opts 2019-09-04 12:11:24 +02:00
rebase_service_spec.rb Only read rebase status from the model 2019-08-15 18:54:08 +00:00
refresh_service_spec.rb
reload_diffs_service_spec.rb
reopen_service_spec.rb
resolved_discussion_notification_service_spec.rb
squash_service_spec.rb
update_service_spec.rb Merge branch '63547-add-system-notes-for-when-a-zoom-call-was-added-removed-from-an-issue' into 'master' 2019-07-29 23:14:38 +00:00