Project -> update repo only on create and destroy. Fixtures Updated with namespaces. Fixed moving repo
This commit is contained in:
parent
cc52eed981
commit
70bf7f6e19
11 changed files with 45 additions and 31 deletions
|
@ -83,7 +83,11 @@ module Gitlab
|
|||
|
||||
def destroy_project(project)
|
||||
FileUtils.rm_rf(project.path_to_repo)
|
||||
conf.rm_repo(project.path)
|
||||
conf.rm_repo(project.path_with_namespace)
|
||||
end
|
||||
|
||||
def clean_repo repo_name
|
||||
conf.rm_repo(repo_name)
|
||||
end
|
||||
|
||||
def destroy_project!(project)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue