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:: ProxyPass http://127.0.0.1:8080/ ProxyPassReverse http://127.0.0.1:8080/ 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, but I find that a folder under the branch's .bzr/ folder is the simplest 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.