gitlab-org--gitlab-foss/spec/services
Douwe Maan 0cdd4f310f Merge branch '14564-mr-automatic-title' into 'master'
Auto-set title for branches created from issues

This sets the title for a new MR to 'Resolves "$issue-title"' when:
- The source branch for the MR begins with a value iid.
- The MR has more than one commit in its diff (if there's one commit, keep using the commit's first line).
- The iid does not point to a confidential issue.

Single commit:

![A single commit uses the commit title](/uploads/cd34f59cd67f095c3034fae07950f8b5/image.png)

Multiple commits:

![Multiple commits use the issue title](/uploads/a322c406ddd56913c5aebd88d16e5a5e/image.png)

Confidential issue:

![A confidential issue uses the branch name](/uploads/7ae9b79de5f6101ced46802f3c3a6e71/image.png)

cc @DouweM @zj 

Closes #14564

See merge request !3966
2016-05-06 12:14:13 +00:00
..
ci Fix specs 2016-04-11 23:32:55 +02:00
groups Fix specs 2016-03-20 23:26:58 +01:00
issues Update changelog, improve specs 2016-05-05 13:59:09 +07:00
merge_requests Don't auto-set MR title for confidential issues 2016-05-06 12:24:37 +01:00
milestones Tag service specs 2015-12-09 11:55:49 +01:00
notes Adapt tests to new testing guidelines 2016-04-12 15:43:29 +02:00
projects Backport GitHub Enterprise import support from EE 2016-04-26 21:00:55 -07:00
create_commit_builds_service_spec.rb Don't create CI status for refs that doesn't have .gitlab-ci.yml, even if the builds are enabled 2015-12-17 16:33:47 +01:00
create_release_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
create_snippet_service_spec.rb Fix more specs 2016-03-20 23:09:33 +01:00
create_tag_service_spec.rb Use a similar approach to branch creation for tag creation 2016-05-04 17:19:13 +02:00
delete_tag_service_spec.rb Delete tags via rugged 2016-04-15 16:05:04 +02:00
delete_user_service_spec.rb Specs for the DeleteUserService 2016-03-15 22:19:51 +01:00
destroy_group_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
event_create_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
git_hooks_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
git_push_service_spec.rb Support supressing text file diffs on the default branch with .gitattributes 2016-04-29 12:45:15 +01:00
git_tag_push_service_spec.rb Refactor GitTagPushService and fig tags_push system event hook 2016-04-19 11:00:30 +02:00
notification_service_spec.rb Support e-mail notifications for comments on project snippets 2016-05-02 11:01:32 -07:00
repair_ldap_blocked_user_service_spec.rb Code style fixes and some code simplified 2016-01-08 16:26:04 -02:00
search_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
system_hooks_service_spec.rb Merge branch 'add_username_to_user_system_hooks' of https://github.com/tbeadle/gitlabhq 2016-01-13 10:12:30 +01:00
system_note_service_spec.rb Merge branch 'master' into feature/issue-move 2016-03-19 18:50:15 +01:00
test_hook_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
todo_service_spec.rb Mentions on confidential issues doesn't create todos for non-members 2016-03-30 18:41:21 -03:00
update_release_service_spec.rb Tag service specs 2015-12-09 11:55:49 +01:00
update_snippet_service_spec.rb Fix more specs 2016-03-20 23:09:33 +01:00