1. 05 6月, 2015 1 次提交
  2. 03 6月, 2015 1 次提交
    • D
      Move repository when project is removed · 97ff86e0
      Dmitriy Zaporozhets 提交于
      Ths commit does next:
      
      * When we remove project we move repository to path+deleted.git
      * Then we schedule removal of path+deleted with sidekiq
      * If repository move failed we abort project removal
      
      This should help us with NFS issue when project get removed but
      repository stayed. The full explanation of problem is below:
      
      * rm -rf project.git
      * rm -rf removes project.git/objects/foo
      * NFS server renames foo to foo.nfsXXXX because some NFS client (think
      * Unicorn) still has the file open
      * rm -rf exits, but project.git/objects/foo.nfsXXX still exists
      * Unicorn closes the file, the NFS client closes the file (foo), and the
      * NFS server removes foo.nfsXXX
      * the directory project.git/objects/ still exists => problem
      
      So now we move repository and even if repository removal failed
      
      Repository directory is moved so no bugs with project removed but
      repository directory taken. User still able to create new project with
      same name. From administrator perspective you can easily find stalled
      repositories by searching `*+deleted.git`
      Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
      97ff86e0
  3. 01 5月, 2015 2 次提交
  4. 23 4月, 2015 1 次提交
  5. 20 4月, 2015 1 次提交
  6. 12 3月, 2015 1 次提交
  7. 11 3月, 2015 1 次提交
  8. 03 3月, 2015 1 次提交
  9. 26 2月, 2015 1 次提交
  10. 24 2月, 2015 1 次提交
  11. 19 2月, 2015 1 次提交
  12. 18 2月, 2015 3 次提交
  13. 15 2月, 2015 1 次提交
    • V
      Upgrade to Rails 4.1.9 · 76aad9b7
      Vinnie Okada 提交于
      Make the following changes to deal with new behavior in Rails 4.1.2:
      
      * Use nested resources to avoid slashes in arguments to path helpers.
      76aad9b7
  14. 06 2月, 2015 1 次提交
  15. 25 1月, 2015 1 次提交
  16. 24 1月, 2015 2 次提交
  17. 23 1月, 2015 1 次提交
  18. 15 12月, 2014 1 次提交
  19. 30 11月, 2014 2 次提交
  20. 14 11月, 2014 1 次提交
  21. 05 11月, 2014 1 次提交
  22. 23 10月, 2014 1 次提交
  23. 20 10月, 2014 1 次提交
  24. 19 10月, 2014 1 次提交
  25. 16 10月, 2014 1 次提交
  26. 14 10月, 2014 1 次提交
  27. 08 10月, 2014 1 次提交
    • V
      Add option to keep repo on project delete · 68b5ac7f
      Vinnie Okada 提交于
      Update the project API controller to use `Projects::DestroyService`
      instead of calling `Project#destroy` directly.
      
      Also add an optional parameter, `:keep_repo`, that allows a project to
      be deleted without deleting the repository, wiki, and satellite from
      disk.
      68b5ac7f
  28. 06 9月, 2014 1 次提交
  29. 30 8月, 2014 1 次提交
  30. 29 7月, 2014 1 次提交
  31. 22 7月, 2014 1 次提交
  32. 18 7月, 2014 3 次提交
  33. 26 6月, 2014 1 次提交