No gitolite in project any more
This commit is contained in:
parent
8e0b58d7e7
commit
d64090b8a9
27 changed files with 117 additions and 159 deletions
|
@ -54,16 +54,16 @@ namespace :gitlab do
|
|||
|
||||
|
||||
# check Gitolite version
|
||||
gitolite_version_file = "#{Gitlab.config.gitolite.repos_path}/../gitlab-shell/VERSION"
|
||||
if File.readable?(gitolite_version_file)
|
||||
gitolite_version = File.read(gitolite_version_file)
|
||||
gitlab_shell_version_file = "#{Gitlab.config.gitlab_shell.repos_path}/../gitlab-shell/VERSION"
|
||||
if File.readable?(gitlab_shell_version_file)
|
||||
gitlab_shell_version = File.read(gitlab_shell_version_file)
|
||||
end
|
||||
|
||||
puts ""
|
||||
puts "GitLab Shell".yellow
|
||||
puts "Version:\t#{gitolite_version || "unknown".red}"
|
||||
puts "Repositories:\t#{Gitlab.config.gitolite.repos_path}"
|
||||
puts "Hooks:\t\t#{Gitlab.config.gitolite.hooks_path}"
|
||||
puts "Version:\t#{gitlab_shell_version || "unknown".red}"
|
||||
puts "Repositories:\t#{Gitlab.config.gitlab_shell.repos_path}"
|
||||
puts "Hooks:\t\t#{Gitlab.config.gitlab_shell.hooks_path}"
|
||||
puts "Git:\t\t#{Gitlab.config.git.bin_path}"
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue