Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrate from Sourceforge to Github

I'm thinking about migrating a project from Sourceforge to Github. Besides the svn to git, what about migrating things like the issue tracker? Is there an easy way to do that?

like image 925
Matthew Talbert Avatar asked Jun 01 '10 23:06

Matthew Talbert


People also ask

Is SourceForge like GitHub?

SourceForge takes a centralized approach to provide developers more control over the software. GitHub is built on Git, which is a distributed version control system wherein the complete codebase is mirrored onto every contributor's local machine.

Does SourceForge use Git?

SourceForge.net provides the following features in its Git offering: All 1.6. x features of git are supported.


3 Answers

For SVN to GitHub part, this is now the easiest way: https://help.github.com/en/github/importing-your-projects-to-github/importing-a-repository-with-github-importer

But it doesn't import issues.

like image 167
Masood Khaari Avatar answered Oct 12 '22 13:10

Masood Khaari


I've written a Python script to migrate issues. It's at https://github.com/ttencate/sf2github.

Beware: Sunday afternoon software. Use at your own risk, etc. etc. Pull requests welcome!

like image 33
Thomas Avatar answered Oct 12 '22 15:10

Thomas


since I just have done this here is my approach

create a local git repository from the remote svn repository

git svn clone http://svn/repo/here/trunk

now push the repository to github

git remote rename origin upstream
git remote add origin [email protected]:myname/myproject.git
git push origin master
like image 14
select Avatar answered Oct 12 '22 13:10

select