~ubuntu-branches/ubuntu/gutsy/darcsweb/gutsy

« back to all changes in this revision

Viewing changes to config.py.sample

  • Committer: Bazaar Package Importer
  • Author(s): fabian linzberger
  • Date: 2006-10-13 18:48:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061013184833-5q9oa7k0s2jm5ojm
Tags: 0.16-1
* New upstream version (Closes: #392860).
* updated Standards-Version to 3.7.2 (no-op)
* removed superfluous build-dependency to python
* updated config.py default config file to include new example settings
  from upstream
* hardcode Depends: to python >= 2.3, drop dh_python from rules
* added X-Vcs-Darcs, thanks to maxx@debian.org for the hint
* bumped debhelper compatibility level (debian/compat) to 5, thanks to
  marga@debian.org for the hint

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
# base configuration, common to all repos
3
3
class base:
4
 
        # this script's name, usually just "darcsweb.cgi" unless you rename it
5
 
        myname = "darcsweb.cgi"
6
 
 
7
 
        # our url, used only to generate RSS links, without the script name
8
 
        myurl = "http://albertito.homeip.net:8026/darcsweb"
9
 
 
10
4
        # location of the darcs logo
11
5
        darcslogo = "darcs.png"
12
6
 
16
10
        # the CSS file to use
17
11
        cssfile = 'style.css'
18
12
 
 
13
        # this script's name, usually just "darcsweb.cgi" unless you rename
 
14
        # it; if you leave this commented it will be detected automatically
 
15
        #myname = "darcsweb.cgi"
 
16
 
 
17
        # our url, used only to generate RSS links, without the script name;
 
18
        # if you leave this commented it will be detected automatically
 
19
        #myurl = "http://example.com/darcsweb"
 
20
 
19
21
        # optionally, you can specify the path to the darcs executable; if you
20
22
        # leave this commented, the one on $PATH will be used (this is
21
23
        # normally what you want)
38
40
        # fine.
39
41
        # If you leave the entry commented, no cache will be ever used;
40
42
        # otherwise the directory is assumed to exist and be writeable.
 
43
        # If you use this option you must set the "myname" and "myurl"
 
44
        # variables.
41
45
        #cachedir = '/tmp/darcsweb-cache'
42
46
 
43
47
        # By default, darcsweb's search looks in the last 100 commits; you can
73
77
        repodir = '/usr/src/repo1'
74
78
 
75
79
        # an url so people know where to do "darcs get" from
76
 
        repourl = 'http://auriga.wearlab.de/~alb/repos/repo1/'
 
80
        repourl = 'http://example.com/repos/repo1/'
77
81
 
78
82
        # the encoding used in the repo
79
83
        # NOTE: if you use utf8, you _must_ write 'utf8' (and not the variants
91
95
        # either, a default one is used)
92
96
        #footer = "I don't like being cold"
93
97
 
 
98
        # Each repository may show a link to some website associated with it.
 
99
        # This is typically useful if you've got a website describing the
 
100
        # software in your repository.
 
101
        #repoprojurl = 'http://example.com/projects/repo1/'
 
102
 
94
103
 
95
104
class repo2:
96
105
        reponame = 'repo2'
97
106
        repodesc = 'Second example repository'
98
107
        repodir = '/usr/src/repo2'
99
 
        repourl = 'http://auriga.wearlab.de/~alb/repos/repo2/'
 
108
        repourl = 'http://example.com/repos/repo2/'
100
109
        repoencoding = 'latin1'
101
110
 
102
111
 
118
127
        multidir = '/usr/local/src'
119
128
        #multidir_deep = False
120
129
        repodesc = 'Repository for %(name)s'
121
 
        repourl = 'http://auriga.wearlab.de/~alb/repos/%(name)s/'
 
130
        repourl = 'http://example.com/repos/%(name)s/'
122
131
        repoencoding = 'latin1'
123
132
 
 
133
        # optional, see above
 
134
        #repoprojurl = 'http://example.com/projects/%(name)s/'
 
135
 
124
136
        # if you want to exclude some directories, add them to this list (note
125
137
        # they're relative to multidir, not absolute)
126
138
        #exclude = 'dir1', 'dir2'
135
147
        # True. It defaults to False.
136
148
        #autoexclude = True
137
149
 
 
150
        # if you want urls to be picked up automatically from the file named
 
151
        # "_darcs/third_party/darcsweb/url" (one line only), set this to
 
152
        # True. It defaults to False.
 
153
        #autourl = True
 
154
 
 
155
        # if you want the projects urls to be picked up automatically from the
 
156
        # file named "_darcs/third_party/darcsweb/extdoc" (one line only), set
 
157
        # this to True. It defaults to False.
 
158
        #autoprojurl = True
138
159