update Sat Sep 12 12:37:01 PDT 2009
[pkgsrc.git] / wip / cgit / patches / patch-ab
1 $NetBSD$
2
3 --- cgitrc.orig 2009-02-21 18:34:56.000000000 +0100
4 +++ cgitrc
5 @@ -0,0 +1,65 @@
6 +##
7 +## cgitrc: template for /etc/cgitrc
8 +##
9 +
10 +## repositories
11 +repo.url=name
12 +repo.path=/var/git/repository.git
13 +repo.desc=repository description
14 +repo.owner=your@email
15 +
16 +
17 +## base for virtual urls. If specified, rewrite rules must be added to 
18 +## httpd.conf. Possible rules for /git/ when cgit.cgi is accessed as /cgit.cgi:
19 +##
20 +##   RewriteRule ^/git/$ /cgit.cgi                            [L,QSA]
21 +##   RewriteRule ^/git/([^/]+)/$ /cgit.cgi?r=$1               [L,QSA]
22 +##   RewriteRule ^/git/([^/]+)/([^/]+)/$ /cgit.cgi?r=$1&p=$2  [L,QSA]
23 +##
24 +#virtual-root=/git
25 +
26 +
27 +## page title for the root page (repo listing)
28 +#root-title=Git repository browser
29 +
30 +
31 +## link to css file
32 +#css=/cgit.css
33 +
34 +
35 +## link to logo file
36 +#logo=/cgit.png
37 +
38 +
39 +## url loaded when clicking the logo
40 +#logo-link=http://www.kernel.org/pub/software/scm/git/docs/
41 +
42 +
43 +## set number of initial chars to show of commit subject message in log views
44 +#max-message-length=60
45 +
46 +
47 +## Set to 1 to deactivate caching of generated pages
48 +#nocache=0
49 +
50 +
51 +## root path for cached output
52 +#cache-root=/var/cache/cgit
53 +
54 +
55 +##
56 +## Time-To-Live settings: specify how long (in minutes) different pages should
57 +## be cached. Specify 0 for instant expiration and -1 for immortal pages
58 +##
59 +
60 +## ttl for root page (repo listing)
61 +#cache-root-ttl=5
62 +
63 +## ttl for repo summary page
64 +#cache-repo-ttl=5
65 +
66 +## ttl for other dynamic pages 
67 +#cache-dynamic-ttl=5
68 +
69 +## ttl for static pages (addressed by SHA-1)
70 +#cache-static-ttl=-1