Darcs plugin for Trac
Trac is a minimalistic approach to web-based management of software projects. Its goal is to simplify effective tracking and handling of software issues, enhancements and overall progress.
This plugins implements the required logic to use a darcs repository instead of the standard Subversion one.
Current version
Current version is 0.9 with full support for the 0.12 release of Trac, but should work ok either with the 0.11.x series too.
0.9 highlights
0.8.2 highlights
- Fix wiki link formatter ([195])
- Bad char substitution only in case of XML errors ([196])
- Grouping of related repositories, Present in and Missing in properties on changesets ([197] and [199])
0.8.1 highlights
- Support for the multirepository functionality of latest Trac
A single Trac instance is able to "trac" multiple repositories, even of different kinds.
- Out of the box support for the explicit sync
By virtue of a darcs apply post-hook, the instance can be immediately notified of new changesets, so it can sync its cache, instead of doing that at each request.
- Annotations cache ([170])
As a workaround to darcs annotate still being an heavy operation, the backend caches the needed information, per file per revision, so to execute that just once, instead of recomputing it from scratch each time.
- Eager cache ([185])
With an option, trac+darcs will precompute and cache both the content and the annotations for any changed file at sync time. This allows a much faster navigation in the whole history, at the expence of database size of course.
- Optimized queries ([178])
Most critical SQL queries were rewritten and are now much faster: sync time has decreased a lot, and directories browsing as well. In debug mode the backend emits statistics that helped to spot the bottlenecks.
- Optional constraint on the number of concurrent darcs processes ([173])
To avoid server burn under some search engine crawler, it's now possible to limit the number of concurrent spawned darcses.
Installation
See the DarcsPlugin page. Other information on the Darcs wiki. As always, the README is a good start.
Darcs repository
The source of the plugin is obviously kept under darcs. You can get it with
darcs get http://darcs.arstecnica.it/trac-darcs
About this instance of trac
This instance is powered by mod_python, and I recommend it as it runs trac much faster than using the CGI method.
Thanks to stup^B^H^H^Eammers you need to login to contribute tickets and wiki pages.