aboutsummaryrefslogtreecommitdiff
path: root/gitolite/cgit/cgitrc
blob: 8718816a19c6c888e5fdf00fc5e8e9c27d5698f9 (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
repository-sort=age
clone-url=https://$HTTP_HOST/$CGIT_REPO_URL
enable-http-clone=1

## caching options
#cache-size=1000
#cache-about-ttl=30
#cache-dynamic-ttl=30
#cache-static-ttl=30
#cache-repo-ttl=5
#cache-root-ttl=5

# Needed to avoid duplicating URI in every href
virtual-root=/

# Extra <head>
head-include=/usr/share/cgit/include.html

# Enable us "ignoring" specific repositories
enable-git-config=1

# Self explanatory
enable-http-clone=1

# Remove .git suffix
remove-suffix=1

readme=:README.md
about-filter=/usr/local/lib/cgit/filters/about-formatting.sh
source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py

# Needs to be mountpoint of the gitolite volume
project-list=/var/lib/git/projects.list
scan-path=/var/lib/git/repositories

root-title=Personal projects
root-desc=A brief collection
root-readme=/var/www/htdocs/cgit/about.html
local-time=1

css=/everforest.css
css=/cgit.css
css=/syntax.css
logo=/logo.png