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
894b266a
Commit
894b266a
authored
Jun 14, 2016
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Database version information on gitlab:env:info rake
parent
ccc7e843
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/tasks/gitlab/info.rake
lib/tasks/gitlab/info.rake
+3
-1
No files found.
lib/tasks/gitlab/info.rake
View file @
894b266a
...
...
@@ -28,7 +28,8 @@ namespace :gitlab do
# check database adapter
database_adapter
=
ActiveRecord
::
Base
.
connection
.
adapter_name
.
downcase
database_adapter
=
Gitlab
::
Database
.
adapter_name
database_version
=
Gitlab
::
Database
.
version
project
=
Group
.
new
(
path:
"some-group"
).
projects
.
build
(
path:
"some-project"
)
# construct clone URLs
...
...
@@ -44,6 +45,7 @@ namespace :gitlab do
puts
"Revision:
\t
#{
Gitlab
::
REVISION
}
"
puts
"Directory:
\t
#{
Rails
.
root
}
"
puts
"DB Adapter:
\t
#{
database_adapter
}
"
puts
"DB Version:
\t
#{
database_version
}
"
puts
"URL:
\t\t
#{
Gitlab
.
config
.
gitlab
.
url
}
"
puts
"HTTP Clone URL:
\t
#{
http_clone_url
}
"
puts
"SSH Clone URL:
\t
#{
ssh_clone_url
}
"
...
...
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