blob: 56eb1eeb30d23a2a6d337007163570e9fecd78fd (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
enable-blame=1
# clone-url=https://git.example.com/$CGIT_REPO_URL git@git.home.net:$CGIT_REPO_URL
clone-url=https://git.example.com/$CGIT_REPO_URL
css=/cgit.css
# logo=/cgit.png
# Allow http transport git clone
#enable-http-clone=0
enable-http-clone=1
# if you do not want that webcrawler (like google) index your site
robots=noindex, nofollow
# if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value:
virtual-root=/
enable-commit-graph=1
enable-log-filecount=1
enable-log-linecount=1
branch-sort=age
## List of common mimetypes
##
mimetype.gif=image/gif
mimetype.html=text/html
mimetype.jpg=image/jpeg
mimetype.jpeg=image/jpeg
mimetype.pdf=application/pdf
mimetype.png=image/png
mimetype.svg=image/svg+xml
# Highlight source code with python pygments-based highlighter
# source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
about-filter=/usr/lib/cgit/filters/about-formatting.sh
readme=:README.md
readme=:readme.md
readme=:README.mkd
readme=:readme.mkd
readme=:README.rst
readme=:readme.rst
readme=:README.html
readme=:readme.html
readme=:README.htm
readme=:readme.htm
readme=:README.txt
readme=:readme.txt
readme=:README
readme=:readme
readme=:INSTALL.md
readme=:install.md
readme=:INSTALL.mkd
readme=:install.mkd
readme=:INSTALL.rst
readme=:install.rst
readme=:INSTALL.html
readme=:install.html
readme=:INSTALL.htm
readme=:install.htm
readme=:INSTALL.txt
readme=:install.txt
readme=:INSTALL
readme=:install
# include=/var/git/cgit
# logo=/local/logo.jpg
css=/cgit.css
enable-commit-graph=0
# If you wish to include a different header/footer
# head-include=/var/git/local/head.html
# footer=/var/git/local/footer.html
section-from-path=1
snapshots=tar.gz tar.xz zip
root-title=Example cgit server
root-desc=Some sitewide description
# Follow the order in this file first
section-sort=0
repository-sort=age
# Scan all the shit
scan-path=/var/git/
# include=/home/git/mitch/cgit
# section= Mirror
# include=/home/git/mirror/cgit
# repo.url=mitch/pinnalce_cart_to_opencart
# repo.path=/home/git/mitch/pinnacle_cart_to_opencart.git/
# scan-path=/home/git/
# section=Mirrored repositories that interest me
# repos.url=mirror/%u
# scan-path=/home/git/mirror/
|