1. 10 2月, 2016 1 次提交
    • Y
      Smarter flushing of branch statistics caches · 2ce0d063
      Yorick Peterse 提交于
      Instead of flushing the behind/ahead counts for all branches upon every
      push we now only flush the cache of branches that actually need to have
      these statistics recalculated. There are now basically 2 scenarios and
      their effects:
      
      1. A user pushes a commit to the default branch, this results in the
         cache being flushed for all branches.
      2. A user pushes to a non default branch, this results in _only_ the
         cache for that branch being flushed.
      
      The existing code (Repository#expire_cache) remains backwards compatible
      with the previous behaviour, the new behaviour is only applied when a
      branch name is passed as an argument. This ensures that when for example
      a project is deleted the cache for all branches is flushed.
      2ce0d063
  2. 08 2月, 2016 1 次提交
    • Y
      Cache various Repository Git operations · 9a99d8e4
      Yorick Peterse 提交于
      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.
      9a99d8e4
  3. 12 12月, 2015 1 次提交
  4. 19 11月, 2015 1 次提交
  5. 13 11月, 2015 1 次提交
  6. 18 10月, 2015 1 次提交
  7. 16 10月, 2015 1 次提交
    • S
      Add a system note and update relevant merge requests when a branch is deleted or re-added · 2611d9f6
      Stan Hu 提交于
      If a branch is deleted with an open merge request, amended offline, and then pushed again,
      GitLab doesn't bother to update the merge request even though the last commit ID and/or
      code may have changed. This MR ensures that each push will update any relevant merge
      requests and adds a system note if this happens as well.
      
      Closes #2926
      2611d9f6
  8. 12 10月, 2015 1 次提交
  9. 02 10月, 2015 1 次提交
  10. 23 9月, 2015 2 次提交
  11. 22 8月, 2015 1 次提交
  12. 11 8月, 2015 3 次提交
  13. 17 7月, 2015 2 次提交
  14. 15 7月, 2015 1 次提交
  15. 22 6月, 2015 1 次提交
  16. 12 6月, 2015 1 次提交
  17. 02 6月, 2015 1 次提交
  18. 06 5月, 2015 1 次提交
  19. 24 4月, 2015 2 次提交
  20. 02 4月, 2015 2 次提交
  21. 21 3月, 2015 1 次提交
  22. 19 3月, 2015 1 次提交
  23. 14 3月, 2015 2 次提交
  24. 13 3月, 2015 1 次提交
  25. 10 3月, 2015 1 次提交
  26. 09 3月, 2015 1 次提交
    • H
      fix mass SQL statements on initial push · 224e104d
      Hannes Rosenögger 提交于
      This commit disables process_commit_messages()
      for the initial push to the default branch.
      This fixes the mass SQL statements (~500000) that were executed during
      the initial push of the linux kernel for example.
      224e104d
  27. 03 3月, 2015 1 次提交
    • S
      Issue #595: Support Slack notifications upon issue and merge request events · afe5d7d2
      Stan Hu 提交于
      1) Adds a DB migration for all services to toggle on push, issue, and merge events.
      
      2) Upon an issue or merge request event, fire service hooks.
      
      3) Slack service supports custom messages for each of these events. Other services
      not supported at the moment.
      
      4) Label merge request hooks with their corresponding actions.
      afe5d7d2
  28. 13 2月, 2015 1 次提交
  29. 26 1月, 2015 2 次提交
  30. 12 1月, 2015 1 次提交
  31. 29 12月, 2014 1 次提交
  32. 12 11月, 2014 1 次提交