From: Dan Brook Date: Mon, 23 May 2011 14:09:20 +0000 (+0200) Subject: Bump version to 0.003002, update Changes and README. X-Git-Tag: 0.003002 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FGitalist.git;a=commitdiff_plain;h=67f7ad5d34618932e26d189a6edd90edf8aa2fbb Bump version to 0.003002, update Changes and README. Looks like the latest pod2text now includes the links from the POD in the resulting text, which is nice. --- diff --git a/Changes b/Changes index 67ed1e0..0e45534 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,6 @@ This file documents the revision history for Perl extension Gitalist. +0.003002 2011-05-23 - Add JSON serialization and expose via .json (Tomas Doran). - Provide .psgi for Plack goodness (Francoise Dehinbo). diff --git a/README b/README index 939d69a..33e62bd 100644 --- a/README +++ b/README @@ -23,8 +23,8 @@ INSTALL repositories the directory above the checkout. DESCRIPTION - Gitalist is a web frontend for git repositories based on - and backed by Catalyst. + Gitalist is a web frontend for git repositories based on gitweb.cgi + and backed by Catalyst. History This project started off as an attempt to port *gitweb.cgi* to a @@ -122,8 +122,8 @@ RUNNING than using the single threaded developement server. The recommended deployment method for Gitalist is FastCGI, although - Gitalist can also be run under or as pure Perl with - Catalyst::Engine::PreFork. + Gitalist can also be run under mod_perl or as + pure Perl with Catalyst::Engine::PreFork. Assuming that you have installed Gitalist's dependencies into a local::lib, and you are running from a git checkout, adding a trivial @@ -137,6 +137,12 @@ RUNNING http://example.gitalist.com + Plack + If you would like to run Gitalist under Plack then one need only make + use of plackup and the ".psgi" found under "scripts/": + + plackup script/gitalist_app.psgi + CONFIGURATION The Gitalist config is loaded with Catalyst::Plugin::ConfigLoader and the available config options are: @@ -173,11 +179,13 @@ CONFIGURATION FASTCGI Running Gitalist in FastCGI mode requires a webserver with FastCGI - support (such as apache with or ). Below is a - sample configuration using Apache2 with mod_fcgid in a dynamic - configuration (as opposed to static or standalone mode). More - information on these modes and their configuration can be found at - "Standalone server mode" in Catalyst::Engine::FastCGI. + support (such as apache with mod_fcgi + or mod_fcgid + ). Below is a sample configuration + using Apache2 with mod_fcgid in a dynamic configuration (as opposed to + static or standalone mode). More information on these modes and their + configuration can be found at "Standalone server mode" in + Catalyst::Engine::FastCGI. In Apache's mime.conf, add "AddHandler fcgid-script .fcgi" (or "AddHandler fastcgi-script .fcgi" for mod_fcgi). @@ -204,7 +212,8 @@ CONFIGURATION Now to access your Gitalist instance, you'll go to "gitalist.yourdomain.com/gitalist.fcgi/" (do not forget that trailing "/"). If you'd like a different URL, of course, you'll likely want to - use or equivalent. + use mod_rewrite or + equivalent. If you find the need to do some troubleshooting, you can call "http://url_to_gitalist.fcgi?dump_info=1" and/or add export diff --git a/lib/Gitalist.pm b/lib/Gitalist.pm index a0aa3fd..d608ce0 100644 --- a/lib/Gitalist.pm +++ b/lib/Gitalist.pm @@ -14,7 +14,7 @@ use Catalyst qw/ SubRequest /; -our $VERSION = '0.003001'; +our $VERSION = '0.003002'; $VERSION = eval $VERSION; __PACKAGE__->config(