~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead.conf

  • Committer: Robey Pointer
  • Date: 2006-12-20 03:05:27 UTC
  • Revision ID: robey@lag.net-20061220030527-h9fh8fztifgne8q7
slowly moving the branch-specific stuff into a common structure...
the changes cache is now its own class (ChangeCache) like TextIndex, and
both are fields in History.  almost all of the cache rebuilding logic, etc,
has been moved there and out of __init__.

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