git/cgit/cgitrc
Georg 6f7f3b6652
Gitea, cgit configurations and README
Signed-off-by: Georg <georg@lysergic.dev>
2021-07-25 02:11:46 +02:00

64 lines
1.6 KiB
Plaintext

# Enable caching of up to 1000 output entriess
cache-size=1000
# Specify some default clone prefixes
clone-prefix=ssh://git.com.de:28/LibertaCasa
# Specify the css url
css=/cgit/cgit.css
# Specify the logo url
logo=/cgit/cgit.png
# 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
# Set the title and heading of the repository index page
root-title=The LibertaCasa Project
# Allow download of tar.gz, tar.bz2 and zip-files
snapshots=tar.gz tar.bz2 zip
##
## List of common mimetypes
##
mimetype.git=image/git
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
#custom
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
virtual-root=/
scan-path=/var/lib/git/gitea-repositories/libertacasa/
##
## 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
##
#repo.url=libertacasa-irc
#repo.path=/var/lib/git/gitea-repositories/libertacasa/irc.git
#repo.desc=LibertaCasa-IRC
#repo.owner=hello@liberta.casa
#
#repo.url=libertacasa-gemini
#repo.path=/var/lib/git/gitea-repositories/libertacasa/gemini.git
#repo.desc=LibertaCasa-Gemini
#repo.owner=hello@liberta.casa