[Catalyst] [ANNOUNCE] Gitalist - bringing Catalyst to gitweb
broq at cpan.org
Tue Aug 25 16:39:28 GMT 2009
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 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 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:
And here (thanks to t0m for sorting this out!):
ro git://git.shadowcat.co.uk/catagits/Gitalist.git rw
catagits at 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.
More information about the Catalyst