[Buildbot-devel] Is that possible to add more Build Properties.

Brian Warner warner-buildbot at lothar.com
Sat Jun 3 18:01:51 UTC 2006


> I would suggest the commiter login or identifier, as well as the set of
> files affected.

So both of those are lists instead of single values, which raises the
question of how to represent them in a useful way. Space-separated?
Comma-separated? Maybe a flag to WithProperties(), something like
WithProperties("echo files are %(files)s", separator=" ").

It would be nice to be able to use some kind of printf-format modifier to
indicate what the joining character ought to be, something like "%0,(files)s"
or something, but that would involve an insane amount of surgery to
implement.

Also, we've got the general issue of what format the "who" entries are in.
I've been running into this personally since I moved the metabuildbot backend
to watch Darcs instead of CVS.. now the "who" field is a full email address
instead of just a short "warner". I'm thinking that we should define who= to
be parsed the same way as you would an email address, and then provide some
mechanism for abbreviating them when necessary (kind of the inverse of the
MailNotifier's lookup= argument). If we do this, then WithProperties() could
have two separate properties: %(who_full)s for the full names, and %(who)s
for the abbreviated names.

 -Brian





More information about the devel mailing list