gitlab-org--gitlab-foss/app
Oswaldo Ferreira 3af348b6cf Automatically update MR merge-ref along merge status
This couples the code that transitions the `MergeRequest#merge_status`
and refs/merge-requests/:iid/merge ref update.

In general, instead of directly telling `MergeToRefService` to update
the merge ref, we should rely on `MergeabilityCheckService` to keep
both the merge status and merge ref synced. Now, if the merge_status is
`can_be_merged` it means the merge-ref is also updated to the latest.

We've also updated the logic to be more systematic and less user-based.
2019-06-20 11:48:30 -03:00
..
assets Fixed failing GraphQL file import 2019-06-20 14:47:01 +01:00
controllers Automatically update MR merge-ref along merge status 2019-06-20 11:48:30 -03:00
finders Remove unneeded parentheses 2019-06-19 10:56:55 +02:00
graphql Render GFM html in GraphQL 2019-06-20 08:02:33 +00:00
helpers Render GFM html in GraphQL 2019-06-20 08:02:33 +00:00
mailers Omit blocked admins from repository check e-mails 2019-06-12 12:55:25 -07:00
models Automatically update MR merge-ref along merge status 2019-06-20 11:48:30 -03:00
policies Add documentation and tests 2019-06-19 07:08:56 +00:00
presenters Merge branch 'expose-project-git-depth-via-api' into 'master' 2019-06-12 11:02:36 +00:00
serializers Revert "Merge branch '57414-show-pipeline-iid-in-pipelines-page' into 'master'" 2019-06-14 13:17:18 +00:00
services Automatically update MR merge-ref along merge status 2019-06-20 11:48:30 -03:00
uploaders
validators
views Merge branch '57973-errors-in-application-settings-panel-shows-wrong-panel' into 'master' 2019-06-20 14:43:47 +00:00
workers Merge branch 'ce-12014-incremental-es-wiki-updates' into 'master' 2019-06-19 12:34:16 +00:00