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
2d83e43d
Commit
2d83e43d
authored
Feb 11, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIx gitlab:env:info
parent
7a88bf09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
lib/tasks/gitlab/info.rake
lib/tasks/gitlab/info.rake
+2
-4
No files found.
lib/tasks/gitlab/info.rake
View file @
2d83e43d
...
...
@@ -54,16 +54,14 @@ namespace :gitlab do
# check Gitolite version
gitolite_version_file
=
"
#{
Gitlab
.
config
.
gitolite
.
repos_path
}
/../git
olite/src
/VERSION"
gitolite_version_file
=
"
#{
Gitlab
.
config
.
gitolite
.
repos_path
}
/../git
lab-shell
/VERSION"
if
File
.
readable?
(
gitolite_version_file
)
gitolite_version
=
File
.
read
(
gitolite_version_file
)
end
puts
""
puts
"Git
olite information
"
.
yellow
puts
"Git
Lab Shell
"
.
yellow
puts
"Version:
\t
#{
gitolite_version
||
"unknown"
.
red
}
"
puts
"Admin URI:
\t
#{
Gitlab
.
config
.
gitolite
.
admin_uri
}
"
puts
"Admin Key:
\t
#{
Gitlab
.
config
.
gitolite
.
admin_key
}
"
puts
"Repositories:
\t
#{
Gitlab
.
config
.
gitolite
.
repos_path
}
"
puts
"Hooks:
\t\t
#{
Gitlab
.
config
.
gitolite
.
hooks_path
}
"
puts
"Git:
\t\t
#{
Gitlab
.
config
.
git
.
bin_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