~loggerhead-team/loggerhead/trunk-rich

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