Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a9e2fa4c
Commit
a9e2fa4c
authored
Dec 23, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix output of gitlab:check
parent
3bf0b4e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+3
-4
No files found.
lib/tasks/gitlab/check.rake
View file @
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
...
@@ -505,7 +505,6 @@ namespace :gitlab do
...
@@ -505,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
}
"
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment