aboutsummaryrefslogtreecommitdiffstats
path: root/debian/examples/cgitrc
blob: 95d42161bbb2c883fbe216c145b21b4c995b6b48 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
## Debian cgit package configuration - see cgitrc(5).

## Enable caching up to 1000 entries in cache-root (/var/cache/cgit).
cache-size=1000

## Static asset locations (suitting to /etc/apache2/conf-available/cgit.conf).
css=/cgit/cgit.css
logo=/cgit/cgit.png
favicon=/cgit/favicon.ico

## Load system mime types.
mimetype-file=/etc/mime.types

## Enable downloading snapshots in zip and tar.gz format.
snapshots=zip tar.gz

## Enable other nice features.
local-time=1
remove-suffix=1
side-by-side-diffs=1
enable-git-config=1
enable-commit-graph=1
enable-log-linecount=1
max-stats=quarter

## Display clone URL information.
#clone-prefix=http://your-server/cgit

## Enable email gravatar filter using built-in lua interpreter.
## You need suggested package: lua-md5
#email-filter=lua:/usr/lib/cgit/filters/email-gravatar.lua

## Enable source code highlighting filter by pygments.
## You need suggested package: python-pygments
#source-filter=exec:/usr/lib/cgit/filters/syntax-highlighting.py

## Enable the "about" page.
## about-formatting.sh supports various formats.
#readme=about:index.html about:index.textile about:index.md
#about-filter=/usr/lib/cgit/filters/about-formatting.sh

## Configuration for repositories foo and bar.
#repo.url=foo
#repo.path=/pub/git/foo.git
#repo.desc=the master foo repository
#repo.owner=fooman@example.com
#repo.readme=info/web/about.html
#
#repo.url=bar
#repo.path=/pub/git/bar.git
#repo.desc=the bars for your foo
#repo.owner=barman@example.com
#repo.readme=info/web/about.html

## Configuration for repositories baz and wiz in the extras section.
#section=extras
#
#repo.url=baz
#repo.path=/pub/git/baz.git
#repo.desc=a set of extensions for bar users
#
#repo.url=wiz
#repo.path=/pub/git/wiz.git
#repo.desc=the wizard of foo

## Configuration for repositories managed by Debian gitolite3 package.
## See the instructions on the gitweb integration at
## http://gitolite.com/gitolite/external.html
#project-list=/var/lib/gitolite3/projects.list
#scan-path=/var/lib/gitolite3/repositories