BigW Consortium Gitlab

  1. 29 May, 2016 2 commits
  2. 20 May, 2016 1 commit
  3. 13 May, 2016 1 commit
  4. 09 May, 2016 1 commit
    • Remove the annotate gem and delete old annotations · f1479b56
      Jeroen van Baarsen authored
      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
  5. 11 Apr, 2016 1 commit
  6. 29 Mar, 2016 1 commit
  7. 19 Mar, 2016 1 commit
  8. 18 Mar, 2016 2 commits
  9. 17 Mar, 2016 1 commit
  10. 16 Mar, 2016 2 commits
    • Fix MergeRequest#source_sha when there is no diff · 18295585
      Pierre de La Morinerie authored
      `MergeRequest#source_sha` is expected to return the sha of the source
      branch last commit.
      
      But when a open Merge Request has no diff (e.g. all commits have already
      been merged to the target branch), `merge_request.source_sha`
      incorrectly returns `nil`.
      
      This was un-noticed before – but now that !2217 has been merged,
      it makes `Gitlab::Git::Commit.between` raise an
      "Unexpected nil argument" exception.
      
      This fixes the crash, by making sure that `source_sha` returns a
      correct result even when there is no diff available.
  11. 11 Mar, 2016 1 commit
    • Use a UNION in MergeRequest.in_projects · 4f3fa519
      Yorick Peterse authored
      The OR condition for source_project_id/target_project_id leads to a
      query plan that performs rather poorly on PostgreSQL due to the use of
      sub-queries. Because Rails offers no easy alternative for this
      particular problem we're forced to using a UNION for both conditions.
      The resulting query performs much faster than just using an OR.
  12. 03 Mar, 2016 1 commit
  13. 19 Feb, 2016 1 commit
  14. 11 Feb, 2016 1 commit
    • Add new data to project in push, issue, merge-request and note webhooks data · b123171d
      Kirill Zaitsev authored
      - Add `avatar_url`, `description`, `git_ssh_url`, `git_http_url`,
        `path_with_namespace` and `default_branch` in `project` in push, issue,
        merge-request and note webhooks data
      - Deprecate the `ssh_url` in favor of `git_ssh_url` and `http_url` in
        favor of `git_http_url` in `project` for push, issue, merge-request and
        note webhooks data
      - Deprecate the `repository` key in push, issue, merge-request and
        note webhooks data, use `project` instead
  15. 04 Feb, 2016 1 commit
  16. 01 Feb, 2016 1 commit
    • Optimize fetching issues closed by a merge request · 99492d6b
      Yorick Peterse authored
      Instead of running ClosingIssueExtractor for every commit in a merge
      request we can gather all the commit messages (and the merge request
      description), concatenate all this together and then run
      ClosingIssueExtractor only once.
      
      The result of this is that MergeRequest#closes_issues is now between
      3.5x and 4x faster than the old setup. Using a merge request with 10
      commits (each referencing a number of issues to close) this reduced the
      call duration from around 200 milliseconds to around 50 milliseconds.
      
      As a result of these changes the Jira related tests for
      MergeRequest#closes_issues have been removed. These tests stubbed
      Commit#closes_issues meaning that the only code that was really tested
      was the call to Array#uniq to filter out duplicate issues. As this code
      is no longer used (nor present) the corresponding tests were removed.
      
      Related: gitlab-org/gitlab-ce#12419
  17. 06 Jan, 2016 2 commits
  18. 18 Dec, 2015 1 commit
  19. 09 Dec, 2015 1 commit
  20. 07 Dec, 2015 1 commit
  21. 05 Dec, 2015 1 commit
  22. 02 Dec, 2015 1 commit
  23. 23 Nov, 2015 1 commit
  24. 20 Nov, 2015 1 commit
  25. 18 Nov, 2015 1 commit
  26. 13 Nov, 2015 1 commit
  27. 22 Oct, 2015 1 commit
  28. 08 Oct, 2015 1 commit
  29. 06 Sep, 2015 1 commit
  30. 11 Aug, 2015 2 commits
  31. 04 Aug, 2015 1 commit
  32. 22 Jun, 2015 2 commits
  33. 26 May, 2015 2 commits