Difference between revisions of "Subversion"
(actuele status toegevoegd) |
|||
(63 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | [nl] | + | [nl]<big>svn.science.ru.nl is uitgezet! De opvolger van onze Subversion service is [[GitLab]]!</big>[/nl] |
− | + | [en]<big>svn.science.ru.nl has been turned off! [[GitLab]] is the successor of our Subversion service!</big>[/en] | |
− | [/nl] | + | ---- |
− | [en] | ||
− | |||
− | [/en] | ||
− | |||
− | + | == Migrating from Subversion to Gitlab == | |
− | + | We have automated the migration from [https://en.wikipedia.org/wiki/Apache_Subversion Subversion] to GitLab. Contact postmaster@science.ru.nl if you wish to have clone access to your migrated repository. | |
− | |||
− | |||
− | [ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == 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: | |
− | |||
− | |||
− | [ | ||
− | |||
− | |||
− | |||
− | + | <syntaxhighlight lang="bash"> | |
− | + | cd /tmp/ | |
− | + | git svn clone --no-metadata -A users.txt https://svn.science.ru.nl/repos/myproject | |
+ | cd myproject | ||
+ | git remote add gitlab git@gitlab.science.ru.nl:yourscienceloginname/myproject.git | ||
+ | git push --set-upstream gitlab master | ||
+ | </syntaxhighlight> | ||
− | + | Git URLs (https and ssh) are shown on the top of the project page in gitlab. | |
− | + | The generic repository URL for the [[Subversion|science SVN server]] is: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <code>https://svn.science.ru.nl/repos/{repository}</code> | |
− | + | And for CS: | |
− | |||
− | |||
− | |||
− | |||
− | + | <code>https://svn.cs.ru.nl/repos/{repository}</code> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | You can also see this for public svn repositories on https://svn.science.ru.nl (viewing private repositories requires authentication). | |
− | + | == Migrating to a private SVN repository == | |
− | + | It is possible to continue to use subversion for your personal repository. In that case, you C&CZ can help you move your repository off the svn server to your home directory. From that point, you can access the repository via one of the [[Hardware_servers#Linux_.5Bloginservers.5D.5Blogin_servers.5D|login servers]]. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | === | + | == Old Subversion wiki page == |
− | + | [nl]De oude subversion wiki pagina is [[OldSubversionPage|hier]] gearchiveerd.[/nl] | |
− | [nl] | + | [en]The old subversion wiki page is archived [[OldSubversionPage|here]][/en] |
− | [ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [/nl] | ||
− | [en] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [/en] |
Latest revision as of 09:34, 1 June 2016
svn.science.ru.nl has been turned off! 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 wish 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).
Migrating to a private SVN repository
It is possible to continue to use subversion for your personal repository. In that case, you C&CZ can help you move your repository off the svn server to your home directory. From that point, you can access the repository via one of the login servers.
Old Subversion wiki page
The old subversion wiki page is archived here