No gitolite in project any more
This commit is contained in:
parent
8e0b58d7e7
commit
d64090b8a9
27 changed files with 117 additions and 159 deletions
|
@ -8,7 +8,7 @@ namespace :gitlab do
|
|||
desc "GITLAB | Build missing projects"
|
||||
task build_missing_projects: :environment do
|
||||
Project.find_each(batch_size: 1000) do |project|
|
||||
path_to_repo = File.join(Gitlab.config.gitolite.repos_path, "#{project.path_with_namespace}.git")
|
||||
path_to_repo = File.join(Gitlab.config.gitlab_shell.repos_path, "#{project.path_with_namespace}.git")
|
||||
if File.exists?(path_to_repo)
|
||||
print '-'
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue