X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FGitalist.pm;fp=lib%2FGitalist.pm;h=b149782906588e905cc781b44577e9835b68b6e1;hb=5111a8abac4a2ebace393327e51599f4fbd213ff;hp=43924c74ce52dd4c8cded20f56cb30f00d696644;hpb=1891c7741653bd5c20f52aa7176157afeb2e0121;p=catagits%2FGitalist.git diff --git a/lib/Gitalist.pm b/lib/Gitalist.pm index 43924c7..b149782 100644 --- a/lib/Gitalist.pm +++ b/lib/Gitalist.pm @@ -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