[ANNOUNCE] apache-bzr

Jelmer Vernooij jelmer at samba.org
Sun Jan 2 19:07:05 UTC 2011


During the last two days I hacked together a Bazaar module for Apache.
This module makes it possible to easily enable the Bazaar smart server
for Bazaar branches. It also can display a simple placeholder page for
Bazaar branches without working tree.

The main advantage this has over a mod_wsgi / mod_python / mod_fcgi
setup is that it doesn't require any additional Python hacking on the
users side or other configuration outside of Apache, and it doesn't
require configuration for each single branch in the Apache
configuration. In the future I'd also like to support the settings
"BazaarFrontend Wikkid" and "BazaarFrontend Loggerhead".

The configuration is currently as simple as:

LoadModule bzr_module /usr/lib/apache2/modules/mod_bzr.so
BazaarSmart on
BazaarFrontend Basic

in your apache2.conf. The BazaarSmart and BazaarFrontend directives can
appear in <Directory> or <Location> clauses as well, if you'd like to
have different behaviour for different directories.

At the moment this project is a proof of concept, and probably not
something you'd want to run in production. For example, there is no way
to limit the access to a branch to read only. I need to double-check
there are no threading issues. 

Testing and patches are welcome. The project is hosted here:

 * https://launchpad.net/apache-bzr

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110102/86192406/attachment.pgp>


More information about the bazaar mailing list