From: Adam Gołębiowski Date: Thu, 11 Dec 2008 08:18:08 +0000 (+0000) Subject: - cgit configuration X-Git-Tag: auto/th/cgit-0_8_1-1~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcgit.git;a=commitdiff_plain;h=3a0187767efb27a7d795e927de89933792d1ee12 - cgit configuration Changed files: cgit-repo.conf -> 1.1 cgit.conf -> 1.1 --- diff --git a/cgit-repo.conf b/cgit-repo.conf new file mode 100644 index 0000000..d385e65 --- /dev/null +++ b/cgit-repo.conf @@ -0,0 +1,10 @@ +# +# sample repo config +# + +#repo.url=foo +#repo.path=/pub/git/foo.git +#repo.desc=the master foo repository +#repo.owner=fooman@foobar.com +#repo.readme=info/web/about.html + diff --git a/cgit.conf b/cgit.conf new file mode 100644 index 0000000..de68a74 --- /dev/null +++ b/cgit.conf @@ -0,0 +1,51 @@ +# SAMPLE CGITRC FILE +# ------------------- + +# Enable caching of up to 1000 output entriess +cache-size=1000 + + +# Specify some default clone prefixes +#clone-prefix=git://foobar.com ssh://foobar.com/pub/git http://foobar.com/git + +# Specify the css url +css=/cgit/cgit.css + + +# Show extra links for each repository on the index page +enable-index-links=1 + + +# Show number of affected files per commit on the log pages +enable-log-filecount=1 + + +# Show number of added/removed lines per commit on the log pages +enable-log-linecount=1 + + +# Add a cgit favicon +# favicon=/favicon.ico + + +# Use a custom logo +logo=/cgit/cgit.png + + +# Set the title and heading of the repository index page +root-title=foobar.com git repositories + + +# Set a subheading for the repository index page +root-desc=tracking the foobar development + + +# Include some more info about foobar.com on the index page +root-readme=/var/www/htdocs/about.html + + +# Allow download of tar.gz, tar.bz and zip-files +snapshots=tar.gz tar.bz zip + +# include repos config +include=/etc/webapps/cgit/cgit-repo.conf