Gitea: Allow migration from Subversion

Created on 6 Jun 2018  路  5Comments  路  Source: go-gitea/gitea

It would be nice to support migrating from an SVN repository. An example repository: https://svn.osgeo.org/osgeo/foss4g/

(background: the OSGeo foundation leveraged subversion for many years, and much information is still stored there)

kinquestion stale

Most helpful comment

I suggest you follow this tutorial instead: https://www.atlassian.com/git/tutorials/migrating-overview

And then just import the resulting git repo into Gitea.

Automatically converting an SVN repository is not easily implemented, as you probably want to map SVN user names to longer Git user names and add e-mail addresses to them for example.

All 5 comments

I suggest you follow this tutorial instead: https://www.atlassian.com/git/tutorials/migrating-overview

And then just import the resulting git repo into Gitea.

Automatically converting an SVN repository is not easily implemented, as you probably want to map SVN user names to longer Git user names and add e-mail addresses to them for example.

I have ever converted all SVN repos to git repos by some scripts and then write a script via Gitea's API to import to Gitea.

@jmckenna It is better to convert SVN repositories yourself, using git-svn for example (git svn clone). If you are using standard structure, it's very easy. There are almost always some steps you should do (e.g. resolving authors). Every SVN can be used in different way, so there are more ways to convert it (some of them can takes days to do so).

IMO Gitea should focus (at least for now) on storing git repositories and improve services around them, not converting another SCM types to git. But PR's are welcomed :)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

This issue has been automatically closed because of inactivity. You can re-open it if needed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jakimfett picture jakimfett  路  3Comments

jorise7 picture jorise7  路  3Comments

lunny picture lunny  路  3Comments

tuxfanou picture tuxfanou  路  3Comments

kifirkin picture kifirkin  路  3Comments