Skip to content
Snippets Groups Projects
  1. Feb 18, 2020
  2. Feb 14, 2020
  3. Jan 29, 2020
  4. Dec 18, 2019
  5. Dec 11, 2019
  6. Dec 06, 2019
  7. Nov 11, 2019
  8. Oct 16, 2019
  9. Oct 10, 2019
  10. Oct 09, 2019
  11. Sep 13, 2019
  12. Mar 06, 2019
  13. 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
  14. Dec 04, 2018
  15. Nov 09, 2018
  16. Nov 07, 2018
  17. Nov 06, 2018
  18. Oct 03, 2018
  19. Sep 26, 2018
  20. Sep 11, 2018
  21. Sep 07, 2018
  22. Jun 21, 2018
  23. Dec 07, 2017
  24. 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
  25. Nov 21, 2017
  26. Sep 19, 2017
  27. Sep 07, 2017
  28. Sep 06, 2017
  29. Jun 28, 2017
Loading