...
The projects in the incubator directory will be kept as-is.
Migration Steps
The following steps were followed for the dry run migration of the fcrepo repository. Similar steps will be followed for the final migration of each repository.
1. Initial Conversion to Git
Because git stores a name and email address per commit, the conversion needs to know this information for each subversion userid.
First, we need the list of all subversion userids:
Code Block |
---|
svnadmin dump /path/to/svnrepo | grep -a -A 2 svn:author | grep -v svn:author | grep -v ^V | grep -v ^- | sort -u > authors.txt |
Next, this file will need to be modified so that each line looks like:
Code Block |
---|
userid = Full Name <email-address@example.org> |
Now the initial converstion can be run with git-svn. It takes a very long time to run (about half a day), so should be run with screen or nohup:
Code Block |
---|
nohup git svn clone file:///path/to/svnrepo --prefix=svn/ --authors-file=authors.txt --trunk=fedora/trunk --tags=fedora/tags --branches=fedora/branches 1.initial-conversion& |