~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead.conf.example

  • Committer: Robey Pointer
  • Date: 2007-01-21 00:05:52 UTC
  • Revision ID: robey@lag.net-20070121000552-laswr1ffqh030uge
big checkpoint commit.  added some functions to util for tracking browsing
context (those key=value params to urls) since there are already a few and
now i'm adding some more: 'remember' and 'compare_revid'.

'remember' is a remembered revision_id that gets carried around if you click
on a "compare this revision to another revision" link on the revision page.
afterwards, whenever you're on a revision page, you can click "compare to
revision [x]" and it will switch 'remember' to 'compare_revid' and show the
revision page with a diff as compared to the remembered revision.  this is
to allow arbitrary diffs.  i'm not sure the ui is great, though.

bundle is also hooked up this way, so you can download an arbitrary bundle.

Show diffs side-by-side

added added

removed removed

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