Skip to content
Snippets Groups Projects
  1. Sep 13, 2019
  2. Mar 06, 2019
  3. Feb 18, 2019
    • Rémy Coutable's avatar
      Fix Projects::MergeRequests::DiffsController specs · 45ce5ff7
      Rémy Coutable authored
      
      These specs were flaky and only passing after a retry due to how
      rspec-retry works.
      
      1. The test with paths that don't exist was returning 200 on the first
        try, then 404 on the second, not because the paths don't exist, but
        because the MR IID didn't change, thus the MR couldn't be found.
        I decided to remove the test entirely since we don't seem to return
        404 for paths that don't exist.
      2. The test with a user that cannot view the merge request was failing
        the first time because the project owner wasn't removed with
        `project.team.truncate`.
        Changing the `let(:user)` to `create(:user)` and calling
        `project.add_maintainer(user)` in the `before` block fix the test.
      
      Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
      Unverified
      45ce5ff7
  4. Dec 04, 2018
  5. Nov 09, 2018
  6. Nov 07, 2018
  7. Nov 06, 2018
  8. Oct 03, 2018
  9. Sep 26, 2018
  10. Sep 11, 2018
  11. Sep 07, 2018
  12. Jun 21, 2018
  13. Dec 07, 2017
  14. Nov 28, 2017
    • Sean McGivern's avatar
      Remove serialised diff and commit columns · 4ebbfe5d
      Sean McGivern authored
      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
  15. Nov 21, 2017
  16. Sep 19, 2017
  17. Sep 07, 2017
  18. Sep 06, 2017
  19. Jun 28, 2017
Loading