2013-07-11 11:21:02 -07:00
|
|
|
#
|
|
|
|
# See cgitrc(5) or /usr/share/doc/cgit-*/cgitrc.5.html for details
|
|
|
|
#
|
|
|
|
|
|
|
|
# Enable caching of up to 1000 output entries
|
2013-08-19 12:52:57 -07:00
|
|
|
cache-size=1000
|
|
|
|
|
|
|
|
# Cache repository pages without a fixed SHA for one minute.
|
|
|
|
cache-dynamic-ttl=1
|
|
|
|
|
|
|
|
# Cache repo summary page for one minute.
|
|
|
|
cache-repo-ttl=1
|
|
|
|
|
|
|
|
# Cache cgit front page for one minute.
|
|
|
|
cache-root-ttl=1
|
2013-07-11 11:21:02 -07:00
|
|
|
|
|
|
|
# Specify some default clone prefixes
|
2013-08-15 01:29:03 +00:00
|
|
|
clone-prefix=git://git.openstack.org https://git.openstack.org
|
2013-07-11 11:21:02 -07:00
|
|
|
|
2013-08-21 21:30:54 -04:00
|
|
|
# Specify a command which will be invoked to format commit messages
|
|
|
|
commit-filter=/usr/local/bin/commit-filter.sh
|
|
|
|
|
2013-07-11 11:21:02 -07:00
|
|
|
# Specify the css url
|
2013-08-14 17:33:00 -07:00
|
|
|
css=/static/openstack.css
|
2013-07-11 11:21:02 -07:00
|
|
|
|
2013-08-14 17:32:19 -04:00
|
|
|
# Hide owner for each repository on the index page
|
|
|
|
enable-index-owner=0
|
|
|
|
|
2013-07-11 11:21:02 -07:00
|
|
|
# Show extra links for each repository on the index page
|
|
|
|
enable-index-links=1
|
|
|
|
|
2014-12-10 18:45:27 +00:00
|
|
|
# Disable dumb HTTP git protocol endoint
|
|
|
|
enable-http-clone=0
|
|
|
|
|
2013-07-11 11:21:02 -07:00
|
|
|
# Add a cgit favicon
|
2013-08-14 17:33:00 -07:00
|
|
|
favicon=/static/favicon.ico
|
2013-07-11 11:21:02 -07:00
|
|
|
|
|
|
|
# Use a custom logo
|
2013-08-14 17:33:00 -07:00
|
|
|
logo=/static/openstack.png
|
2013-07-11 11:21:02 -07:00
|
|
|
|
|
|
|
# Enable statistics per week, month and quarter
|
|
|
|
max-stats=quarter
|
|
|
|
|
|
|
|
# Set the title and heading of the repository index page
|
|
|
|
root-title=OpenStack git repository browser
|
|
|
|
|
2013-08-28 15:58:05 -07:00
|
|
|
# Make side-by-side diffs the default
|
|
|
|
side-by-side-diffs=1
|
|
|
|
|
2013-07-11 11:21:02 -07:00
|
|
|
# Set a subheading for the repository index page
|
2013-08-14 17:32:19 -04:00
|
|
|
root-desc=
|
2013-07-11 11:21:02 -07:00
|
|
|
|
|
|
|
# Include some more info about this site on the index page
|
|
|
|
#root-readme=/var/www/html/about.html
|
|
|
|
|
|
|
|
# Allow download of tar.gz, tar.bz2 and zip-files
|
|
|
|
#snapshots=tar.gz tar.bz2 zip
|
|
|
|
|
|
|
|
##
|
|
|
|
## List of common mimetypes
|
|
|
|
##
|
|
|
|
|
|
|
|
mimetype.gif=image/gif
|
|
|
|
mimetype.html=text/html
|
|
|
|
mimetype.jpg=image/jpeg
|
|
|
|
mimetype.jpeg=image/jpeg
|
|
|
|
mimetype.pdf=application/pdf
|
|
|
|
mimetype.png=image/png
|
|
|
|
mimetype.svg=image/svg+xml
|
|
|
|
|
|
|
|
# Enable syntax highlighting (requires the highlight package)
|
2013-09-30 12:33:00 -07:00
|
|
|
source-filter=/usr/libexec/cgit/filters/syntax-highlighting.sh
|
2013-07-11 11:21:02 -07:00
|
|
|
|
2013-08-13 17:30:09 -07:00
|
|
|
# Increase the number of entries to list per page on the repository
|
|
|
|
# index page (default 50)
|
2015-01-07 12:49:44 -08:00
|
|
|
max-repo-count=600
|
2013-08-13 17:30:09 -07:00
|
|
|
|
2013-07-11 11:21:02 -07:00
|
|
|
##
|
|
|
|
## List of repositories.
|
|
|
|
## PS: Any repositories listed when section is unset will not be
|
|
|
|
## displayed under a section heading
|
|
|
|
## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos')
|
|
|
|
## and included like this:
|
|
|
|
## include=/etc/cgitrepos
|
|
|
|
##
|
|
|
|
|
|
|
|
include=/etc/cgitrepos
|