Version 10 vs 11
Version 10 vs 11
Content Changes
Content Changes
Migration from GIT
===============
This method can be used when your repo only has one master branch.
1. Add a [[ https://c4science.ch/settings/panel/ssh/ | public ssh key ]] to your account (or a [[ https://c4science.ch/settings/panel/vcspassword/ | VCS password ]])
2. [[ https://c4science.ch/w/c4science/repo/ | Create repo in c4science ]]
3. Clone repo from other GIT (if you don't already have a local copy) and enter repo
```
git clone https://rezzonic@git.epfl.ch/repo/scitas-benchmarks.git
cd scitas-benchmarks
```
4. Switch the remote origin
```
git remote rename origin old-origin
git remote add origin ssh://git@c4science.ch:2222/diffusion/77/scitas-benchmarks.git
git remote rm old-origin
```
5. Push everything to c4science and set upstream to origin
```
git push --all --set-upstream origin
git push --tag
```
6. Wait until all the commits are parsed by phabricator to be available on the web interface (rate of import=1000commits/hour)
Migration from SVN
===============
* You can either migrate from SVN to GIT (prefered), or SVN to SVN
## SVN to GIT
TODO
## SVN to SVN
TODO
Migration from GIT
===============
This method can be used when your repo only has one master branch.
1. Add a [[ https://c4science.ch/settings/panel/ssh/ | public ssh key ]] to your account (or a [[ https://c4science.ch/settings/panel/vcspassword/ | VCS password ]])
2. [[ https://c4science.ch/w/c4science/repo/ | Create repo in c4science ]]
3. Clone repo from other GIT (if you don't already have a local copy) and enter repo
```
git clone https://rezzonic@git.epfl.ch/repo/scitas-benchmarks.git
cd scitas-benchmarks
```
4. Switch the remote origin
```
git remote rename origin old-origin
git remote add origin ssh://git@c4science.ch:2222/diffusion/77/scitas-benchmarks.git
git remote rm old-origin
```
5. Push everything to c4science and set upstream to origin
```
git push --all --set-upstream origin
git push --tag
```
6. Wait until all the commits are parsed by phabricator to be available on the web interface (rate of import=1000commits/hour)
Migration from SVN
===============
* You can either migrate from SVN to GIT (prefered), or SVN to SVN
## SVN to GIT
TODO using https://github.com/nirvdrum/svn2git
## SVN to SVN
TODO
Migration from GIT
===============
This method can be used when your repo only has one master branch.
1. Add a [[ https://c4science.ch/settings/panel/ssh/ | public ssh key ]] to your account (or a [[ https://c4science.ch/settings/panel/vcspassword/ | VCS password ]])
2. [[ https://c4science.ch/w/c4science/repo/ | Create repo in c4science ]]
3. Clone repo from other GIT (if you don't already have a local copy) and enter repo
```
git clone https://rezzonic@git.epfl.ch/repo/scitas-benchmarks.git
cd scitas-benchmarks
```
4. Switch the remote origin
```
git remote rename origin old-origin
git remote add origin ssh://git@c4science.ch:2222/diffusion/77/scitas-benchmarks.git
git remote rm old-origin
```
5. Push everything to c4science and set upstream to origin
```
git push --all --set-upstream origin
git push --tag
```
6. Wait until all the commits are parsed by phabricator to be available on the web interface (rate of import=1000commits/hour)
Migration from SVN
===============
* You can either migrate from SVN to GIT (prefered), or SVN to SVN
## SVN to GIT
TODO using https://github.com/nirvdrum/svn2git
## SVN to SVN
TODO
c4science · Help