summaryrefslogtreecommitdiffstats
path: root/etc/cgitrc
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-08-31 00:57:10 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-08-31 00:57:10 +0200
commit58bd5d67fa829dda4abe012092db02ece9dc2dfd (patch)
tree6b9c7cdf1445e99fde3a0b80119316d33bb450fd /etc/cgitrc
parentb (diff)
parentc (diff)
downloadn-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar
n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar.gz
n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar.bz2
n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar.lz
n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar.xz
n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.tar.zst
n-58bd5d67fa829dda4abe012092db02ece9dc2dfd.zip
Diffstat (limited to 'etc/cgitrc')
-rw-r--r--etc/cgitrc139
1 files changed, 139 insertions, 0 deletions
diff --git a/etc/cgitrc b/etc/cgitrc
new file mode 100644
index 0000000..b68c53a
--- /dev/null
+++ b/etc/cgitrc
@@ -0,0 +1,139 @@
+#
+# cgit config
+# see cgitrc(5) for details
+virtual-root=/
+css=/cgit-css/cgit.css
+logo=/cgit-css/cgit.png
+about-filter=exec:/usr/lib/cgit/filters/about-formatting.sh
+# auth-filter=lua:/usr/lib/cgit/filters/file-authentication.lua
+branch-sort=age
+clone-url=http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL https://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL
+clone-url=http://$HTTP_HOST/$CGIT_REPO_URL https://$HTTP_HOST/$CGIT_REPO_URL
+commit-filter=exec:/usr/lib/cgit/filters/commit-links.sh
+# embedded=1
+enable-blame=1
+enable-commit-graph=1
+enable-filter-overrides=1
+enable-follow-links=1
+enable-git-config=1
+enable-html-serving=1
+enable-index-links=1
+enable-log-filecount=1
+enable-log-linecount=1
+enable-remote-branches=1
+enable-subject-links=1
+# head-include=/tmp/b
+# header=/tmp/a
+local-time=1
+max-atom-items=1000
+max-commit-count=5000
+max-message-length=800
+max-repo-count=5000
+max-repodesc-length=800
+max-stats=year
+mimetype-file=/etc/mime.types
+# noheader=1
+readme=README
+readme=README.md
+readme=README.html
+readme=README.man
+readme=README.rst
+readme=README.roff
+readme=README.groff
+readme=README.txt
+readme=README.MD
+readme=README.HTML
+readme=README.MAN
+readme=README.RST
+readme=README.ROFF
+readme=README.GROFF
+readme=README.TXT
+readme=readme
+readme=readme.md
+readme=readme.html
+readme=readme.man
+readme=readme.rst
+readme=readme.roff
+readme=readme.groff
+readme=readme.txt
+readme=readme.MD
+readme=readme.HTML
+readme=readme.MAN
+readme=readme.RST
+readme=readme.ROFF
+readme=readme.GROFF
+readme=readme.TXT
+readme=Readme
+readme=Readme.md
+readme=Readme.html
+readme=Readme.man
+readme=Readme.rst
+readme=Readme.roff
+readme=Readme.groff
+readme=Readme.txt
+readme=Readme.MD
+readme=Readme.HTML
+readme=Readme.MAN
+readme=Readme.RST
+readme=Readme.ROFF
+readme=Readme.GROFF
+readme=Readme.TXT
+readme=BERIME
+readme=BERIME.md
+readme=BERIME.html
+readme=BERIME.man
+readme=BERIME.rst
+readme=BERIME.roff
+readme=BERIME.groff
+readme=BERIME.txt
+readme=BERIME.MD
+readme=BERIME.HTML
+readme=BERIME.MAN
+readme=BERIME.RST
+readme=BERIME.ROFF
+readme=BERIME.GROFF
+readme=BERIME.TXT
+readme=berime
+readme=berime.md
+readme=berime.html
+readme=berime.man
+readme=berime.rst
+readme=berime.roff
+readme=berime.groff
+readme=berime.txt
+readme=berime.MD
+readme=berime.HTML
+readme=berime.MAN
+readme=berime.RST
+readme=berime.ROFF
+readme=berime.GROFF
+readme=berime.TXT
+readme=Berime
+readme=Berime.md
+readme=Berime.html
+readme=Berime.man
+readme=Berime.rst
+readme=Berime.roff
+readme=Berime.groff
+readme=Berime.txt
+readme=Berime.MD
+readme=Berime.HTML
+readme=Berime.MAN
+readme=Berime.RST
+readme=Berime.ROFF
+readme=Berime.GROFF
+readme=Berime.TXT
+# remove-suffix=.git
+renamelimit=100
+repository-sort=age
+root-desc=spletni dostop do sistema za nadzor inačic Antona Luke Šijanca
+root-readme=/var/lib/git/indextext.html
+root-title=nadzor inačic :: Anton Luka Šijanec
+# side-by-side-diffs=1 # to nastavi default vrednost
+snapshots=all
+source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh
+sumary-branches=100
+summary-log=100
+summary-tags=100
+
+scan-path=/var/lib/git