This reminiscing now has me moving Redfoot and PyTREX over to github :-) ---- You can get the raw CVS repo with rsync -av rsync://{project}.cvs.sourceforge.net/cvsroot/{project}/ {directory-to-put-cvs} ---- ## Attempt 1 In another directory, I tried (based on [this](http://ghantoos.org/2010/11/11/migrating-sourceforge-cvs-source-repository-to-github/)): git cvsimport -p x -v -d {directory-you-put-cvs} {directory-to-put-git} but first I have to brew install cvs :-) ---- Even that doesn't work, though, as now I get: ``` $ git cvsimport -p x -v -d /Users/jtauber/Development/OpenSource/redfoot redfoot Initialized empty Git repository in /Users/jtauber/Development/OpenSource/redfoot.git/.git/ Running cvsps... Can't exec "cvsps": No such file or directory at /usr/local/Cellar/git/1.9.3/libexec/git-core/git-cvsimport line 756, line 2. Could not start cvsps: No such file or directory git cvsimport: fatal: cvsps reported error ``` ---- Looks like brew install cvsps worked :-) ---- But now I get: ``` $ git cvsimport -p x -v -d /Users/jtauber/Development/OpenSource/redfoot redfoot fatal: Needed a single revision Branch 'origin' does not exist. Either use the correct '-o branch' option, or import to a new repository. ``` ---- Reading the `cvsimport` man page makes me think I should try [cvs2git](http://cvs2svn.tigris.org/cvs2git.html) instead. ---- ## Attempt 2 Downloaded csv2git (tarball from tigris linked above, no brew installing here). Then ran cvs2svn-2.4.0/cvs2git --blobfile=git-blob.dat --dumpfile=git-dump.dat --username={my-username} {directory-i-put-cvs} ---- Then I did a mkdir {gitdir} git init {gitdir} cd {gitdir} Then cat ../git-blob.dat ../git-dump.dat | git fast-import git checkout master ---- While that seems to contain all the commits, we don't have the author email addresses so pushing to GitHub doesn't make a link with the right user accounts. ---- Seems the key is customizing the cvs2git options file. ---- ## Attempt 3 Copied the example options file into my own `cvs2git.options` file and edited the `author_transforms` dictionary and the hardcoded `test-data/main-cvsrepos`. ---- Did mkdir {gitdir} git init {gitdir} cd {gitdir} again. ---- And finally: cat ../cvs2svn-tmp/git-blob.dat ../cvs2svn-tmp/git-dump.dat | git fast-import git checkout master ---- And here is [Redfoot](https://github.com/jtauber/redfoot-orig)