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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
9655350c
Commit
9655350c
authored
Dec 23, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix check.rake
parent
ece30f53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
+32
-32
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+32
-32
No files found.
lib/tasks/gitlab/check.rake
View file @
9655350c
...
...
@@ -48,7 +48,7 @@ namespace :gitlab do
see_database_guide
,
"http://guides.rubyonrails.org/getting_started.html#configuring-a-database"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -65,7 +65,7 @@ namespace :gitlab do
"https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL"
,
see_database_guide
)
check_failed
fix_and_rerun
end
end
...
...
@@ -85,7 +85,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"GitLab"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -110,7 +110,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"GitLab"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -129,7 +129,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Install Init Script"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -155,7 +155,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Install Init Script"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -171,7 +171,7 @@ namespace :gitlab do
try_fixing_it
(
"sudo -u gitlab -H bundle exec rake db:migrate"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -201,7 +201,7 @@ namespace :gitlab do
for_more_information
(
"doc/raketasks/maintenance.md "
)
check_failed
fix_and_rerun
end
end
end
...
...
@@ -222,7 +222,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"GitLab"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -242,7 +242,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"GitLab"
)
check_failed
fix_and_rerun
end
end
end
...
...
@@ -290,7 +290,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"GitLab"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -308,7 +308,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"System Users"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -332,7 +332,7 @@ namespace :gitlab do
see_installation_guide_section
(
"Gitolite"
),
"https://github.com/gitlabhq/gitlabhq/issues/1059"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -352,7 +352,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Packages / Dependencies"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -378,7 +378,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Packages / Dependencies"
)
check_failed
fix_and_rerun
end
end
end
...
...
@@ -434,7 +434,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Gitolite"
)
check_failed
fix_and_rerun
end
# assumes #check_can_clone_gitolite_admin has been run before
...
...
@@ -466,7 +466,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Gitolite"
)
check_failed
fix_and_rerun
ensure
FileUtils
.
rm_rf
(
"/tmp/gitolite_gitlab_test"
)
end
...
...
@@ -488,7 +488,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Gitolite"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -511,7 +511,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Gitolite"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -537,7 +537,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Gitolite"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -582,7 +582,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Gitolite"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -611,7 +611,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Gitolite"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -635,7 +635,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Setup GitLab Hooks"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -666,7 +666,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Setup GitLab Hooks"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -688,7 +688,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Gitolite"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -712,7 +712,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Gitolite"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -738,7 +738,7 @@ namespace :gitlab do
for_more_information
(
see_installation_guide_section
"Gitolite"
)
check_failed
fix_and_rerun
end
end
...
...
@@ -772,7 +772,7 @@ namespace :gitlab do
for_more_information
(
"doc/raketasks/maintenance.md"
)
check_failed
fix_and_rerun
end
end
end
...
...
@@ -808,7 +808,7 @@ namespace :gitlab do
for_more_information
(
"lib/support/rewrite-hooks.sh"
)
check_failed
fix_and_rerun
next
end
...
...
@@ -822,7 +822,7 @@ namespace :gitlab do
for_more_information
(
"lib/support/rewrite-hooks.sh"
)
check_failed
fix_and_rerun
end
end
end
...
...
@@ -880,7 +880,7 @@ namespace :gitlab do
see_installation_guide_section
(
"Install Init Script"
),
"see log/resque.log for possible errors"
)
check_failed
fix_and_rerun
end
end
end
...
...
@@ -889,7 +889,7 @@ namespace :gitlab do
# Helper methods
##########################
def
check_failed
def
fix_and_rerun
puts
" Please
#{
"fix the error above"
}
and rerun the checks."
.
red
end
...
...
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