[Buildbot-devel] setting the description field for ShellCommand

Brian Warner warner-buildbot at lothar.com
Mon Nov 7 06:35:32 UTC 2005


> This lets me write steps like this in the master.cfg file:
> 
> s(step.DescribedShellCommand,
>                 command = ["cp", "foo/bar/baz/Makefile.foo", "."],
>                 description = ["build", "prep"],
>                 descriptionDone = ["prep done"])

So, um, did you try doing exactly this with the normal step.ShellCommand? I
just tried that and it seems to work just fine. I had assumed there was a bug
in the way it used self.__class__.parms (I can no longer remember why I
didn't use just self.parms), but when I went to run a test, it seems like
there isn't actually a bug there.

What problem did you run into that required the custom subclass?

cheers,
 -Brian




More information about the devel mailing list