1. 08 11月, 2016 1 次提交
  2. 29 10月, 2016 1 次提交
    • A
      Fix lightweight tags not processed correctly by GitTagPushService · fa3bbd44
      Alejandro Rodríguez 提交于
      When we updated gitlab_git to 10.4.1, `tag.target` changed from pointing
      to the sha of the tag to the sha of the commit the tag points to. The
      problem is that only annotated tags have `object_sha`s, lightweight tags
      don't (it's nil), so (only) in their case we still need to use
      `tag.target`.
      fa3bbd44
  3. 28 10月, 2016 1 次提交
  4. 24 10月, 2016 1 次提交
    • S
      Expire and build repository cache after project import · 4ea1973f
      Stan Hu 提交于
      After a project import, there's a chance that the UI checks the
      branch count before the project has been imported. This change
      causes more of the keys to be flushed after an import and forces
      a rebuild of the repository cache.
      
      Closes #13518
      4ea1973f
  5. 14 10月, 2016 1 次提交
  6. 11 10月, 2016 1 次提交
  7. 10 10月, 2016 2 次提交
  8. 04 10月, 2016 1 次提交
  9. 20 9月, 2016 1 次提交
  10. 14 9月, 2016 1 次提交
  11. 07 9月, 2016 3 次提交
  12. 02 9月, 2016 1 次提交
  13. 01 9月, 2016 1 次提交
  14. 19 8月, 2016 1 次提交
  15. 09 8月, 2016 1 次提交
  16. 03 8月, 2016 1 次提交
  17. 29 7月, 2016 1 次提交
  18. 27 7月, 2016 1 次提交
  19. 25 7月, 2016 1 次提交
  20. 22 7月, 2016 2 次提交
    • S
      Gracefully handle case when keep-around references are corrupted or exist already · 39106483
      Stan Hu 提交于
      We were seeing a number of error messages when attempting to create a keep-around ref:
      
      1. Failed to create locked file `refs/keep-around/XYZ`: File exists
      2. Failed to write reference `refs/keep-around/XYZ`: a reference with that name already exists.
      
      I'm not sure how these happen, but I suspect when multiple workers attempt to write the same
      file we may have an issue. The force parameter should help ensure the file gets created,
      as well as the rescues to prevent 500 Errors.
      
      Rugged/libgit2 unfortunately do not allow you to delete or re-create a reference that has
      been corrupted, even with the force parameter.
      
      Closes #20109
      39106483
    • A
  21. 21 7月, 2016 1 次提交
  22. 20 7月, 2016 1 次提交
  23. 19 7月, 2016 2 次提交
  24. 18 7月, 2016 2 次提交
  25. 14 7月, 2016 1 次提交
  26. 13 7月, 2016 1 次提交
    • T
      Enforce "developers can merge" during `pre-receive`. · 495db096
      Timothy Andrew 提交于
      1. When a merge request is being merged, save the merge commit SHA in
         the `in_progress_merge_commit_sha` database column.
      
      2. The `pre-receive` hook looks for any locked (in progress) merge
         request with `in_progress_merge_commit_sha` matching the `newrev` it
         is passed.
      
      3. If it finds a matching MR, the merge is legitimate.
      
      4. Update `git_access_spec` to test the behaviour we added here. Also
         refactored this spec a bit to make it easier to add more contexts / conditions.
      495db096
  27. 12 7月, 2016 1 次提交
  28. 07 7月, 2016 1 次提交
  29. 04 7月, 2016 2 次提交
  30. 02 7月, 2016 1 次提交
  31. 30 6月, 2016 1 次提交
    • P
      Expire branch/tag git data when needed. · 5fe85bc8
      Paco Guzman 提交于
      When pushing commits to existing branches we don’t
      need to flush branch git data (branch names / counts)
      
      When flushes the cache when pushing commits skip to
      flush branch and tag git data (names / counts) because
      those operations are managed explicitly in each case
      
      Repopulated expired cache as soon as possible
      5fe85bc8
  32. 17 6月, 2016 1 次提交
  33. 03 6月, 2016 1 次提交