Migrating R packages from svn/R-Forge to git/Github
Hi Michael, Just to add to what Yihui suggested, I have used Cygwin on all my Windows machines to create a Linux environment for years. It is stable and allows for many features. You can easily get git, svn, and ruby --- I'm not sure about rubygems. Anyway, with a bit of work, I suspect you could use Cygwin to get an environment on Windows that would allow you to run svn2git to handle the conversions. If you're willing to have a bit of a mess or drop some history, git svn will work nicely too. http://www.cygwin.com/ Cheers, Josh
On Sun, Feb 10, 2013 at 10:22 AM, Yihui Xie <xie at yihui.name> wrote:
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.
______________________________________________ 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.
-- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/