gitlab-org--gitlab-foss/lib
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
..
api Automatically update MR merge-ref along merge status 2019-06-20 11:48:30 -03:00
assets
backup
banzai
bitbucket
bitbucket_server
constraints
container_registry
declarative_policy
feature
flowdock
generators/rails/post_deployment_migration
gitaly
gitlab Add embedding flag and filter to CPU/Mem 2019-06-20 14:06:18 +00:00
google_api
json_web_token
mattermost
microsoft_teams
object_storage
omni_auth/strategies
peek
quality
rouge
rspec_flaky
safe_zip
sentry
serializers
support
system_check
tasks
after_commit_queue.rb
backup.rb
banzai.rb
carrier_wave_string_file.rb
declarative_policy.rb
event_filter.rb
expand_variables.rb
extracts_path.rb
feature.rb Cache feature flag names in Redis for a minute 2019-06-18 13:59:18 -07:00
file_size_validator.rb
forever.rb
gitlab.rb
gt_one_coercion.rb
milestone_array.rb
mysql_zero_date.rb
static_model.rb
system_check.rb
uploaded_file.rb
version_check.rb