1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
LOGGERHEAD
==========
[ Version 1.2 for Bazaar 1.2 ]
Loggerhead is a web viewer for Bazaar branches. It can be used to
navigate a branch history, annotate files, perform searches... all the
usual things.
This is a TurboGears (http://www.turbogears.org) project. It can be
started by running::
$ ./start-loggerhead.py
This will run loggerhead in the background. To stop it, run::
$ ./stop-loggerhead.py
If you're not familiar with TurboGears, the simplest way to get running
is to add the lines like the following to your apache configuration::
<Location "/branches/">
ProxyPass http://127.0.0.1:8080/
ProxyPassReverse http://127.0.0.1:8080/
</Location>
The config file is "loggerhead.conf". In there, you can configure
projects, and branches per project. The idea is that you could be
publishing several (possibly unrelated) projects through the same
loggerhead instance, and several branches for the same project. A
commented example of a configuration file is loggerhead.conf.example
included with the source.
Don't bother with "dev.cfg" or any of the other TurboGears config files.
Loggerhead overrides those values with its own.
A debug and access log are stored in the logs/ folder.
CACHES
------
To speed up operations with large branches, loggerhead can be configured
to create three caches per branch when it first launches:
- a revision data cache
- a cache of files changed in a revision
- a text searching cache
You can put the cache folder anywhere. A folder under the branch's
.bzr/ folder is a convenient place.
The revision data cache and text searching cache will be automatically
filled once loggerhead starts up. The caches for a branch with 15,000
revisions take about four minutes each on a fairly fast machine, but
mileage may vary. Once they are built, they update every six hours or
so but usually finish quickly (or instantly) after the initial creation.
You may update the Bazaar branch at any time (for example, from a cron).
Loggerhead will notice and refresh, and Bazaar uses its own branch
locking to prevent corruption.
SUPPORT
-------
This is loosely based on bazaar-webserve, which was loosely based on hgweb.
Discussion should take place on the bazaar-dev mailing list.
|