[Buildbot-devel] longer waterfall

Alexander Lorenz lorenz at testingtech.de
Tue Aug 8 08:02:10 UTC 2006


thanks a lot brian, you're a doll! ;)


regards

alex



Brian Warner wrote:
>>> can i configure there lenght of the waterfall display somewhere?
>>> since a lot happens on our buildbot system, the displayed building 
>>> period has gotten rather short with the standard value.
>>>       
>
> Take a look at buildbot/status/html.py, around line 1252 (in the
> WaterfallStatusResource.buildGrid method). There are a pair of variable
> settings:
>
>         tooOld = util.now() - 12*60*60 # never show more than 12 hours
>         maxPageLen = 200
>
> Just increase those numbers. The 12*60*60 is a number of seconds before the
> present. The maxPageLen is a count of timestamps (equivalent to the number of
> boxes in the left-most column). The display is generated starting with the
> latest event and working backwards, and it stops once you've gone past either
> of these limits.
>
> Another option is to increase spanLength, which is the number of seconds that
> are covered by any given timestamp box. This might help if you have a lot of
> events happening fairly quickly, at the expense of coarser-resolution
> timestamps, of course.
>
> I'll see if I can get in a patch that makes these configurable through a
> query argument.. that would let you up the numbers just by changing the URL.
> Another feature I'd like to add is the ability to scroll backwards (i.e. have
> the top of the display be at some time other than the present), but that's
> more complicated to put in.
>
> cheers,
>  -Brian
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20060808/8da1be82/attachment.html>


More information about the devel mailing list