[Buildbot-devel] dynamically updating the step status text in the waterfall?
Dustin J. Mitchell
dustin at zmanda.com
Fri May 16 00:20:31 UTC 2008
The reason behind this is the weird division of process objects from
status objects. A BuildStepStatus object's text is what is displayed
in the waterfall, not the BuildStep. The function
LoggingBuildStep.setStatus updates the step's status with
self.step_status.setText(..). You could do a similar thing within
your buildstep.
Dustin
On Thu, May 15, 2008 at 1:29 PM, Charles Lepple <clepple at gmail.com> wrote:
> Using buildbot 0.7.6, I would like to show the current working
> directory of a long make buildstep in the waterfall.
>
> I have a custom build step that inherits from Compile, and sets up a
> LogObserver.
>
> I am fairly certain that my LogObserver is working properly, since I
> can see the number of directories increasing in the expectations for
> the build.
>
> However, when I override getText for the build step, and append the
> current directory to the results of Compile.getText, it only seems to
> update at the end of the build. (The rest of the time, the status text
> for that step is just the original step.description.)
>
> My code is very similar to what was posted here:
>
> http://blogs.igalia.com/itoral/?p=36
>
> Any ideas on how to debug this? Potential pitfalls?
>
> I have a manhole port enabled, if that helps at all.
>
> thanks,
>
> --
> - Charles Lepple
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
--
Storage Software Engineer
http://www.zmanda.com
More information about the devel
mailing list