Difference between revisions of "Subversion"

From Cncz
Jump to: navigation, search
(Migrating from Subversion)
(Manual migration from Subversion)
Line 6: Line 6:
 
We have automated the migration from [[Subversion]] to GitLab. Contact postmaster@science.ru.nl if you whish to have clone access to your migrated repository.
 
We have automated the migration from [[Subversion]] to GitLab. Contact postmaster@science.ru.nl if you whish to have clone access to your migrated repository.
  
== Manual migration from Subversion ==
+
== Manual migration from Subversion to Gitlab ==
 
Inspired by [https://gist.github.com/leftclickben/322b7a3042cbe97ed2af this short manual], an SVN to git conversion could boil down to something like:
 
Inspired by [https://gist.github.com/leftclickben/322b7a3042cbe97ed2af this short manual], an SVN to git conversion could boil down to something like:
  

Revision as of 12:40, 26 April 2016

GitLab is the successor of our Subversion service!


Migrating from Subversion to Gitlab

We have automated the migration from Subversion to GitLab. Contact if you whish to have clone access to your migrated repository.

Manual migration from Subversion to Gitlab

Inspired by this short manual, an SVN to git conversion could boil down to something like:

cd /tmp/
git svn clone --no-metadata -A users.txt https://svn.science.ru.nl/repos/myproject
cd myproject
git remote add gitlab :yourscienceloginname/myproject.git
git push --set-upstream gitlab master

Git URLs (https and ssh) are shown on the top of the project page in gitlab. The generic repository URL for the science SVN server is:

https://svn.science.ru.nl/repos/{repository}

And for CS:

https://svn.cs.ru.nl/repos/{repository}


You can also see this for public svn repositories on https://svn.science.ru.nl (viewing private repositories requires authentication).


The old subversion wiki page is archived here