[Buildbot-devel] Overriding StepBox
johnny.c.sparkles at gmail.com
Tue Jul 27 04:01:36 UTC 2010
I'd like to over-ride the StepBox implementation found in
status/web/waterfall.py with my own StepBox. Let's call it R_StepBox. I
don't like how the step box displays EVERY single log that is added for a
step to the step box and would like to display only a link to a summary page
which has a nice table with all the logs in it.
I've written R_StepBox and attempted to add it to the components by calling
components.registerAdapter(R_StepBox, builder.BuildStepStatus, IBox).
unfortunately I get
"exceptions.ValueError: an adapter (buildbot.status.web.waterfall.StepBox)
was already registered."
when I attempt to register the new step box. Is there a way I can
un-register the existing StepBox? Or is there another way I can stop the
StepBox from displaying all the logs inside the step status?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel