summaryrefslogtreecommitdiff
path: root/etc/cgitrc
blob: 9161838b4f71303142af6fec80ea28631ae33698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# https://wiki.archlinux.org/title/Cgit#Configuration_of_cgit
# https://wiki.gentoo.org/wiki/User:Halcon/HOWTO_cgit_uwsgi_nginx
# `man cgitrc`

enable-index-owner=0
enable-blame=1
mimetype-file=/etc/mime.types
# `man cgitrc` uses $CGIT_REPO_URL instead of $CGIT_REPO_NAME, I guess maybe because repo name can be different from repo url?
clone-url=https://$HTTP_HOST/$CGIT_REPO_URL https://codeberg.org/flyxyz123/$CGIT_REPO_URL
# $HTTP_HOST not working for clone-prefix, not sure why, therefore I prefer clone-url over clone-prefix
#clone-prefix=https://git.flylightning.xyz/ https://codeberg.org/flyxyz123/

# https://stackoverflow.com/questions/16182421/cgit-and-nginx-url-rewrite
virtual-root=/

source-filter=/usr/lib/cgit/filters/syntax-highlighting-edited.sh
css=/mycgit.css

root-title=flylightning.xyz git repositories
root-desc=

repo.url=config_local_arch
repo.path=/var/lib/gitolite/repositories/config_local_arch.git
repo.desc=Device dependent config files for Arch Linux, managed by https://git.flylightning.xyz/fsh/tree/sh/cfg (git bare repo method)

repo.url=xcross
repo.path=/var/lib/gitolite/repositories/xcross.git
repo.desc=X11 draw a cross at cursor across screen

repo.url=dwm_fly
repo.path=/var/lib/gitolite/repositories/dwm_fly.git
repo.desc=My fork of https://git.suckless.org/dwm

repo.url=public_archive_codes
repo.path=/var/lib/gitolite/repositories/public_archive_codes.git
repo.desc=My mostly not used, not maintained, archived codes/configs

repo.url=fly
repo.path=/var/lib/gitolite/repositories/fly.git
repo.desc=Arch Linux custom local repository

repo.url=aur
repo.path=/var/lib/gitolite/repositories/aur.git
repo.desc=PKGBUILDs I maintain for AUR

repo.url=fsh
repo.path=/var/lib/gitolite/repositories/fsh.git
repo.desc=My shell utilities