1. 07 12月, 2017 2 次提交
  2. 29 11月, 2017 2 次提交
    • S
      Ensure MRs always use branch refs for comparison · 3c6a4d63
      Sean McGivern 提交于
      If a merge request was created with a branch name that also matched a tag name,
      we'd generate a comparison to or from the tag respectively, rather than the
      branch. Merging would still use the branch, of course.
      
      To avoid this, ensure that when we get the branch heads, we prepend the
      reference prefix for branches, which will ensure that we generate the correct
      comparison.
      3c6a4d63
    • S
      Remove serialised diff and commit columns · 4ebbfe5d
      Sean McGivern 提交于
      The st_commits and st_diffs columns on merge_request_diffs historically held the
      YAML-serialised data for a merge request diff, in a variety of formats.
      
      Since 9.5, these have been migrated in the background to two new tables:
      merge_request_diff_commits and merge_request_diff_files. That has the advantage
      that we can actually query the data (for instance, to find out how many commits
      we've stored), and that it can't be in a variety of formats, but must match the
      new schema.
      
      This is the final step of that journey, where we drop those columns and remove
      all references to them. This is a breaking change to the importer, because we
      can no longer import diffs created in the old format, and we cannot guarantee
      the export will be in the new format unless it was generated after this commit.
      4ebbfe5d
  3. 21 11月, 2017 1 次提交
  4. 08 11月, 2017 1 次提交
  5. 03 11月, 2017 1 次提交
    • M
      removed the #ensure_ref_fetched from all controllers · cd88fa8f
      micael.bergeron 提交于
      also, I refactored the MergeRequest#fetch_ref method to express
      the side-effect that this method has.
      
        MergeRequest#fetch_ref -> MergeRequest#fetch_ref!
        Repository#fetch_source_branch -> Repository#fetch_source_branch!
      cd88fa8f
  6. 13 10月, 2017 2 次提交
  7. 07 10月, 2017 2 次提交
    • B
      Find branches in all projects in the fork network · 7c00b538
      Bob Van Landuyt 提交于
      7c00b538
    • T
      Create idea of read-only database · d1366971
      Toon Claes 提交于
      In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo
      secondary node). But in GitLab CE it also might be useful to have the
      "read-only" idea around. So port it back to GitLab CE.
      
      Also having the principle of read-only in GitLab CE would hopefully
      lead to less errors introduced, doing write operations when there
      aren't allowed for read-only calls.
      
      Closes gitlab-org/gitlab-ce#37534.
      d1366971
  8. 19 9月, 2017 1 次提交
  9. 14 9月, 2017 1 次提交
  10. 07 9月, 2017 1 次提交
  11. 06 9月, 2017 2 次提交
  12. 14 7月, 2017 1 次提交
  13. 07 7月, 2017 2 次提交
  14. 06 7月, 2017 1 次提交
  15. 29 6月, 2017 1 次提交