> bzr 1.5 has the server side post commit hook if I remember correctly. > I don't have a script pre-canned to do commit mails, but I believe
OK, this is WIP. > > > The script I referenced polls on the server side, and sends emails > > when > > > it sees a change has occured. > > > > > > bzr branch lp:bzr-hookless-email will get you the code for it. > > > > Is there a solution that work for several projects? We're talking > > mass-hosting here, so we can't run hundreds of instances of this hook. > > Alioth is running that script, and they run hundreds of instances I > believe without special hooks. Alioth provides local shell access to people for doing what they want, which involves a different security setup. We don't. >From the alioth helper script it seems that each project has to setup a local cron job that runs the wrapper on a regular basis (not as a daemon instance). I was hoping for something more simple to setup sitewide, but we'll stick with this. > If you have a custom sftp sandbox, you > could trigger it at the end of an SFTP session and that should be > lightweight enough to scale to tens of thousands of projects. No, this is a shared SFTP setup for Arch, download and bzr. -- Sylvain
