Open-sourcing the Code Comments Trac plugin by Nikolay Bachiyski, from the WordPress.com VIP team. I haven’t had a chance to use the plugin myself, but I really love Trac (I don’t have much choice now either) and I really love code commenting on Github. This little plugin brings one to the other. Awesome, and well done!
For those of you who are not familiar with the project management software called The Trac Project please proceed to the Trac Guide. I’ve been working with this project management tool for quite some time now and the latest upgrades are just awesome. I believe the solution for private projects’ RSS feeds has been found a few months ago somewhere here. The iCalendar issue remains, but it’s probably solved the exact same way – http authentication, although not all iCalendar clients and RSS aggregators support that yet. My favourite Feedly doesn’t.
Before showing off the snipets that I wrote for Trac Reports I’d like to give you one little hint if you’re running Trac on an old (but stable) OS version, such as Fedora Core 8. Amazon EC2 still ships the Fedora 8 operating system as default for Linux-based EC2 instances, and a simple yum install trac will get you version 0.10.x, which is outdated. The trick here is to install:
yum install python-setuptools yum install python-setuptools-devel
Which include a package called easy_install. Since you’ve got an old version of Trac installed, use easy_install to update it, like this:
easy_install -U trac
Bam! Wasn’t that easy? One more situation where you can use easy_install is to install Trac plugins directly from their repositories (instead of the old way by uploading source files).
Okay, now back to the reports. I made these with a little experimenting with the Trac database. It’s structure is pretty much transparent and obvious, so if you’re an SQL genius then go ahead and write your own. Here’s my most useful list …