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
iv
gitlab-ce
Commits
f7859ec1
Commit
f7859ec1
authored
Dec 16, 2011
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rake dev_repo: fixed for ubuntu
parent
ced572c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/tasks/dev_repo.rake
lib/tasks/dev_repo.rake
+3
-3
No files found.
lib/tasks/dev_repo.rake
View file @
f7859ec1
...
@@ -5,19 +5,19 @@ raise "\n *** Run ./lib/tasks/dev_user.sh first *** \n" if key.empty?
...
@@ -5,19 +5,19 @@ raise "\n *** Run ./lib/tasks/dev_user.sh first *** \n" if key.empty?
Key
.
create
(
:user_id
=>
User
.
first
,
:key
=>
key
,
:title
=>
"gitlabdev"
)
Key
.
create
(
:user_id
=>
User
.
first
,
:key
=>
key
,
:title
=>
"gitlabdev"
)
puts
"
\n
*** Clone diaspora from github"
puts
"
\n
*** Clone diaspora from github"
`sudo -u gitlabdev -H
git clone git://github.com/diaspora/diaspora.git /home/gitlabdev/diaspora
`
`sudo -u gitlabdev -H
sh -c "cd /home/gitlabdev; git clone git://github.com/diaspora/diaspora.git /home/gitlabdev/diaspora"
`
puts
"
\n
*** Push diaspora source to gitlab"
puts
"
\n
*** Push diaspora source to gitlab"
`sudo -u gitlabdev -H sh -c "cd /home/gitlabdev/diaspora; git remote add local git@localhost:diaspora.git; git push local master; git push local --tags; git checkout -b api origin/api; git push local api; git checkout -b heroku origin/heroku; git push local heroku"`
`sudo -u gitlabdev -H sh -c "cd /home/gitlabdev/diaspora; git remote add local git@localhost:diaspora.git; git push local master; git push local --tags; git checkout -b api origin/api; git push local api; git checkout -b heroku origin/heroku; git push local heroku"`
puts
"
\n
*** Clone rails from github"
puts
"
\n
*** Clone rails from github"
`sudo -u gitlabdev -H
git clone git://github.com/rails/rails.git /home/gitlabdev/rails
`
`sudo -u gitlabdev -H
sh -c "cd /home/gitlabdev; git clone git://github.com/rails/rails.git /home/gitlabdev/rails"
`
puts
"
\n
*** Push rails source to gitlab"
puts
"
\n
*** Push rails source to gitlab"
`sudo -u gitlabdev -H sh -c "cd /home/gitlabdev/rails; git remote add local git@localhost:ruby_on_rails.git; git push local master; git push local --tags"`
`sudo -u gitlabdev -H sh -c "cd /home/gitlabdev/rails; git remote add local git@localhost:ruby_on_rails.git; git push local master; git push local --tags"`
puts
"
\n
*** Clone rubinius from github"
puts
"
\n
*** Clone rubinius from github"
`sudo -u gitlabdev -H
git clone git://github.com/rubinius/rubinius.git /home/gitlabdev/rubinius
`
`sudo -u gitlabdev -H
sh -c "cd /home/gitlabdev; git clone git://github.com/rubinius/rubinius.git /home/gitlabdev/rubinius"
`
puts
"
\n
*** Push rubinius source to gitlab"
puts
"
\n
*** Push rubinius source to gitlab"
`sudo -u gitlabdev -H sh -c "cd /home/gitlabdev/rubinius; git remote add local git@localhost:rubinius.git; git push local master; git push local --tags"`
`sudo -u gitlabdev -H sh -c "cd /home/gitlabdev/rubinius; git remote add local git@localhost:rubinius.git; git push local master; git push local --tags"`
...
...
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