summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-08-31 00:51:08 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-08-31 00:51:08 +0200
commit711df1ffbc54e03a8527b1009c65f7cfb881aaa1 (patch)
tree223154ece2b101906b755c11b01580dbaccf7ae2
parentletsencrypt hook (diff)
downloadn-711df1ffbc54e03a8527b1009c65f7cfb881aaa1.tar
n-711df1ffbc54e03a8527b1009c65f7cfb881aaa1.tar.gz
n-711df1ffbc54e03a8527b1009c65f7cfb881aaa1.tar.bz2
n-711df1ffbc54e03a8527b1009c65f7cfb881aaa1.tar.lz
n-711df1ffbc54e03a8527b1009c65f7cfb881aaa1.tar.xz
n-711df1ffbc54e03a8527b1009c65f7cfb881aaa1.tar.zst
n-711df1ffbc54e03a8527b1009c65f7cfb881aaa1.zip
Diffstat (limited to '')
-rw-r--r--etc/cgitrc139
-rwxr-xr-x[-rw-r--r--]var/lib/git/sijanec/config5
2 files changed, 142 insertions, 2 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
diff --git a/var/lib/git/sijanec/config b/var/lib/git/sijanec/config
index c8f67c6..047cba5 100644..100755
--- a/var/lib/git/sijanec/config
+++ b/var/lib/git/sijanec/config
@@ -2,9 +2,10 @@
repositoryformatversion = 0
filemode = true
bare = true
+ sharedRepository = true
[gitweb]
- category = etc
- owner = Anton Luka Šijanec <anton@sijanec.eu>
+ category = etc
+ owner = Anton Luka Šijanec <anton@sijanec.eu>
[receive]
denyNonFastForwards = true
denyDeletes = true