After several weeks of testing, HTML Purifier is proud to announce that it will be switching to Git as its source control management system. Git offers a number of advantages over Subversion:
- Superior support for branchy development. Subversion 1.5 introduces merge-tracking which somewhat diminishes this benefit, but implementing that is entirely at the whimsy of Dreamhost, which I am not going to bother with.
- Increased possibility for user participation. Git makes it extremely easy to do local development and submit patches.
- Data redundancy. Every user has a complete copy of HTML Purifier's history, making it extremely difficult to lose data. This is opposed to our current setup, where htmlpurifier.org is a central point of failure, and backups are sent to only one other machine.
- Performance. Git is fast, both in terms of disk operations and network operations. Gone are the days of waiting several minutes for Subversion to finish committing.
Currently, only htmlpurifier has been migrated to Git;
htmlpurifier-web will be migrated after any kinks are
worked out. There are number of features such as nightly snapshot
generation and contributor documentation that needs to be written.
We will be using repo.or.cz as our primary remote repository; push access will be administered there, and changes will be mirrored (courtesy of a script by aeruder at #git) to a repository hosted at git.htmlpurifier.org as well as GitHub. If you want to grab a development copy, use this command:
git clone git://repo.or.cz/htmlpurifier.git
Feel free to play around, and register comments and complaints at the forum.