[HELP!] serverside hooks behind bzr+http://

Marius Kruger amanic at gmail.com
Fri Sep 12 22:35:17 BST 2008


Hi,
I'm trying to get hooks called on the server when commits come in over
bzr+http://
I have tried a lot of things and got it working over bzr://

I'm using this fcgi script:
"""
#! /usr/bin/env python

import fcgi
from bzrlib.transport.http import wsgi

smart_server_app = wsgi.make_app(
    root='/var/lib/gforge/bzrroot',
    prefix='/bzr/',
    path_var='REQUEST_URI',
    readonly=False)

fcgi.WSGIServer(smart_server_app).run()
"""

commits work fine over this, but the hooks does not seem to be called.

Any help would be appreciated, even if I have to hack on it a bit.
My only option at the moment seems to be to use a cronjob to monitor the
branch, which I'm actually doing already to collect stats.

thanks
marius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20080912/4cc07756/attachment.htm 


More information about the bazaar mailing list