aboutsummaryrefslogtreecommitdiff
path: root/home/cgit
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-09-13 16:10:11 -0400
committerMitch Riedstra <mitch@riedstra.us>2020-09-13 16:10:11 -0400
commit578b04e3f380cfd674cd545f6a4d673b4e046bf5 (patch)
tree0ae11672ff5b90a73e5abb489fa1a5b6d9e67862 /home/cgit
downloadalpine-cgit-578b04e3f380cfd674cd545f6a4d673b4e046bf5.tar.gz
alpine-cgit-578b04e3f380cfd674cd545f6a4d673b4e046bf5.tar.xz
Initial
Diffstat (limited to 'home/cgit')
-rw-r--r--home/cgit110
1 files changed, 110 insertions, 0 deletions
diff --git a/home/cgit b/home/cgit
new file mode 100644
index 0000000..3b19ca4
--- /dev/null
+++ b/home/cgit
@@ -0,0 +1,110 @@
+enable-blame=1
+
+# clone-url=https://git.example.com/$CGIT_REPO_URL git@git.home.net:$CGIT_REPO_URL
+clone-url=https://git.example.com/$CGIT_REPO_URL
+
+css=/cgit.css
+# logo=/cgit.png
+
+# Allow http transport git clone
+#enable-http-clone=0
+enable-http-clone=1
+
+# if you do not want that webcrawler (like google) index your site
+robots=noindex, nofollow
+
+# if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value:
+
+virtual-root=/
+
+enable-commit-graph=1
+enable-log-filecount=1
+enable-log-linecount=1
+branch-sort=age
+
+## 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
+
+
+
+# Highlight source code with python pygments-based highlighter
+source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
+
+about-filter=/usr/lib/cgit/filters/about-formatting.sh
+
+readme=:README.md
+readme=:readme.md
+readme=:README.mkd
+readme=:readme.mkd
+readme=:README.rst
+readme=:readme.rst
+readme=:README.html
+readme=:readme.html
+readme=:README.htm
+readme=:readme.htm
+readme=:README.txt
+readme=:readme.txt
+readme=:README
+readme=:readme
+readme=:INSTALL.md
+readme=:install.md
+readme=:INSTALL.mkd
+readme=:install.mkd
+readme=:INSTALL.rst
+readme=:install.rst
+readme=:INSTALL.html
+readme=:install.html
+readme=:INSTALL.htm
+readme=:install.htm
+readme=:INSTALL.txt
+readme=:install.txt
+readme=:INSTALL
+readme=:install
+
+# include=/var/git/cgit
+# logo=/local/logo.jpg
+css=/local/style.css
+enable-commit-graph=0
+
+
+# If you wish to include a different header/footer
+# head-include=/var/git/local/head.html
+# footer=/var/git/local/footer.html
+
+section-from-path=1
+
+
+
+snapshots=tar.gz tar.xz zip
+
+root-title=Example cgit server
+root-desc=Some sitewide description
+
+
+# Follow the order in this file first
+section-sort=0
+repository-sort=age
+
+# Scan all the shit
+scan-path=/var/git/
+
+# include=/home/git/mitch/cgit
+# section= Mirror
+# include=/home/git/mirror/cgit
+
+# repo.url=mitch/pinnalce_cart_to_opencart
+# repo.path=/home/git/mitch/pinnacle_cart_to_opencart.git/
+
+# scan-path=/home/git/
+# section=Mirrored repositories that interest me
+# repos.url=mirror/%u
+# scan-path=/home/git/mirror/
+