Remove the config mangling as it can blow up spectacularly unhelpfully. Just move...
[catagits/Gitalist.git] / lib / Gitalist.pm
1 package Gitalist;
2 use Moose;
3 use namespace::autoclean;
4
5 use Catalyst::Runtime 5.80;
6
7 extends 'Catalyst';
8
9 use Catalyst qw/-Debug
10                 ConfigLoader
11                 Static::Simple
12                                 StackTrace/;
13 our $VERSION = '0.01';
14
15 # Bring in the libified gitweb.cgi.
16 use gitweb;
17
18 __PACKAGE__->config(
19         name => 'Gitalist',
20         default_view => 'Default',
21 );
22
23 # Start the application
24 __PACKAGE__->setup();
25
26 =head1 NAME
27
28 Gitalist - Catalyst based application
29
30 =head1 SYNOPSIS
31
32     script/gitalist_server.pl
33
34 =head1 DESCRIPTION
35
36 [enter your description here]
37
38 =head1 SEE ALSO
39
40 L<Gitalist::Controller::Root>, L<Catalyst>
41
42 =head1 AUTHORS AND COPYRIGHT
43
44   Catalyst application:
45     (C) 2009 Venda Ltd and Dan Brook <dbrook@venda.com>
46
47   Original gitweb.cgi from which this was derived:
48     (C) 2005-2006, Kay Sievers <kay.sievers@vrfy.org>
49     (C) 2005, Christian Gierke
50
51 =head1 LICENSE
52
53 FIXME - Is this going to be GPLv2 as per gitweb? If so this is broken..
54
55 This library is free software. You can redistribute it and/or modify
56 it under the same terms as Perl itself.
57
58 =cut
59
60 1;