summaryrefslogtreecommitdiffstats
path: root/cgit
diff options
context:
space:
mode:
Diffstat (limited to 'cgit')
-rw-r--r--cgit/cgitrc63
1 files changed, 63 insertions, 0 deletions
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