Commit Hook Implementation
Erik Bågfors
zindar at gmail.com
Tue Oct 3 08:56:24 BST 2006
On 10/3/06, Robert Widhopf-Fenk <hack at robf.de> wrote:
> Hi,
>
> has anyone already written a commit hook plugin, i.e. a
> plugin doing some actions after a successful commit.
>
> Typical things that can be done there:
> * send a notification email with the log
Please take a look at the bzr-email plugin which does this..
> * create/update a RSS feed with the log
Not that I know of. You can use the bzr-email plugin as a starting point.
> * sync an mirror
For this, you have checkouts/bind. Basically, do this
I have branch foo, and I want a public mirror of it
cd foo
bzr push sftp://host/~/public_html/foo
bzr bind sftp://host/~/public_html/foo
Now each commit you do goes to both the public "foo" and your private "foo"
/Erik
--
google talk/jabber. zindar at gmail.com
SIP-phones: sip:erik_bagfors at gizmoproject.com
sip:17476714687 at proxy01.sipphone.com
More information about the bazaar
mailing list