[Buildbot-devel] Categories in WebStatus
Aaron_Hsieh at PlayStation.Sony.Com
Aaron_Hsieh at PlayStation.Sony.Com
Mon Oct 1 21:43:11 UTC 2007
Well, when you put it that way, I just went ahead and did it myself. Here
are the contents of my patch file with my changes if anybody else is
interested:
--- baseweb.py 2007-10-01 12:25:45.000000000 -0700
+++ baseweb.py 2007-10-01 12:25:40.000000000 -0700
@@ -313,7 +313,7 @@
# not (we'd have to do a recursive traversal of all children to
discover
# all the changes).
- def __init__(self, http_port=None, distrib_port=None,
allowForce=False):
+ def __init__(self, http_port=None, distrib_port=None,
categories=None, allowForce=False):
"""Run a web server that provides Buildbot status.
@type http_port: int or L{twisted.application.strports} string
@@ -361,6 +361,7 @@
distrib_port = "unix:%s" % distrib_port
self.distrib_port = distrib_port
self.allowForce = allowForce
+ self.categories = categories
# this will be replaced once we've been attached to a parent (and
# thus have a basedir and can reference BASEDIR/public_html/)
@@ -393,7 +394,7 @@
def setupUsualPages(self):
#self.putChild("", IndexOrWaterfallRedirection())
- self.putChild("waterfall", WaterfallStatusResource())
+ self.putChild("waterfall",
WaterfallStatusResource(self.categories))
self.putChild("builders", BuildersResource()) # has
builds/steps/logs
self.putChild("changes", ChangesResource())
self.putChild("buildslaves", BuildSlavesResource())
Aaron Hsieh
"Dustin J. Mitchell" <dustin at zmanda.com>
Sent by: djmitche at gmail.com
10/01/2007 12:07 PM
To
Aaron Hsieh/R&D/SCEA at PLAYSTATION
cc
buildbot-devel at lists.sourceforge.net
Subject
Re: [Buildbot-devel] Categories in WebStatus
Aaron -- this would be relatively easy to add. If you don't have a
chance, I'll see if I can find some time in the next few days.
Dustin
On 10/1/07, Aaron_Hsieh at playstation.sony.com
<Aaron_Hsieh at playstation.sony.com> wrote:
> I just downloaded and installed buildbot 0.7.6 and I'll have to say that
I
> like how it's looking. One thing that I have questions about with the
new
> WebStatus is about the 'categories' argument. Does WebStatus take that
> argument anymore? I used to use it a lot for Waterfall in 0.7.5 because
> there were certain builders that I wanted tied in with certain
buildmasters
> that I didn't want developers to see, possibly because they were still
under
> test or what have you. Is there a better way other than using the
> 'builders' parameter and listing every single builder that's attached to
the
> buildmaster except for the one I want to test?
Dustin
--
Storage Software Engineer
http://www.zmanda.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20071001/669d8aaa/attachment.html>
More information about the devel
mailing list