1. 11 4月, 2016 1 次提交
  2. 07 4月, 2016 1 次提交
  3. 05 4月, 2016 1 次提交
  4. 02 4月, 2016 2 次提交
  5. 27 3月, 2016 1 次提交
  6. 26 3月, 2016 1 次提交
  7. 25 3月, 2016 2 次提交
  8. 24 3月, 2016 2 次提交
  9. 20 3月, 2016 1 次提交
    • Y
      Cache output of Repository#exists? · 68a4c98f
      Yorick Peterse 提交于
      This caches the output of Repository#exists? in Redis while making sure
      it's flushed properly when creating new repositories, deleting them,
      etc.
      
      For the ProjectWiki tests to work I had to make ProjectWiki#create_repo!
      public as testing private methods in RSpec is a bit of a pain.
      68a4c98f
  10. 18 3月, 2016 3 次提交
    • Y
      Don't rebuild diverging commit count caches · 3d7feeed
      Yorick Peterse 提交于
      When calling Repository#build_cache we _don't_ want to build the
      diverging commit count cache as doing so can be _very_ slow for
      repositories with lots of branches. Because these caches are built
      whenever needed (= when actually viewing the list of branches in the web
      UI) we can safely remove this code from
      Repository#build_cache.
      3d7feeed
    • Y
      Removed Repository#rebuild_cache · 81d191ed
      Yorick Peterse 提交于
      This method is not used or tested anywhere.
      81d191ed
    • Y
      Cache project avatars stored in Git · cd05d3f7
      Yorick Peterse 提交于
      The avatar logic has been moved from Project to Repository as this makes
      caching easier. The logic itself in turn has been changed so that the
      logo file names are cached in Redis. This cache is flushed upon pushing
      a commit but _only_ if:
      
      1. The commit was pushed to the default branch
      2. The commit actually changes any of the logo files
      
      If no branch or commit is given the cache is flushed anyway, this
      ensures that calling Repository#expire_cache without any arguments still
      flushes the avatar cache (e.g. this is used when removing a project).
      
      Fixes gitlab-org/gitlab-ce#14363
      cd05d3f7
  11. 17 3月, 2016 1 次提交
  12. 09 3月, 2016 4 次提交
  13. 08 3月, 2016 3 次提交
  14. 02 3月, 2016 2 次提交
  15. 25 2月, 2016 1 次提交
  16. 23 2月, 2016 2 次提交
  17. 21 2月, 2016 1 次提交
    • Y
      Flush emptiness caches whenever needed · e0cb3212
      Yorick Peterse 提交于
      This ensures that the emptiness cache (used for Repository#empty? and
      Repository#has_visible_content?) is flushed after comitting changes
      (using the web editor, API or Git) for new repositories. Once a
      repository is no longer empty there's no need to explicitly flush the
      cache for Repository#empty?. The cache for
      Repository#has_visible_content? in turn is already flushed whenever
      needed.
      
      Fixes gitlab-org/gitlab-ce#13387
      e0cb3212
  18. 20 2月, 2016 11 次提交