aboutsummaryrefslogtreecommitdiffstats
path: root/debian/examples/cgitrc
diff options
context:
space:
mode:
Diffstat (limited to 'debian/examples/cgitrc')
-rw-r--r--debian/examples/cgitrc70
1 files changed, 70 insertions, 0 deletions
diff --git a/debian/examples/cgitrc b/debian/examples/cgitrc
new file mode 100644
index 0000000..95d4216
--- /dev/null
+++ b/debian/examples/cgitrc
@@ -0,0 +1,70 @@
1## Debian cgit package configuration - see cgitrc(5).
2
3## Enable caching up to 1000 entries in cache-root (/var/cache/cgit).
4cache-size=1000
5
6## Static asset locations (suitting to /etc/apache2/conf-available/cgit.conf).
7css=/cgit/cgit.css
8logo=/cgit/cgit.png
9favicon=/cgit/favicon.ico
10
11## Load system mime types.
12mimetype-file=/etc/mime.types
13
14## Enable downloading snapshots in zip and tar.gz format.
15snapshots=zip tar.gz
16
17## Enable other nice features.
18local-time=1
19remove-suffix=1
20side-by-side-diffs=1
21enable-git-config=1
22enable-commit-graph=1
23enable-log-linecount=1
24max-stats=quarter
25
26## Display clone URL information.
27#clone-prefix=http://your-server/cgit
28
29## Enable email gravatar filter using built-in lua interpreter.
30## You need suggested package: lua-md5
31#email-filter=lua:/usr/lib/cgit/filters/email-gravatar.lua
32
33## Enable source code highlighting filter by pygments.
34## You need suggested package: python-pygments
35#source-filter=exec:/usr/lib/cgit/filters/syntax-highlighting.py
36
37## Enable the "about" page.
38## about-formatting.sh supports various formats.
39#readme=about:index.html about:index.textile about:index.md
40#about-filter=/usr/lib/cgit/filters/about-formatting.sh
41
42## Configuration for repositories foo and bar.
43#repo.url=foo
44#repo.path=/pub/git/foo.git
45#repo.desc=the master foo repository
46#repo.owner=fooman@example.com
47#repo.readme=info/web/about.html
48#
49#repo.url=bar
50#repo.path=/pub/git/bar.git
51#repo.desc=the bars for your foo
52#repo.owner=barman@example.com
53#repo.readme=info/web/about.html
54
55## Configuration for repositories baz and wiz in the extras section.
56#section=extras
57#
58#repo.url=baz
59#repo.path=/pub/git/baz.git
60#repo.desc=a set of extensions for bar users
61#
62#repo.url=wiz
63#repo.path=/pub/git/wiz.git
64#repo.desc=the wizard of foo
65
66## Configuration for repositories managed by Debian gitolite3 package.
67## See the instructions on the gitweb integration at
68## http://gitolite.com/gitolite/external.html
69#project-list=/var/lib/gitolite3/projects.list
70#scan-path=/var/lib/gitolite3/repositories