From 6f7f3b6652fcf61722d486902e610ffbbc5443f5 Mon Sep 17 00:00:00 2001 From: Georg Date: Sun, 25 Jul 2021 02:11:46 +0200 Subject: Gitea, cgit configurations and README Signed-off-by: Georg --- cgit/cgitrc | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 cgit/cgitrc (limited to 'cgit/cgitrc') diff --git a/cgit/cgitrc b/cgit/cgitrc new file mode 100644 index 0000000..7d3020c --- /dev/null +++ b/cgit/cgitrc @@ -0,0 +1,63 @@ +# 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 -- cgit v1.2.3