Page MenuHomec4science

Migration procedures for EPFL
Updated 2,608 Days AgoPublic

Version 27 of 40: You are viewing an older version of this document, as it appeared on Mar 16 2017, 17:10.

This is the manual migration procedure, there's also a script to automate the migration, see Migration script for EPFL

Migration from GIT

  1. Add a public ssh key to your account (or a VCS password)
  2. 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
  1. Switch the remote origin
git remote rename origin old-origin
git remote add origin ssh://git@c4science.ch:2222/diffusion/77/scitas-benchmarks.git
  1. Push everything to c4science and set upstream to origin
git push --all --set-upstream origin
git push --tag
  1. Wait until all the commits are parsed by phabricator to be available on the web interface

Migration from SVN

  • You can either migrate from SVN to GIT (preferred), or SVN to SVN

SVN to GIT

You can use the svn2git utility.

SVN to SVN

WARNING: This procedure doesn't actually copy the files to c4science, do not delete your repository on svn.epfl.ch for now We will update this procedure once we find a better solution.

- Create a subversion repository
- On the management page before activating the repository go in URIs (on the left panel). In the image below, we migrate the hpc-grid svn repository.
- Add an URI that is the repository to import and select Observe as an I/O Type

- Create the repository URI
- If your repository needs authentication, you can Set a Credential from the URI page

- Activate the repository, this will start the import of data.
- Once it is done, edit the URI you added previously to change the I/O Type to No I/O. You can also change the Display Type to Hidden

Service accounts

If you are using service accounts for your git and svn repositories, you can either use ssh keys on c4science or you can ask for a bot user.

Last Author
aubort
Last Edited
Mar 16 2017, 17:10

Event Timeline

rezzonico created this document.Apr 6 2016, 16:44
rezzonico edited the content of this document. (Show Details)
rezzonico edited the content of this document. (Show Details)
rezzonico edited the content of this document. (Show Details)Apr 6 2016, 16:47
rezzonico edited the content of this document. (Show Details)
rezzonico edited the content of this document. (Show Details)
rezzonico edited the content of this document. (Show Details)
rezzonico edited the content of this document. (Show Details)Apr 10 2016, 22:31
aubort edited the content of this document. (Show Details)Apr 14 2016, 12:45
aubort edited the content of this document. (Show Details)Apr 25 2016, 10:51
aubort changed the visibility from "Public (No Login Required)" to "All Users".Jun 5 2016, 20:54
aubort changed the visibility from "All Users" to "Public (No Login Required)".Jun 7 2016, 12:46
aubort edited the content of this document. (Show Details)Jun 13 2016, 13:52
aubort edited the content of this document. (Show Details)Jul 4 2016, 14:45
richart edited the content of this document. (Show Details)Sep 6 2016, 10:59
richart edited the content of this document. (Show Details)
richart edited the content of this document. (Show Details)Sep 6 2016, 11:08
rezzonico edited the content of this document. (Show Details)Oct 26 2016, 11:23
rezzonico edited the content of this document. (Show Details)Oct 26 2016, 11:32
aubort changed the edit policy from "c4science (Project)" to "Restricted Project (Project)".Dec 16 2016, 16:50
aubort edited the content of this document. (Show Details)Feb 5 2017, 13:18
aubort added a project: c4science.
aubort changed the title from Migration procedures to Migration procedures for EPFL.Mar 13 2017, 15:19
aubort edited the content of this document. (Show Details)
rezzonico edited the content of this document. (Show Details)Mar 13 2017, 16:29
rezzonico edited the content of this document. (Show Details)
richart edited the content of this document. (Show Details)Mar 14 2017, 10:53
richart edited the content of this document. (Show Details)
rezzonico edited the content of this document. (Show Details)Mar 14 2017, 13:05
rezzonico edited the content of this document. (Show Details)Mar 14 2017, 13:47
aubort edited the content of this document. (Show Details)Mar 14 2017, 15:15
rezzonico edited the content of this document. (Show Details)Mar 15 2017, 08:09
aubort edited the content of this document. (Show Details)Mar 16 2017, 17:10
aubort edited the content of this document. (Show Details)Mar 16 2017, 17:20
aubort edited the content of this document. (Show Details)Mar 16 2017, 17:40
aubort edited the content of this document. (Show Details)Mar 16 2017, 17:50
aubort edited the content of this document. (Show Details)Mar 30 2017, 16:50
aubort edited the content of this document. (Show Details)Mar 31 2017, 17:55
aubort edited the content of this document. (Show Details)
aubort edited the content of this document. (Show Details)Apr 27 2017, 10:32
richart edited the content of this document. (Show Details)Apr 27 2017, 10:50
aubort edited the content of this document. (Show Details)May 1 2017, 10:52
rezzonico edited the content of this document. (Show Details)May 2 2017, 10:54
rezzonico edited the content of this document. (Show Details)
aubort edited the content of this document. (Show Details)May 18 2017, 15:14
aubort edited the content of this document. (Show Details)Aug 31 2017, 13:05