[Buildbot-devel] Hot to get keepalives from FreshCVS?

Brian Warner warner-buildbot at lothar.com
Thu Jun 9 23:38:12 UTC 2005


> Anyone know how to get FreshCVS to send keepalives?

Nope, but if your CVS server can get to your buildmaster, it may be useful to
set up a commit script that sends notifications in the other direction
instead. buildbot-0.6.6 has a 'buildbot sendchange' subcommand which may be
useful for this purpose. Eventually I want to make a 'buildbot sendchange
cvs' subsubcommand which has all the environment-variable-parsing support
script stuff builtin.. that way you could just drop it into 'loginfo' and be
done with it.

If you use this approach, you'll get a separate Change (and separate TCP
connection) for each directory touched by the commit. One of the clever
things that FreshCVS does for you is to merge related commits, but this is
kinda outside the scope of your usual loginfo script. The extra Changes
aren't really a problem in practice, though, they all show up at the same
time, so they're all merged into the same Build.

cheers,
 -Brian




More information about the devel mailing list