aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/templates/cgitrc.j2
blob: 1c316f333b2e51d997187a1a648b1ab5f0899bac (plain) (blame)
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

# cgit ~~ /var/www/conf/cgitrc
# managed by Ansible

# visuals
css={{ cgit_config_css }}
logo={{ cgit_config_logo }}
favicon={{ cgit_config_favicon }}

# readme
readme=:README.md
readme=:README.org
readme=:README
about-filter=/bin/about-filter.sh

# features
enable-commit-graph=1
enable-http-clone=1
enable-index-links=1
max-stats=quarter
robots=noindex, nofollow

# git
clone-url=git://git.{{ global.domain_name }}/$CGIT_REPO_URL ssh://git@git.{{ global.domain_name }}/$CGIT_REPO_URL http://git.{{ global.domain_name }}/$CGIT_REPO_URL

# instance id
root-title=git.{{ global.domain_name }}
root-desc={{ cgit_config_root_desc }}
root-readme={{ cgit_config_root_readme }}

# archives
snapshots=tar.gz

# sections
section-from-path=1
section-sort=1
scan-path={{ cgit_git_dir_chroot }}
remember that computers suck.