gitlabhq/lib
Vincent Bonmalais 1fe45898d7 Fix deletion of tmp/gitlabhq-gitolite* folders in a NFS environment.
When working inside of a Vagrant box with NFS enabled, the deletion of a
repository in tmp/ doesn't work every time.

It is related to NFS inability to delete a folder if it's still used by
a resource (e.g. `rm -rf ./folder` would leave the folder and a .nfs*
    file in it). In this case it's the temporary repository which can't
be deleted because `ga_repo` is still using it.

De-allocating ga_repo is not possible (thanks Ruby), but deleting the
folder it points to in the first place fixes the issue.

Reference:
http://stackoverflow.com/questions/11228079/python-remove-directory-error-file-exists
2012-09-28 16:53:02 +10:00
..
api API: SSH keys belong to user entity 2012-09-21 04:49:28 -07:00
assets move assets from lib directory to vendor 2012-05-29 17:56:48 +05:00
gitlab Fix deletion of tmp/gitlabhq-gitolite* folders in a NFS environment. 2012-09-28 16:53:02 +10:00
hooks changed the post-receive hook in order to push the correct repository name when the name contain special characters 2012-09-21 13:02:59 -06:00
redcarpet/render Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00
tasks cleanup rake tasks 2012-09-26 04:18:10 -07:00
api.rb API: SSH keys belong to user entity 2012-09-21 04:49:28 -07:00
extracts_path.rb ExtractPaths - Only call assign_ref_vars on show action 2012-09-26 16:32:22 -04:00
file_size_validator.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00