summaryrefslogtreecommitdiffstats
path: root/development/cgit/config/cgitrc.sample
blob: cd23168d043558f8de16b644fac3aac615a8acb1 (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
# sample /etc/cgitrc file: two repos are defined
# you can see a demo here http://cgit.ponce.cc/
# For more options, see cgitrc.5.txt in the docs folder

root-title=ponce's repository browser
root-desc=a fast interface to these git repositories
virtual-root=/
snapshots=tar.gz
branch-sort=age
# for this to work you have to build cgit against lua
# and install luacrypto too
email-filter=lua:/usr/share/cgit/filters/email-gravatar-sbo.lua

#css=/static/cgit.css
#logo=/static/cgit.png

# repository specific data
repo.url=slackbuilds
repo.path=/path/to/repo/.git
repo.desc=slackbuilds.org fork for slackware-current
repo.owner=my.address _at_ my.isp
# the default branch here is set to current (default if omitted is master)
repo.defbranch=current
repo.clone-url=git://github.com/Ponce/slackbuilds.git

# if you need to display other repositories you can more config blocks
# like the one above