Commit ece30f53 authored by Riyad Preukschas's avatar Riyad Preukschas

Merge branch 'stable'

parents 2a390f5d a9e2fa4c
...@@ -53,14 +53,14 @@ namespace :gitlab do ...@@ -53,14 +53,14 @@ namespace :gitlab do
end end
def check_database_is_not_sqlite def check_database_is_not_sqlite
print "Database is not SQLite ... " print "Database is SQLite ... "
database_config_file = Rails.root.join("config", "database.yml") database_config_file = Rails.root.join("config", "database.yml")
unless File.read(database_config_file) =~ /sqlite/ unless File.read(database_config_file) =~ /sqlite/
puts "yes".green puts "no".green
else else
puts "no".red puts "yes".red
for_more_information( for_more_information(
"https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL", "https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL",
see_database_guide see_database_guide
...@@ -189,6 +189,8 @@ namespace :gitlab do ...@@ -189,6 +189,8 @@ namespace :gitlab do
if project.satellite.exists? if project.satellite.exists?
puts "yes".green puts "yes".green
elsif project.empty_repo?
puts "can't create, repository is empty".magenta
else else
puts "no".red puts "no".red
try_fixing_it( try_fixing_it(
...@@ -503,7 +505,6 @@ namespace :gitlab do ...@@ -503,7 +505,6 @@ namespace :gitlab do
puts "yes".green puts "yes".green
else else
puts "no".red puts "no".red
puts "#{gitolite_config_path} is not writable".red
try_fixing_it( try_fixing_it(
"sudo chmod 750 #{gitolite_config_path}" "sudo chmod 750 #{gitolite_config_path}"
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment