summaryrefslogtreecommitdiffstats
path: root/cgit/cgitrc
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-09-16 08:07:37 -0400
committerMalfurious <m@lfurio.us>2023-09-16 08:07:37 -0400
commit77ae1784961d203d47c9db8736570a2d1e90f7b7 (patch)
tree57e0339c501afb6939031f41fd769b3d04e5b582 /cgit/cgitrc
parenta6f2c9e34b7a0bdaff2a44b54ca7999728f36773 (diff)
parent51b47c3d0eb8e9c638d002aec566ef158ff5d0cd (diff)
downloadsrcnode-77ae1784961d203d47c9db8736570a2d1e90f7b7.tar.gz
srcnode-77ae1784961d203d47c9db8736570a2d1e90f7b7.zip
Merge branch 'cgit-alpine-port'
Port the cgit docker image to build from Alpine Linux, and finish the file tree clean up started by the previous merge. * cgit-alpine-port: cgit: Update SSH clone URLs cgit: Update scan-path / repository mount location cgit: Update user and file paths for alpine distro cgit: Port Dockerfile for alpine base cgit: Consolidate config files into a single directory
Diffstat (limited to 'cgit/cgitrc')
-rw-r--r--cgit/cgitrc38
1 files changed, 38 insertions, 0 deletions
diff --git a/cgit/cgitrc b/cgit/cgitrc
new file mode 100644
index 0000000..34bbe81
--- /dev/null
+++ b/cgit/cgitrc
@@ -0,0 +1,38 @@
+# cgit config
+# see cgitrc(5) for details
+#
+# possible todos: header, footer
+
+css=/cgit.css
+logo=/cgit.png
+logo-link=/
+
+root-title=NormalMode.org Repositories
+root-desc=Public repositories hosted on normalmode.org
+
+clone-url=https://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL ssh://git@$HTTP_HOST/$CGIT_REPO_URL
+
+enable-blame=1
+enable-follow-links=1
+enable-git-config=1
+enable-http-clone=1
+enable-index-links=1
+enable-index-owner=1
+enable-log-filecount=1
+enable-log-linecount=1
+enable-tree-linenumbers=1
+
+section-sort=1
+repository-sort=age
+branch-sort=age
+agefile=agefile
+
+max-repo-count=512
+max-stats=year
+
+snapshots=tar.gz zip
+remove-suffix=1
+section-from-path=-1
+strict-export=gl-creator
+
+scan-path=/repositories/