So does this mean it won't work with a server repo set up using --no-trees?<br><br><div class="gmail_quote">On Tue, Feb 2, 2010 at 11:02 AM, Nicholas Allen <span dir="ltr"><<a href="mailto:nick.allen@onlinehome.de">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;">bzr-email-notifier just scans a directory full of Bazaar branches and<br>
sends any emails for new revisions found in them. The branches have to<br>
be local on the server that bzr-email-notifier is running. However, you<br>
can always branch from a remote location if you want to monitor a remote<br>
branch. If the pull option is turned on in the config file then<br>
bzr-email-notifier will first pull from the parent branch for each branch.<br>
<br>
Nick<br>
<div class="im"><br>
Eric Berry wrote:<br>
> Hi Robert, and Nick.<br>
> Thank you both for the replies. It sounds like this is what I want,<br>
> but could you please send me some more information on how to do this<br>
> exactly?<br>
><br>
> Robert, from my understanding I would need to install the email plugin<br>
> on the server into the $HOME/.bazaar/plugins directory. However, I am<br>
> not the only user who makes use of the repository, and each of us has<br>
> a different user, so I would need to install this into each user's<br>
> directory correct?<br>
><br>
> It's a managed hosting environment and I can't install it into the<br>
> bazaar installation dir.<br>
><br>
> Nick, can you explain a little bit about how the email-notifier works.<br>
> I was looking through the example.conf file and it looks like it<br>
> creates a local working copy for the branches it's watching? Is this<br>
> correct?<br>
><br>
> On Tue, Feb 2, 2010 at 9:45 AM, Nicholas Allen<br>
</div><div><div></div><div class="h5">> <<a href="mailto:nick.allen@onlinehome.de">nick.allen@onlinehome.de</a> <mailto:<a href="mailto:nick.allen@onlinehome.de">nick.allen@onlinehome.de</a>>> wrote:<br>
><br>
> 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>
><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<br>
> 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<br>
> (event<br>
> > based) after someone has pushed changes to the server?<br>
> ><br>
> > How does launchpad do it? Is launchpad using one of these<br>
> 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>
> > <<a href="mailto:nick.allen@onlinehome.de">nick.allen@onlinehome.de</a> <mailto:<a href="mailto:nick.allen@onlinehome.de">nick.allen@onlinehome.de</a>><br>
> <mailto:<a href="mailto:nick.allen@onlinehome.de">nick.allen@onlinehome.de</a><br>
> <mailto:<a href="mailto:nick.allen@onlinehome.de">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>
> ><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<br>
> email<br>
> > > notifications from the server. Is this correct, is the current<br>
> > > recommended way to have each developer install and<br>
> 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>
><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">http://www.townsfolkdesigns.com/blogs/elberry</a><br>