Michael Friendly
2013-Feb-10 18:02 UTC
[R] Migrating R packages from svn/R-Forge to git/Github
[I'm not sure if this post should go to R-devel, but thought I'd start here for wider readership.] I have a collection of R packages that I maintain using the eclipse/StatET IDE (mainly on Windows) with SVN on the R-Forge system, https://r-forge.r-project.org/users/friendly/ I'd like to consider moving these to git projects on GitHub, but I'm not sure how best to get started. I'm not sure if can can clone/copy a project from the R-Forge svn directly to github, or if I have to first create a local git repo from the R-Forge svn and then push to github from there. However, there are linux tools for this (git-svn and svn2git), but I haven't found equivalents for Windows. I suppose I could do this initial part on my linux server where I now use git and github for other projects. I'm also contemplating moving from eclipse/StatET to RStudio for development, but that would be down the road a bit. Has anyone made this transition or have suggestions for how to ease it? What are the gotchas to watch out for? -Michael -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. & Chair, Quantitative Methods York University Voice: 416 736-2100 x66249 Web: http://www.datavis.ca
In the past Github allows one to import from an existing SVN repository automatically via its web interface, but I just checked it and it seems to have gone. What is left is: https://help.github.com/articles/importing-from-subversion Perhaps it is best for you to do the conversion under Linux and then work under Windows. Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Sun, Feb 10, 2013 at 12:02 PM, Michael Friendly <friendly at yorku.ca> wrote:> [I'm not sure if this post should go to R-devel, but thought I'd start here > for wider readership.] > > I have a collection of R packages that I maintain using the eclipse/StatET > IDE > (mainly on Windows) with SVN on the R-Forge system, > https://r-forge.r-project.org/users/friendly/ > > I'd like to consider moving these to git projects on GitHub, but I'm not > sure how best to get started. I'm not sure if can can clone/copy > a project from the R-Forge svn directly to github, or if I have to first > create a local git repo from the R-Forge svn and then push to github > from there. > > However, there are linux tools for this (git-svn and svn2git), but I haven't > found equivalents > for Windows. I suppose I could do this initial part on my linux server > where I now use git and > github for other projects. > > I'm also contemplating moving from eclipse/StatET to RStudio for > development, but that would be > down the road a bit. > > Has anyone made this transition or have suggestions for how to ease it? > What are the > gotchas to watch out for? > > -Michael > > > > -- Michael Friendly > Email: friendly AT yorku DOT ca > Professor, Psychology Dept. & Chair, Quantitative Methods York University > Voice: 416 736-2100 x66249 > Web: http://www.datavis.ca > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.