Checking in changes prior to tagging of version 0.000000_02. Changelog diff is:
[catagits/Gitalist.git] / lib / Gitalist.pm
index 9ca78a7..9cf637d 100644 (file)
@@ -1,30 +1,27 @@
 package Gitalist;
 use Moose;
-use namespace::autoclean;
-
+BEGIN { require 5.008006; }
 use Catalyst::Runtime 5.80;
+use namespace::autoclean;
 
 extends 'Catalyst';
 
 use Catalyst qw/
                 ConfigLoader
+                Unicode::Encoding
                 Static::Simple
-                StackTrace/;
+                StackTrace
+/;
 
-our $VERSION = '0.01';
-
-# Bring in the libified gitweb.cgi.
-use gitweb;
+our $VERSION = '0.000000_02';
+$VERSION = eval $VERSION;
 
 __PACKAGE__->config(
     name => 'Gitalist',
     default_view => 'Default',
     default_model => 'GitRepos',
-    # Set to 1 to make your fcgi die the request after you push :)
-    exit_at_end_of_request_if_updated => 0,
 );
 
-# Start the application
 __PACKAGE__->setup();
 
 around uri_for => sub {
@@ -41,15 +38,18 @@ around uri_for => sub {
   return $uri;
 };
 
+1;
+
+__END__
+
 =head1 NAME
 
-Gitalist - Transitional project to convert gitweb.cgi to a Catalyst app
+Gitalist - A modern git web viewer
 
 =head1 SYNOPSIS
 
     script/gitalist_server.pl
 
-
 =head1 INSTALL
 
 As Gitalist follows the usual Perl module format the usual approach
@@ -61,14 +61,12 @@ for installation should work e.g
   make install
 
 If you're running a git checkout of Gitalist then you'll additionally
-need the author modules. I<NB: As no distribution exists one will
-presently need the author modules>.
+need the author modules.
 
 =head1 DESCRIPTION
 
 Gitalist is a web frontend for git repositories based on gitweb.cgi
-and backed by Catalyst. It doesn't yet have the full functionality of
-gitweb.cgi but it does have a few small additions at this stage.
+and backed by Catalyst.
 
 =head2 History
 
@@ -104,5 +102,3 @@ L<Catalyst>
 Licensed under GNU GPL v2
 
 =cut
-
-1;