Hi Robert, and Nick.<br> Thank you both for the replies. It sounds like this is what I want, but could you please send me some more information on how to do this exactly?<br><br>Robert, from my understanding I would need to install the email plugin on the server into the $HOME/.bazaar/plugins directory. However, I am not the only user who makes use of the repository, and each of us has a different user, so I would need to install this into each user's directory correct?<br>
<br>It's a managed hosting environment and I can't install it into the bazaar installation dir.<br><br>Nick, can you explain a little bit about how the email-notifier works. I was looking through the example.conf file and it looks like it creates a local working copy for the branches it's watching? Is this correct?<br>
<br><div class="gmail_quote">On Tue, Feb 2, 2010 at 9:45 AM, Nicholas Allen <span dir="ltr"><<a href="mailto:nick.allen@onlinehome.de" target="_blank">nick.allen@onlinehome.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Eric,<br>
<br>
You don't have to use bzr-email-notifier from a cron job. There is a<br>
shell script that checks for updates every 10 seconds. This means it<br>
should notify you within a max of 10 seconds of a commit. There is no<br>
need to execute it from a hook. On my system polling every 10 seconds<br>
does not increase CPU usage in a noticable way so you could even lower<br>
the poll interval if you like.<br>
<br>
Cheers,<br>
<br>
Nick<br>
<div><br>
Eric Berry wrote:<br>
> Hi, Thanks for the pointers.<br>
><br>
> I looked into both of those, but my issue is that my server<br>
> environment doesn't have cron services. To use these plugins I would<br>
> need to set up some php script to execute these commands, and then set<br>
> up a cron job on another machine to hit the php script.<br>
><br>
> Is there any way to get these plugins to execute automatically (event<br>
> based) after someone has pushed changes to the server?<br>
><br>
> How does launchpad do it? Is launchpad using one of these plugins and<br>
> has a cron job running in the background checking for changes?<br>
><br>
> Thanks,<br>
> Eric<br>
><br>
> On Tue, Feb 2, 2010 at 1:41 AM, Nicholas Allen<br>
</div><div><div></div><div>> <<a href="mailto:nick.allen@onlinehome.de" target="_blank">nick.allen@onlinehome.de</a> <mailto:<a href="mailto:nick.allen@onlinehome.de" target="_blank">nick.allen@onlinehome.de</a>>> wrote:<br>
><br>
> You can also check out bzr-email-notifier<br>
> <a href="https://launchpad.net/bzr-email-notifier" target="_blank">https://launchpad.net/bzr-email-notifier</a>.<br>
><br>
> Nick<br>
><br>
> Eric Berry wrote:<br>
> > Hello,<br>
> > I've been looking through the documentation on hooks:<br>
> > <a href="http://wiki.bazaar.canonical.com/BzrHooks" target="_blank">http://wiki.bazaar.canonical.com/BzrHooks</a><br>
> > and<br>
> ><br>
> <a href="http://doc.bazaar.canonical.com/bzr.dev/en/admin-guide/hooks-plugins.html" target="_blank">http://doc.bazaar.canonical.com/bzr.dev/en/admin-guide/hooks-plugins.html</a><br>
> ><br>
> > It doesn't look like there are many "easy" ways to set up email<br>
> > notifications from the server. Is this correct, is the current<br>
> > recommended way to have each developer install and configure the<br>
> > bzr-email plugin?<br>
> ><br>
> > Thanks for any help,<br>
> > Eric<br>
> ><br>
> > --<br>
> > Learn from the past. Live in the present. Plan for the future.<br>
> > 11101000<br>
> > <a href="http://www.townsfolkdesigns.com/blogs/elberry" target="_blank">http://www.townsfolkdesigns.com/blogs/elberry</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Learn from the past. Live in the present. Plan for the future.<br>
> 11101000<br>
> <a href="http://www.townsfolkdesigns.com/blogs/elberry" target="_blank">http://www.townsfolkdesigns.com/blogs/elberry</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Learn from the past. Live in the present. Plan for the future.<br>11101000<br><a href="http://www.townsfolkdesigns.com/blogs/elberry" target="_blank">http://www.townsfolkdesigns.com/blogs/elberry</a><br>