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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
04e1c4d3
Commit
04e1c4d3
authored
Aug 18, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-rake-info' into 'master'
Fix gitlab:env:info rake task. Found doing QA. See merge request !1169
parents
2b127c3f
02532d58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lib/tasks/gitlab/info.rake
lib/tasks/gitlab/info.rake
+1
-2
No files found.
lib/tasks/gitlab/info.rake
View file @
04e1c4d3
...
@@ -30,8 +30,7 @@ namespace :gitlab do
...
@@ -30,8 +30,7 @@ namespace :gitlab do
# check database adapter
# check database adapter
database_adapter
=
ActiveRecord
::
Base
.
connection
.
adapter_name
.
downcase
database_adapter
=
ActiveRecord
::
Base
.
connection
.
adapter_name
.
downcase
project
=
Project
.
new
(
path:
"some-project"
)
project
=
Group
.
new
(
path:
"some-group"
).
projects
.
build
(
path:
"some-project"
)
project
.
path
=
"some-project"
# construct clone URLs
# construct clone URLs
http_clone_url
=
project
.
http_url_to_repo
http_clone_url
=
project
.
http_url_to_repo
ssh_clone_url
=
project
.
ssh_url_to_repo
ssh_clone_url
=
project
.
ssh_url_to_repo
...
...
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