For those of you who've had the pleasure of working with git you may have come across gitweb, the web front end to a given set of git repositories. It is bundled with the git source[1] as gitweb.perl and gets munged into gitweb.cgi after make runs through it. With gitweb.cgi you have one monolithic CGI program that provides the whole gamut of its web app functionality from grovelling in git repos to providing feeds for commits. This being a Catalyst list you can probably see where I'm going with this ...
Having decided at work[2] that we needed to extend gitweb to support stuff useful to us I thought it would be easier to move gitweb into a Catalyst app than build on the existing script. After a week or two of idle hacking I've got it to the point where it's wrapped in Catalyst and has a basic layout template and a single controller. The work for this can be found here: http://github.com/broquaint/Gitalist/tree/master And here (thanks to t0m for sorting this out!): ro git://git.shadowcat.co.uk/catagits/Gitalist.git rw catag...@git.shadowcat.co.uk:Gitalist.git It should noted at this point that the name "Gitalist" is intentionally quite bad in the hope that once the foundation work of moving in gitweb into a Catalyst structure is done it can move on from being "gitweb in Catalyst" and on to something bigger and better. Being a total Catalyst novice there's bound to be all sorts of mistakes and assumptions that could be straightened out so please feel free to fork'n'fix. If you have any queries, questions or quips drop me a line, I go by the handle broquaint on IRC and the web at large. Thanks to Venda for the time to do the dev and letting the code be open sourced. Also thanks to t0m and chrisa for the encouragement to do the work and push it out to the community. Cheers, Dan Brook [1] http://xrl.us/gitwebperl [2] Venda _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/