Skip to content
Snippets Groups Projects
  1. Aug 01, 2018
  2. Jul 26, 2018
  3. Jul 02, 2018
  4. Jun 25, 2018
  5. Jun 24, 2018
  6. Jun 21, 2018
  7. Jun 20, 2018
    • Mark Chao's avatar
      Notify only when unmergeable due to conflict · 5b994b81
      Mark Chao authored
      There is still the edge case when 'no commits' changes to 'conflict'
      would not trigger notification, which we ignore for now.
      
      Calling can_be_merged? can cause exception (e.g. non-UTF8)
      Ignore those by rescueing.
      
      Remove unmergeable_reason as now only conflict is notified
      
      Update spec
      5b994b81
  8. Jun 08, 2018
  9. Jun 01, 2018
  10. May 30, 2018
  11. May 29, 2018
  12. May 18, 2018
  13. May 17, 2018
    • lulalala's avatar
      Create TODO when MR became unmergeable · 953bb41f
      lulalala authored and Mark Chao's avatar Mark Chao committed
      Old behavior of creating TODO when
      “Merge When Pipeline Succeeds” service fails, is generalized to:
      
      Create a TODO whenever MR became unmergeable
      (and similar to notification, MR author and merge_user are both applicable)
      953bb41f
    • lulalala's avatar
      Notify with email when merge request became unmergeable · dc174e96
      lulalala authored and Mark Chao's avatar Mark Chao committed
      Display MR unmergeable reasons
      dc174e96
    • lulalala's avatar
      Add MergeRequest#merge_participants · 179a1ee7
      lulalala authored and Mark Chao's avatar Mark Chao committed
      For notifying via todo or email.
      179a1ee7
    • lulalala's avatar
      Add cannot_be_merged_recheck merge_status · 75171053
      lulalala authored and Mark Chao's avatar Mark Chao committed
      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.
      75171053
  14. May 11, 2018
  15. May 08, 2018
  16. May 07, 2018
  17. May 03, 2018
  18. Apr 20, 2018
  19. Mar 21, 2018
    • Sean McGivern's avatar
      Fix N+1 in `MergeRequest#merge_request_diff_for` · 39c9928c
      Sean McGivern authored
      Previously, this would issue a query for each unique `diff_refs_or_sha`
      passed. This was because we didn't want to load other MR diffs into memory, as
      they had some very large columns.
      
      Now they are actually very small, and it's more efficient to just load them all
      at once and do the finding in Ruby.
      39c9928c
  20. Mar 16, 2018
  21. Mar 15, 2018
  22. Mar 07, 2018
  23. Mar 06, 2018
  24. Feb 08, 2018
  25. Jan 30, 2018
  26. Jan 29, 2018
  27. Jan 25, 2018
    • Nick Thomas's avatar
      Look at notes created just before merge when deciding if an MR can be reverted · b02f9b61
      Nick Thomas authored
      On MySQL, at least, `Note#created_at` doesn't seem to store fractional seconds,
      while `MergeRequest::Metrics#merged_at` does. This breaks the optimization
      assumption that we only need to search for notes created *after* the MR has
      been merged.
      
      Unsynchronized system clocks also make this a dangerous assumption to make.
      
      Adding a minute of leeway still optimizes away most notes, but allows both
      cases to be handled more gracefully. If the system clocks are more than a
      minute out, we'll still be broken, of course.
      Verified
      b02f9b61
  28. Jan 24, 2018
  29. Jan 23, 2018
  30. Jan 12, 2018
  31. Jan 11, 2018
  32. Jan 08, 2018
  33. Jan 05, 2018
    • Jan Provaznik's avatar
      Backport 'Rebase' feature from EE to CE · 27a75ea1
      Jan Provaznik authored
      When a project uses fast-forward merging strategy user has
      to rebase MRs to target branch before it can be merged.
      Now user can do rebase in UI by clicking 'Rebase' button
      instead of doing rebase locally.
      
      This feature was already present in EE, this is only backport
      of the feature to CE. Couple of changes:
      * removed rebase license check
      * renamed migration (changed timestamp)
      
      Closes #40301
      27a75ea1
  34. Dec 14, 2017
  35. Dec 13, 2017
Loading