-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Daniel Carosone schreef: > On Thu, Jul 13, 2006 at 10:07:35AM +0200, Koen Kooi wrote: >>>> Do you want it done by crontab or through note_netsync_end()? >>> Crontab, I'd think, or even a 'while sleep 600; ...' script run under >>> daemontools supervision :-). (This is how the CIA script works now, >>> to avoid crontab obnoxiousness.) Rather not couple the server and >>> website that closely... >> Does monotone provide functionality for triggers? I'd like to have >> cia notified immediately when a rev hits the 'main' server and do >> 'make xhtml && cp xhtml/* /path/to/website/docs/' when a rev hits >> the org.openembedded.documentation branch. > > The note_* hooks Richard was talking about are exactly these kinds of > triggers. > > An important point about these triggers is that you don't want to do > much work directly inside of them, and that of course they run in > the user context of the server.
Right now that isn't a problem, the the server runs under the same account as all the other stuff needs to be. I get the idea that the current ciabot trigger is a bit overengineered and fragiles, but I might be biased by my general dislike of python[1]. regards, Koen [1] @^#&*^$@ indenting... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEtoJcMkyGM64RGpERAsXgAJ9ropVJ6gEGnjLEC55cxyWc6qjl1QCeJjpj s4LVBa6jB+Pb07a4ZljyJ5M= =NrRU -----END PGP SIGNATURE----- _______________________________________________ Monotone-devel mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel