Activity Team/How to migrate from OLPC: Difference between revisions
mNo edit summary |
|||
| Line 5: | Line 5: | ||
* '''[http://git.sugarlabs.org/projects/new Create a new project]''' (http://git.sugarlabs.org, projects, new). Make your project name lowercase, e.g. pippy, turtleart, paint. Put it in '''category "activities"'''. | * '''[http://git.sugarlabs.org/projects/new Create a new project]''' (http://git.sugarlabs.org, projects, new). Make your project name lowercase, e.g. pippy, turtleart, paint. Put it in '''category "activities"'''. | ||
* '''Clone''' your activity from [http://dev.laptop.org/git dev.laptop.org]. | * '''Clone''' your activity from [http://dev.laptop.org/git dev.laptop.org]. | ||
git | git clone git://dev.laptop.org/projects/pippy-activity | ||
* '''If''' you want to migrate a non-master branch... | * '''If''' you want to migrate a non-master branch... | ||
git remote show origin | git remote show origin | ||
| Line 12: | Line 12: | ||
git push gitorious@git.sugarlabs.org:sugar/mainline.git --mirror | git push gitorious@git.sugarlabs.org:sugar/mainline.git --mirror | ||
* To be able to push your changes to the new repository in the future you'll need to do a git clone on the new location into an empty directory, then change the remote origin url in .git/config within the "mainline" directory in that new directory to the new URL you used with your previous push: | |||
[remote "origin"] | |||
url = gitorious@git.sugarlabs.org:sugar/mainline.git | |||
fetch = +refs/heads/*:refs/remotes/origin/* | |||
* '''Add''' the pootle user as a committer (from the "add committer" link on the mainline page) and send mail to [[User:SayaminduDasgupta|Sayamindu]] to point pootle to new remote. | * '''Add''' the pootle user as a committer (from the "add committer" link on the mainline page) and send mail to [[User:SayaminduDasgupta|Sayamindu]] to point pootle to new remote. | ||