monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: Triggers


From: Koen Kooi
Subject: [Monotone-devel] Re: Triggers
Date: Thu, 13 Jul 2006 19:26:52 +0200
User-agent: Thunderbird 1.5.0.4 (Macintosh/20060530)

-----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-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]