BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
99916fe1
Commit
99916fe1
authored
Oct 07, 2013
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add troubleshooting hints to update hook check
parent
e8b9712d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
check.rake
lib/tasks/gitlab/check.rake
+12
-6
No files found.
lib/tasks/gitlab/check.rake
View file @
99916fe1
...
...
@@ -393,14 +393,20 @@ namespace :gitlab do
hook_file
=
"update"
gitlab_shell_hooks_path
=
Gitlab
.
config
.
gitlab_shell
.
hooks_path
gitlab_shell_hook_file
=
File
.
join
(
gitlab_shell_hooks_path
,
hook_file
)
gitlab_shell_ssh_user
=
Gitlab
.
config
.
gitlab_shell
.
ssh_user
unless
File
.
exists?
(
gitlab_shell_hook_file
)
puts
"can't check because of previous errors"
.
magenta
return
if
File
.
exists?
(
gitlab_shell_hook_file
)
puts
"yes"
.
green
else
puts
"no"
.
red
puts
"Could not find
#{
gitlab_shell_hook_file
}
"
try_fixing_it
(
'Check the hooks_path in config/gitlab.yml'
,
'Check your gitlab-shell installation'
)
for_more_information
(
see_installation_guide_section
"GitLab Shell"
)
end
puts
"yes"
.
green
end
def
check_repo_base_exists
...
...
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