~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead.conf.example

  • Committer: Michael Hudson
  • Date: 2007-08-21 15:18:24 UTC
  • mto: (128.4.1 mwh.dev)
  • mto: This revision was merged to the branch mainline in revision 137.
  • Revision ID: michael.hudson@canonical.com-20070821151824-see3tquvlhq6j850
delete wasteful doubled code

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
 
2
# use this to change the server's port
 
3
#server.socket_port = 8080
 
4
 
 
5
# use this if you're mapping loggerhead within apache via proxy
 
6
#server.webpath = 'http://example.com/branches'
 
7
 
2
8
# where's bzrlib?
3
9
# (you only need this if you don't install bzr.)
4
 
bzrpath='/Users/robey/code/bzr/bzr'
 
10
#bzrpath = '/Users/robey/code/bzr/bzr'
5
11
 
6
12
# if you want a special title on the front page, set it here:
7
 
title='branches in loggerhead'
 
13
title = 'branches in loggerhead'
 
14
 
 
15
# the access and debug logs can be set up to roll 'daily', 'weekly', or 'never':
 
16
log.roll = 'weekly'
8
17
 
9
18
# group branches by project:
10
19
[bazaar]
11
20
 
12
21
    # name of this project
13
22
    name = 'bazaar'
 
23
    
 
24
    # for the top browsing page, you can include a description, in raw HTML.
 
25
    #description = 'Bazaar is a <i>revision control system</i>.'
 
26
 
 
27
    # should we cache revisions and build a text index?  (HIGHLY recommended)
 
28
    # this will be a folder containing a few files.  if the folder doesn't
 
29
    # exist, it'll be created.
 
30
    #
 
31
    # all branches in this project will share the same cache, which is usually
 
32
    # what you want if they share a repository.  if not, you can also specify
 
33
    # this per-branch.
 
34
    cachepath = '/Users/robey/code/bzr/.bzr/loggerhead-files'
14
35
 
15
36
    # each branch is in a sub-folder of the website, and the config
16
37
    # key describes that folder name:
17
38
    [[bzr.dev]]
18
39
 
19
40
        # where is the bazaar branch located?
20
 
        folder='/Users/robey/code/bzr/bzr.dev'
 
41
        folder = '/Users/robey/code/bzr/bzr.dev'
21
42
 
22
43
        # (optional) is there a friendier name for the branch that i should
23
44
        # use on the web pages?
24
 
        #branch_name='bazaar-dev'
 
45
        # you can also define this using the branch's nickname.
 
46
        #branch_name = 'bazaar-dev'
25
47
 
26
48
        # (optional) short description for the top-level page
27
 
        description="bazaar vcs development branch"
 
49
        # you can also define this using the "description" config key in the
 
50
        # branch's 'branch.conf'.
 
51
        description = "bazaar vcs development branch"
28
52
 
29
53
        # (optional) public branch url for the top-level page
30
 
        url='http://bazaar-ng.org/bzr/bzr.dev'
31
 
 
32
 
        # should we cache revisions?  (HIGHLY recommended)  where?
33
 
        # this will be a folder containing a couple of files.  if the folder
34
 
        # doesn't already exist, we'll create it.
35
 
        cachepath='/Users/robey/code/bzr/bzr.dev/.bzr/loggerhead-cache'
36
 
 
 
54
        # you can also define this using the "public_url" config key in the
 
55
        # branch's 'branch.conf'.
 
56
        url = 'http://bazaar-ng.org/bzr/bzr.dev'
 
57
 
 
58
 
 
59
# here's an example of an auto-published folder:
 
60
[paramiko]
 
61
    name = 'paramiko'
 
62
    cachepath = '/Users/robey/code/paramiko/.bzr/loggerhead-files'
 
63
    
 
64
    # if an auto_publish_folder is given, any bazaar branches discovered in
 
65
    # that folder will be published.  using each branch's 'branch.conf' to
 
66
    # provide optional descriptions and public urls is a nice way to avoid
 
67
    # having to do much configuration here.
 
68
    auto_publish_folder = '/Users/robey/code/paramiko'
 
69
    
 
70
    # if all of the branches under an auto_publish_folder are exported to
 
71
    # the same (base) public url, you can specify that url prefix here, and
 
72
    # each discovered branch's public url will be generated.
 
73
    url_prefix = 'http://www.example.com/code/paramiko'