commit 65c81c1110d7dabcdab7ac0366724b4086e8aec4 parent 25ed632bcfdaa42586fb0183c8b2172c5719c4c4 Author: Jake Bauer <jbauer@paritybit.ca> Date: Tue, 7 Jul 2020 01:28:21 -0400 Switch to using cgitrepos file Diffstat:
M | cgitrc | | | 10 | ++++++---- |
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/cgitrc b/cgitrc @@ -42,10 +42,8 @@ snapshots=tar.gz tar.bz2 zip # Use python-pygments for syntax highlighting source-filter=/usr/lib/cgit/filters/syntax-highlighting.py -# Get section names from subdirectories -section-from-path=1 -# Auto-discover repos from this directory -scan-path=/srv/git/ +# Sort sections by position in file, not alphabetically +section-sort=0 # Generate URLs relative to cgit's root virtual-root=/ @@ -58,3 +56,7 @@ mimetype.jpeg=image/jpeg mimetype.pdf=application/pdf mimetype.png=image/png mimetype.svg=image/svg+xml + +# Include repos from the following file. +# Allows easier specification of description, no weird paths. +include=/etc/cgitrepos