[Feature] Migration/mirror from subversion (svn) #4769

Closed
opened 2025-11-02 06:02:20 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @askovpen on GitHub (Feb 1, 2020).

feature request: add migration/mirror from subversion - like 'git svn' command.

Originally created by @askovpen on GitHub (Feb 1, 2020). feature request: add migration/mirror from subversion - like 'git svn' command.
GiteaMirror added the issue/duplicate label 2025-11-02 06:02:20 -06:00
Author
Owner

@lunny commented on GitHub (Feb 1, 2020):

I think this is a duplicated issue.

@lunny commented on GitHub (Feb 1, 2020): I think this is a duplicated issue.
Author
Owner

@askovpen commented on GitHub (Feb 1, 2020):

@lunny I tried to find before create new issue. it is first.

@askovpen commented on GitHub (Feb 1, 2020): @lunny I tried to find before create new issue. it is first.
Author
Owner

@lunny commented on GitHub (Feb 1, 2020):

#4158

@lunny commented on GitHub (Feb 1, 2020): #4158
Author
Owner

@askovpen commented on GitHub (Feb 1, 2020):

yes. closed :-(

@askovpen commented on GitHub (Feb 1, 2020): yes. closed :-(
Author
Owner

@lafriks commented on GitHub (Feb 2, 2020):

Until there is good svn to git migration library available written in golang I don't see how this could possibly be added to Gitea so I propose to closing it as I don't see that happening anytime soon if ever

@lafriks commented on GitHub (Feb 2, 2020): Until there is good svn to git migration library available written in golang I don't see how this could possibly be added to Gitea so I propose to closing it as I don't see that happening anytime soon if ever
Author
Owner

@davidsvantesson commented on GitHub (Feb 2, 2020):

I work for a organization that migrated from svn to git. Svn is quite different structure from Git and there are no straigtforward way to migrate. First it should be noted that only the repo itself can be migrated; no issues, pull requests or releases, as that is completly organizaiton dependent and dependent on other tools. Then the repo migration will depend completely on the organizaiton svn setup as well, like branch and tag setup. There are some helper tools available to do migrations (e.g. git svn) but you need to write a script for your setup. Once that is done it is quite simple to use gitea's API to get the migration in the way you want. That assumes you have a lot of svn repositories, otherwise it is just easier to do the migration "by hand".
So I agree there should not be a Gitea issue for this.

@davidsvantesson commented on GitHub (Feb 2, 2020): I work for a organization that migrated from svn to git. Svn is quite different structure from Git and there are no straigtforward way to migrate. First it should be noted that only the repo itself can be migrated; no issues, pull requests or releases, as that is completly organizaiton dependent and dependent on other tools. Then the repo migration will depend completely on the organizaiton svn setup as well, like branch and tag setup. There are some helper tools available to do migrations (e.g. git svn) but you need to write a script for your setup. Once that is done it is quite simple to use gitea's API to get the migration in the way you want. That assumes you have a lot of svn repositories, otherwise it is just easier to do the migration "by hand". So I agree there should not be a Gitea issue for this.
Author
Owner

@zeripath commented on GitHub (Feb 2, 2020):

You can run git-as-svn around Gitea too.

@zeripath commented on GitHub (Feb 2, 2020): You can run git-as-svn around Gitea too.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4769