[Buildbot-devel] darcs revisions

Ian Zimmerman itz at buug.org
Fri Jul 15 06:55:12 UTC 2011

On Fri, 15 Jul 2011 09:41:12 +0300
Dmitry Nezhevenko <dion at dion.org.ua> wrote:

Dmitry> got_revision is calculated on "slave". Then this info is
Dmitry> transfered to master. As about darcs, it looks like followed
Dmitry> code is used:


Thanks for your reply.

If this is slave behavior, how can I adjust it without actually changing
buildbot code?  I was hoping to define a subclass of something (anything)
in my master.cfg.  Was that too much to expect?

Dmitry> But before changing it to return some "date" instead of real
Dmitry> info, please also take a look to doVCFull() method in same
Dmitry> file. Info that you will return as revision may be passed to
Dmitry> doVCFull in future (for example rebuild action).

Dmitry> So you'll need to tweak it too. Then you'll probably need to
Dmitry> tweak changesource to generate some style of rev. id...

I will look at the code, but as I wrote I very much doubt that the
string returned as got_revision can be used to reset the source to the
same state.  And I only use a web change hook as a change source, and
the push script doesn't pass a revision anyway (for the same reasons),
so I won't be any worse off there.

Ian Zimmerman
gpg public key: 1024D/C6FF61AD
fingerprint: 66DC D68F 5C1B 4D71 2EE5  BD03 8A00 786C C6FF 61AD
Rule 420: All persons more than eight miles high to leave the court.

More information about the devel mailing list