X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README;h=9ba448a711ecbf75fbb87b39082f2de435000a63;hb=31d3c3687105047265bd28672c6c76e3114c1466;hp=33e62bde3dc975ddb65e845b248a1ef28f185298;hpb=67f7ad5d34618932e26d189a6edd90edf8aa2fbb;p=catagits%2FGitalist.git diff --git a/README b/README index 33e62bd..9ba448a 100644 --- a/README +++ b/README @@ -147,9 +147,11 @@ CONFIGURATION The Gitalist config is loaded with Catalyst::Plugin::ConfigLoader and the available config options are: - Model::CollectionOfRepos - git Path to the "git" binary. + no_gravatars + If true don't display gravatars. May be desirable if you are worried + about leaking repo names via the browser referer headers. + Model::CollectionOfRepos repo_dir A directory containing the directories to show. @@ -173,6 +175,16 @@ CONFIGURATION If provided every must contain a file of the same name to be visible. This is similar to "gitweb"'s functionality. + class + If you want a different way of surfacing repositories you can use + your own model (i.e something that composes + Gitalist::Git::CollectionOfRepositories) and specify the class name + with this config option. + + args + Any additional arguments to be passed into the Model constructor, + only of use when used in conjunction with "class" (see above). + paging log The number of commits to show in the summary, shortlog and longlog views. @@ -220,9 +232,15 @@ CONFIGURATION "GITALIST_DEBUG=1" to the top of your gitalist.fcgi file (just below the shebang line). - Also, note that Apache will refuse %2F in Gitalist URLs unless - configured otherwise. Make sure "AllowEncodedSlashes On" is in your - httpd.conf file in order for this to run smoothly. + Apache config + Apache will refuse %2F in Gitalist URLs unless configured otherwise. + Make sure "AllowEncodedSlashes On" is in your httpd.conf file in order + for this to run smoothly. + + To have the static content served statically by Apache, instead of + Gitalist, then add something like following line to your httpd.conf: + + Alias /static /usr/local/share/perl/5.10.1/Gitalist/root/static CONTRIBUTING Patches are welcome, please feel free to fork on github and send pull