X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FGitalist.pm;h=b4068264c4618e39c4f5cba3c7d7dd0f53310052;hb=9b762ea6c774fc3c50066bda70d2ed298bc635ad;hp=6c1a581df7d170de44b0c2a07ea867c769234838;hpb=3a7cd273ccfed9de7a069c3d26fbc0f684594257;p=catagits%2FGitalist.git diff --git a/lib/Gitalist.pm b/lib/Gitalist.pm index 6c1a581..b406826 100644 --- a/lib/Gitalist.pm +++ b/lib/Gitalist.pm @@ -14,7 +14,7 @@ use Catalyst qw/ SubRequest /; -our $VERSION = '0.002007'; +our $VERSION = '0.002009'; $VERSION = eval $VERSION; __PACKAGE__->config( @@ -206,6 +206,58 @@ This example can be seen live here: http://example.gitalist.com +=head1 CONFIGURATION + +The Gitalist config is loaded with L +and the available config options are: + +=head2 Model::CollectionOfRepos + +=over + +=item git + +Path to the C binary. + +=item repo_dir + +A directory containing the directories to show. + +If no repositories are found in this directory then Gitalist will +search recursively in that directory for repositories. + +=item search_recursively + +A boolean indicating whether to always search recursively for +repositories within C. + +=item whitelist + +Path a file containing a list of repositories that can be shown. Each +line in the file will represent the name of a repo to show e.g + + Gitalist + some-bare-repo.git + +This is compatible with C's C. + +=item export_ok + +If provided every must contain a file of the same name to be +visible. This is similar to C's functionality. + +=back + +=head2 paging + +=over + +=item log + +The number of commits to show in the + +=back + =head2 FASTCGI Running Gitalist in FastCGI mode requires a webserver with FastCGI @@ -250,7 +302,6 @@ Also, note that Apache will refuse C<%2F> in Gitalist URLs unless configured otherwise. Make sure C is in your F file in order for this to run smoothly. - =head1 CONTRIBUTING Patches are welcome, please feel free to fork on github and send pull requests, send patches