istlab / Alitheia-Core

A platform for software engineering research
http://www.sqo-oss.org
23 stars 46 forks source link

Import Projects from GitHub #8

Open mkechagia opened 10 years ago

mkechagia commented 10 years ago

Until now we can import projects from SVN repos. We have to be able import projects from GithHub. For this we have to make conversions in the database and in some metrics.

eligu commented 10 years ago

As far as I know there are plenty of tutorials out there that will explain how to convert a Git repo to SVN, however there is a difficulty on that (not everything works great). So a workaround would be to clone a repo from GitHub and convert it to SVN. On the other hand, the conversion SVN -> Git is far more convenient and seamless, it can be done from JGit (java git implementation) so we don't have to manually make conversions. In my opinion it would be very handful if the Git is supported in the first place, because using JGit we can clone a remote SVN repository to a Git like repo, that means, the alitheia core can support only git (local processing) but can handle remote svn repos too.

mkechagia commented 10 years ago

Thanks @eligu for your comment about JGit. Yes, we will manage to get projects from Git---and maybe from SVN.