gitlab-org--gitlab-foss/spec
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
..
config
controllers Merge remote-tracking branch 'dev/master' into 'master' 2016-05-02 19:58:54 -04:00
factories Backported minimal safewebhook implementation to GitLab CE 2016-04-30 05:04:10 -03:00
features Use outer join for issues ordering by milestones due. 2016-05-06 19:57:26 +09:00
finders
fixtures
helpers Sanitize repo paths in new project error message 2016-05-04 14:06:07 -07:00
initializers
javascripts Feedback from stanhu 2016-05-05 00:18:36 +02:00
lib Merge branch 'fix/import-url-issues' into 'master' 2016-05-05 22:27:40 +00:00
mailers
models Merge branch 'use-rugged-to-create-tag' into 'master' 2016-05-04 16:07:13 +00:00
requests Merge branch 'use-rugged-to-create-tag' into 'master' 2016-05-04 16:07:13 +00:00
routing
services Merge branch '14564-mr-automatic-title' into 'master' 2016-05-06 12:14:13 +00:00
support
tasks/gitlab
views
workers Merge branch 'create-wikis-during-check' into 'master' 2016-05-04 14:10:49 +00:00
factories_spec.rb
rails_helper.rb
spec_helper.rb Update rspec-rails from 3.3.3 to 3.4.2. 2016-05-01 13:44:50 -06:00
teaspoon_env.rb