SubGit 2.0 EAP is Open!
Need to build a writable Git mirror of a remote Subversion repository?
Create a writable Git mirror of a remote Subversion repository
SubGit 2.0 major new feature is an ability to create a writable Git mirror of a remote Subversion repository. To build such a mirror, do the following:
- Download SubGit 2.0 EAP build and install or unpack it
Configure Git mirror by running:
$ subgit configure --svn-url SVN_URL GIT_MIRROR_PATH
SVN_URL - URL of a remote Subversion repository; GIT_MIRROR_PATH - path where you'd like Git mirror to be created.
Adjust Subversion to Git branches mapping accordingly to your project layout by editing configuration file at
Required: add at least one Subversion user account credentials to
GIT_MIRROR_PATH/subgit/passwdfile. This account must have full read and write access to the Subversion repository.
Enable pre-revprop-change hook in Subversion repository, if possible. This hook have to be enable to let SubGit set proper author names for Subversion revision.
Finish installation by running:
$ subgit install GIT_MIRROR_PATH
Now Git repository at GIT_MIRROR_PATH is a writable mirror of Subversion repository at SVN_URL. Commits to Subversion repository will appear in the Git repository and pushes to Git repository will be translated to Subversion repository revisions.
Early Access Program (EAP) builds are those we consider stable and use for self-hosting. However, these builds are not of release quality and may not be suited for use in your production environment.
Purpose of the Early Access Program (EAP) is to give you a build to play with and let our priorities be formed by your feedback.
SubGit is a closed source software. You may use this version of it for free.
- Java 1.5 or newer version.
- We test SubGit on Linux, Windows and OS X systems.
In this EAP build:
New Features: * SGT-81 : core.defaultDomain option to specify domain name to use for email composition in absence of explicit authors mapping. * SGT-586: Options added to specify default Subversion configuration directory to look for credentials. * SGT-588: Improved console feedback on Git push. Fixed Bugs: * SGT-648: Improved background process detection algorithm to avoid multiple background processes launch. * SGT-659: Same translation shared by multiple Git repositories were not supported. * SGT-630: minimalRevision option support was broken in remote repository mirror mode. * SGT-640: Exception on attempt to push to unmapped Git branch. * SGT-639: Configure command failed with JRockit JVM.
SubGit 2.0. Roadmap
We're trying to stay on the following schedule:
- November 2012: first EAP build.
- November 2012 - January 2013: EAP builds.
- End of May 2013: Release of SubGit 2.0.0
Feel free to browse our issues tracker to see features and bugfixes planned for the next EAP or next release, and of course you're welcome to submit your own issues.