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

Viktor Nagy viktor.nagy at gmail.com
Fri Sep 12 22:39:00 BST 2008


Hi!

there is only the post_change_branch_tip hook that works as a server side
hook

otherwise if commit itself works, the hook should work fine as well

V

On Fri, Sep 12, 2008 at 11:35 PM, Marius Kruger <amanic at gmail.com> wrote:

> 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
>
>


-- 
Viktor Nagy - viktornagy.com
Phd Student
Toulouse School of Economics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20080912/dd271531/attachment.htm 


More information about the bazaar mailing list