gitlab-org--gitlab-foss/app/services
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
..
application_settings Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq 2019-08-29 17:17:37 -05:00
applications
auth Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809 2019-08-01 20:38:07 +03:00
auto_merge Split AutoMergeService interfaces into two cancel and abort 2019-07-05 13:19:30 +07:00
award_emojis Add service classes for mutating AwardEmoji 2019-08-21 11:39:41 +12:00
badges
boards Save board lists collapsed setting 2019-08-28 20:18:40 +00:00
branches Deprecate diverging commit count with max parameter 2019-07-02 17:07:33 -07:00
chat_names Allow be_url to specify the type 2019-08-30 04:43:16 +00:00
ci Merge branch 'security-add-job-activity-limit-ce' into 'master' 2019-08-29 21:33:50 +00:00
clusters Merge branch '46686-move-k8s-services-out-of-gcp-namespace' into 'master' 2019-09-01 22:26:00 +00:00
commits Add start_sha to commits API 2019-07-18 09:19:18 +02:00
concerns Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
deploy_keys
deploy_tokens Add username to deploy tokens 2019-07-02 18:56:48 +00:00
discussions Refactor PositionTracer to support different types 2019-07-05 11:03:47 +00:00
emails
error_tracking
events
files Add start_sha to commits API 2019-07-18 09:19:18 +02:00
git Fix pipelines not always being created after a push 2019-08-17 06:23:26 -07:00
gpg_keys
groups Fix snippets API not working with visibility level 2019-08-28 22:49:58 -07:00
import
issuable CE port for bulk updating group labels 2019-08-08 06:25:20 +00:00
issues Add system notes for when a zoom call was added/removed from an issue 2019-07-29 21:51:16 +02:00
keys
labels Support adding and removing labels w/ push opts 2019-09-04 12:11:24 +02:00
lfs
mattermost
members Backport EE changes to Members::BaseService 2019-08-08 13:33:50 +02:00
merge_requests Support adding and removing labels w/ push opts 2019-09-04 12:11:24 +02:00
metrics/dashboard Support dashboard params for metrics dashboard 2019-08-07 16:17:35 +00:00
milestones
namespaces Includes logic to persist namespace statistics 2019-07-02 14:44:39 +00:00
notes Add edit_note and spec for editing quick actions 2019-08-26 09:20:00 +00:00
pages_domains
projects Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq 2019-08-29 17:17:37 -05:00
prometheus Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
protected_branches
protected_tags
quick_actions Make quick action "commands applied" banner more useful 2019-07-29 22:35:29 +00:00
releases Show upcoming status for releases 2019-07-03 09:12:15 +00:00
resource_events
search
submodules
suggestions
tags
test_hooks
todos/destroy
users Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
wiki_pages Count wiki page creation 2019-07-21 01:26:19 +00:00
wikis
access_token_validation_service.rb
akismet_service.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
audit_event_service.rb Format from and to fields in JSON audit log 2019-07-11 13:46:51 -07:00
auto_merge_service.rb Split AutoMergeService interfaces into two cancel and abort 2019-07-05 13:19:30 +07:00
base_count_service.rb CE-specific changes for designs user_notes_count 2019-08-27 20:50:26 +00:00
base_renderer.rb
base_service.rb Fix snippets API not working with visibility level 2019-08-28 22:49:58 -07:00
cohorts_service.rb Further remove code branches by database type 2019-07-29 12:47:06 +02:00
compare_service.rb
create_branch_service.rb
create_snippet_service.rb Fix snippets API not working with visibility level 2019-08-28 22:49:58 -07:00
delete_branch_service.rb
delete_merged_branches_service.rb
event_create_service.rb
gravatar_service.rb
ham_service.rb
import_export_clean_up_service.rb
issuable_base_service.rb Support adding and removing labels w/ push opts 2019-09-04 12:11:24 +02:00
merge_request_metrics_service.rb
metrics_service.rb
note_summary.rb
notification_recipient_service.rb
notification_service.rb Limit access request email to 10 most recently active owners/maintainers 2019-08-30 21:30:51 +00:00
preview_markdown_service.rb
push_event_payload_service.rb
repair_ldap_blocked_user_service.rb
repository_archive_clean_up_service.rb
reset_project_cache_service.rb
search_service.rb
service_response.rb
spam_check_service.rb
spam_service.rb
submit_usage_ping_service.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
system_hooks_service.rb
system_note_service.rb Do not persist translated system notes 2019-08-28 16:56:02 -05:00
task_list_toggle_service.rb
todo_service.rb Send TODOs for comments on commits correctly 2019-08-23 12:47:54 +01:00
update_deployment_service.rb Expand variables only when needed 2019-08-13 21:51:29 +02:00
update_snippet_service.rb Fix snippets API not working with visibility level 2019-08-28 22:49:58 -07:00
upload_service.rb
user_agent_detail_service.rb
user_project_access_changed_service.rb
validate_new_branch_service.rb
verify_pages_domain_service.rb
web_hook_service.rb Add outbound requests setting for system hooks 2019-08-02 15:39:18 +01:00
zoom_notes_service.rb Add system notes for when a zoom call was added/removed from an issue 2019-07-29 21:51:16 +02:00