Improve activate_namespace task to build missing dirs and moving repos correctly
This commit is contained in:
parent
fbe03c506f
commit
04b51a2b89
2 changed files with 34 additions and 4 deletions
|
@ -38,6 +38,12 @@ module Gitlab
|
|||
config.admin_all_repo!
|
||||
end
|
||||
|
||||
def update_repositories projects
|
||||
config.apply do |config|
|
||||
config.update_projects(projects)
|
||||
end
|
||||
end
|
||||
|
||||
alias_method :create_repository, :update_repository
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue