Commit 645afc384a12a06b7760fce1f0fdc822e9c6b164

Authored by Riyad Preukschas
1 parent 9cf1f69c

Display namespace for projects in gitlab:check task.

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
lib/tasks/gitlab/check.rake
@@ -184,7 +184,7 @@ namespace :gitlab do @@ -184,7 +184,7 @@ namespace :gitlab do
184 puts "" 184 puts ""
185 185
186 Project.find_each(batch_size: 100) do |project| 186 Project.find_each(batch_size: 100) do |project|
187 - print "#{project.name.yellow} ... " 187 + print "#{project.name_with_namespace.yellow} ... "
188 188
189 if project.satellite.exists? 189 if project.satellite.exists?
190 puts "yes".green 190 puts "yes".green
@@ -752,7 +752,7 @@ namespace :gitlab do @@ -752,7 +752,7 @@ namespace :gitlab do
752 } 752 }
753 753
754 Project.find_each(batch_size: 100) do |project| 754 Project.find_each(batch_size: 100) do |project|
755 - print "#{project.name.yellow} ... " 755 + print "#{project.name_with_namespace.yellow} ... "
756 756
757 correct_options = options.map do |name, value| 757 correct_options = options.map do |name, value|
758 run("git --git-dir=\"#{project.path_to_repo}\" config --get #{name}").try(:chomp) == value 758 run("git --git-dir=\"#{project.path_to_repo}\" config --get #{name}").try(:chomp) == value
@@ -793,7 +793,7 @@ namespace :gitlab do @@ -793,7 +793,7 @@ namespace :gitlab do
793 puts "" 793 puts ""
794 794
795 Project.find_each(batch_size: 100) do |project| 795 Project.find_each(batch_size: 100) do |project|
796 - print "#{project.name.yellow} ... " 796 + print "#{project.name_with_namespace.yellow} ... "
797 project_hook_file = File.join(project.path_to_repo, "hooks", hook_file) 797 project_hook_file = File.join(project.path_to_repo, "hooks", hook_file)
798 798
799 unless File.exists?(project_hook_file) 799 unless File.exists?(project_hook_file)