~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
# use this if you want loggerhead to listen to another interface than 127.0.0.1
148.2.1 by Mattias Eriksson
Make it possible to override the interface loggerhead listens to. This is done by setting server.socket_host in the configuration file.
8
# server.socket_host = 'your_hostname_or_ip'
9
10
# where's bzrlib?
24 by Robey Pointer
figured out how to make my own separate config file like BzrInspect, and
11
# (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
12
#bzrpath = '/Users/robey/code/bzr/bzr'
75 by Robey Pointer
flesh out examples for the auto_publish feature.
13
24 by Robey Pointer
figured out how to make my own separate config file like BzrInspect, and
14
# 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
15
title = 'branches in loggerhead'
75 by Robey Pointer
flesh out examples for the auto_publish feature.
16
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
17
# 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
18
log.roll = 'weekly'
19
20
# 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
21
[bazaar]
22
23
    # name of this project
24
    name = 'bazaar'
25
    
75 by Robey Pointer
flesh out examples for the auto_publish feature.
26
    # for the top browsing page, you can include a description, in raw HTML.
27
    #description = 'Bazaar is a <i>revision control system</i>.'
28
29
    # should we cache files changed? (recommended for large trees)
159.1.6 by Michael Hudson
readme changes
30
    # this will be a folder containing one file.  if the folder doesn't
128.11.1 by Martin Albisetti
* Remove text index caching
31
    # exist, it'll be created.
75 by Robey Pointer
flesh out examples for the auto_publish feature.
32
    #
33
    # all branches in this project will share the same cache, which is usually
34
    # what you want if they share a repository.  if not, you can also specify
35
    # this per-branch.
36
    cachepath = '/Users/robey/code/bzr/.bzr/loggerhead-files'
37
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
38
    # each branch is in a sub-folder of the website, and the config
39
    # key describes that folder name:
40
    [[bzr.dev]]
57 by Robey Pointer
use bzr.dev as the branch name now that it's okay
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
        # where is the bazaar branch located?
43
        folder = '/Users/robey/code/bzr/bzr.dev'
75 by Robey Pointer
flesh out examples for the auto_publish feature.
44
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
45
        # (optional) is there a friendier name for the branch that i should
46
        # use on the web pages?
47
        # you can also define this using the branch's nickname.
75 by Robey Pointer
flesh out examples for the auto_publish feature.
48
        #branch_name = 'bazaar-dev'
49
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
50
        # (optional) short description for the top-level page
51
        # you can also define this using the "description" config key in the
75 by Robey Pointer
flesh out examples for the auto_publish feature.
52
        # branch's 'branch.conf'.
53
        description = "bazaar vcs development branch"
54
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
55
        # (optional) public branch url for the top-level page
56
        # 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.
57
        # branch's 'branch.conf'.
58
        url = 'http://bazaar-ng.org/bzr/bzr.dev'
59
60
61
# here's an example of an auto-published folder:
62
[paramiko]
63
    name = 'paramiko'
64
    cachepath = '/Users/robey/code/paramiko/.bzr/loggerhead-files'
65
    
66
    # if an auto_publish_folder is given, any bazaar branches discovered in
67
    # that folder will be published.  using each branch's 'branch.conf' to
68
    # provide optional descriptions and public urls is a nice way to avoid
69
    # having to do much configuration here.
70
    auto_publish_folder = '/Users/robey/code/paramiko'
71
    
72
    # if all of the branches under an auto_publish_folder are exported to
73
    # the same (base) public url, you can specify that url prefix here, and
74
    # each discovered branch's public url will be generated.
75
    url_prefix = 'http://www.example.com/code/paramiko'
76