Translates sourceforge usernames into full name and emails for use in git svn clone
Java Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
data
src/main
.classpath
.gitignore
.project
README
pom.xml

README

README:

A set of programs to extract the list of svn users from a svn project hosted at sourceforge.net.  Then a Java program to scrape the full names of those users from the sourceforge web pages.  

This program was created for the conversion to github of the wicketstuff.org project but could work for others.

This repository does not contain the usersnames or the full names but the tools to extract them.

Steps:
1. run the ./data/wicketstuff/extract-wicketstuff-svn-users.sh to poll svn and write the distinct users into a file called wicketstuff-svn-users.txt
2. mvn clean package to build the shaded jar.
3. java -jar target/sf-svn-to-git-authors.jar ./data/wicketstuff/wicketstuff-svn-users.txt git-authors.txt wicketstuff.org

This will create a file called git-authors.txt in the current directory with the format of:
svn-username = Firstname Lastname <svn-username@wicketstuff.org>

4. the git-authors.txt can be used during the clone like this: git svn clone -A git-authors.txt <svn url> <project name>

Note: You should probably check the git-authors.txt file before doing the clone because not all names can be resolved.

LICENSE:

Copyright 2010 Michael O'Cleirigh

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.