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
298e6eb6
Commit
298e6eb6
authored
Aug 29, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4924 from jameswritescode/update_check_to_verify_update_hook
update gitlab:check to look for update hook, not post-receive
parents
ffa46e02
4994ebbb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
check.rake
lib/tasks/gitlab/check.rake
+8
-8
No files found.
lib/tasks/gitlab/check.rake
View file @
298e6eb6
...
...
@@ -374,8 +374,8 @@ namespace :gitlab do
check_repo_base_is_not_symlink
check_repo_base_user_and_group
check_repo_base_permissions
check_
post_receiv
e_hook_is_up_to_date
check_repos_
post_receiv
e_hooks_is_link
check_
updat
e_hook_is_up_to_date
check_repos_
updat
e_hooks_is_link
finished_checking
"GitLab Shell"
end
...
...
@@ -385,10 +385,10 @@ namespace :gitlab do
########################
def
check_
post_receiv
e_hook_is_up_to_date
print
"
post-receiv
e hook up-to-date? ... "
def
check_
updat
e_hook_is_up_to_date
print
"
updat
e hook up-to-date? ... "
hook_file
=
"
post-receiv
e"
hook_file
=
"
updat
e"
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
...
...
@@ -494,10 +494,10 @@ namespace :gitlab do
end
end
def
check_repos_
post_receiv
e_hooks_is_link
print
"
post-receiv
e hooks in repos are links: ... "
def
check_repos_
updat
e_hooks_is_link
print
"
updat
e hooks in repos are links: ... "
hook_file
=
"
post-receiv
e"
hook_file
=
"
updat
e"
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
...
...
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