BigW Consortium Gitlab
First, transitions between can_be_merged & cannot_be_merged are removed, as they are currently blocked in `check_if_can_be_merged`. `can_be_merge` always returns to `unchecked` first, before it can transition to `cannot_be_merged` (and vice versa). We want to avoid repeated notification triggered by repeated transition between `cannot_be_merged` & `unchecked`. So we added `cannot_be_merged_recheck` state, similar to `unchecked`, but as a mean to remember it’s from cannot_be_merged. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18042/#note_65945407 Since `unchecked` and `cannot_be_merged_recheck` both mean “we are in the middle of checking if it is mergeable”, quite often we need to see if merge_status is in either one of them, so `check_state?` is added to achieve this.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
admin | Loading commit data... | |
boards | Loading commit data... | |
concerns | Loading commit data... | |
dashboard | Loading commit data... | |
explore | Loading commit data... | |
google_api | Loading commit data... | |
groups | Loading commit data... | |
import | Loading commit data... | |
ldap | Loading commit data... | |
oauth | Loading commit data... | |
profiles | Loading commit data... | |
projects | Loading commit data... | |
snippets | Loading commit data... | |
users | Loading commit data... | |
abuse_reports_controller_spec.rb | Loading commit data... | |
application_controller_spec.rb | Loading commit data... | |
autocomplete_controller_spec.rb | Loading commit data... | |
dashboard_controller_spec.rb | Loading commit data... | |
groups_controller_spec.rb | Loading commit data... | |
health_check_controller_spec.rb | Loading commit data... | |
health_controller_spec.rb | Loading commit data... | |
help_controller_spec.rb | Loading commit data... | |
invites_controller_spec.rb | Loading commit data... | |
metrics_controller_spec.rb | Loading commit data... | |
notification_settings_controller_spec.rb | Loading commit data... | |
omniauth_callbacks_controller_spec.rb | Loading commit data... | |
passwords_controller_spec.rb | Loading commit data... | |
profiles_controller_spec.rb | Loading commit data... | |
projects_controller_spec.rb | Loading commit data... | |
registrations_controller_spec.rb | Loading commit data... | |
root_controller_spec.rb | Loading commit data... | |
search_controller_spec.rb | Loading commit data... | |
sent_notifications_controller_spec.rb | Loading commit data... | |
sessions_controller_spec.rb | Loading commit data... | |
snippets_controller_spec.rb | Loading commit data... | |
uploads_controller_spec.rb | Loading commit data... | |
user_callouts_controller_spec.rb | Loading commit data... | |
users_controller_spec.rb | Loading commit data... |