BigW Consortium Gitlab

  1. 10 Mar, 2016 1 commit
    • Optimize Project#ci_service(s) · f2992cf3
      Yorick Peterse authored
      The method Project#ci_services would load all services into memory
      (including _all_ their columns) and then use Enumerable#select to reduce
      the list. Project#ci_service in turn would further reduce this list down
      to just 1 Service instance.
      
      Instead of doing all this in Ruby we can just offload the work to the
      database, reducing the amount of time spent in these methods. These
      changes reduce the time of the first call to Project#ci_services from
      around 240 ms to around 10 ms, though the final timings will vary based
      on database load. Because Project#ci_service is memoized there's no
      further overhead introduced by using a database query.
      
      Fixes gitlab-org/gitlab-ce#14186
  2. 09 Mar, 2016 1 commit
  3. 07 Mar, 2016 14 commits
  4. 05 Mar, 2016 1 commit
  5. 03 Mar, 2016 1 commit
  6. 02 Mar, 2016 1 commit
  7. 26 Feb, 2016 1 commit
    • Flush repository caches before renaming projects · 1dfef90a
      Yorick Peterse authored
      This ensures that if a project is later re-created using the old path it
      doesn't end up re-using the old cache. This also ensures we don't keep
      the cache around until its expired by Redis itself.
      
      Fixes gitlab-org/gitlab-ce#13790
  8. 24 Feb, 2016 2 commits
  9. 23 Feb, 2016 1 commit
  10. 17 Feb, 2016 1 commit
  11. 16 Feb, 2016 1 commit
  12. 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
  13. 08 Feb, 2016 1 commit
    • Cache various Repository Git operations · 9a99d8e4
      Yorick Peterse authored
      This caches the output of the following methods:
      
      * Repository#empty?
      * Repository#has_visible_content?
      * Repository#root_ref
      
      The cache for Repository#has_visible_content? is flushed whenever a
      commit is pushed to a new branch or an existing branch is removed.
      The cache for Repository#root_ref is only flushed whenever a user
      changes the default branch of a project. The cache for Repository#empty?
      is never explicitly flushed as there's no need for it.
  14. 05 Feb, 2016 2 commits
  15. 03 Feb, 2016 3 commits
  16. 29 Jan, 2016 1 commit
  17. 28 Jan, 2016 1 commit
  18. 27 Jan, 2016 2 commits
  19. 26 Jan, 2016 1 commit
  20. 22 Jan, 2016 2 commits
  21. 20 Jan, 2016 1 commit