1. 10 11月, 2018 1 次提交
  2. 10 8月, 2018 1 次提交
  3. 01 6月, 2018 1 次提交
  4. 17 5月, 2018 1 次提交
    • L
      Add cannot_be_merged_recheck merge_status · 75171053
      lulalala 提交于
      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
  5. 21 3月, 2018 1 次提交
  6. 28 7月, 2017 1 次提交
    • Y
      Merge issuable "reopened" state into "opened" · 6ef87a20
      Yorick Peterse 提交于
      Having two states that essentially mean the same thing is very much like
      having a boolean "true" and boolean "mostly-true": it's rather silly.
      This commit merges the "reopened" state into the "opened" state while
      taking care of system notes still showing messages along the lines of
      "Alice reopened this issue".
      
      A big benefit from having only two states (opened and closed) is that
      indexing and querying becomes simpler and more performant. For example,
      to get all the opened queries we no longer have to query both states:
      
          SELECT *
          FROM issues
          WHERE project_id = 2
          AND state IN ('opened', 'reopened');
      
      Instead we can query a single state directly, which can be much faster:
      
          SELECT *
          FROM issues
          WHERE project_id = 2
          AND state = 'opened';
      
      Further, only having two states makes indexing easier as we will only
      ever filter (and thus scan an index) using a single value. Partial
      indexes could help but aren't supported on MySQL, complicating the
      development process and not being helpful for MySQL.
      6ef87a20
  7. 01 6月, 2017 1 次提交
  8. 23 2月, 2017 2 次提交
  9. 22 2月, 2017 1 次提交
  10. 15 2月, 2017 1 次提交
  11. 22 1月, 2017 1 次提交
  12. 13 1月, 2017 1 次提交
  13. 10 12月, 2016 1 次提交
  14. 02 7月, 2016 1 次提交
  15. 03 6月, 2016 2 次提交
  16. 10 5月, 2016 1 次提交
    • J
      Remove the annotate gem and delete old annotations · f1479b56
      Jeroen van Baarsen 提交于
      In 8278b763 the default behaviour of annotation
      has changes, which was causing a lot of noise in diffs. We decided in #17382
      that it is better to get rid of the whole annotate gem, and instead let people
      look at schema.rb for the columns in a table.
      
      Fixes: #17382
      f1479b56
  17. 06 5月, 2016 1 次提交
  18. 06 1月, 2016 1 次提交
  19. 08 12月, 2015 1 次提交
  20. 03 12月, 2015 1 次提交
  21. 21 11月, 2015 1 次提交
  22. 11 11月, 2015 1 次提交
  23. 19 9月, 2015 1 次提交
  24. 18 9月, 2015 1 次提交
  25. 06 9月, 2015 1 次提交
  26. 02 9月, 2015 1 次提交