[Buildbot-devel] status categories

Bailey, Darragh dbailey at hp.com
Thu Feb 15 18:17:47 UTC 2007


That was indeed the problem, and well caught since I didn't even write
it out correctly. Once I changed to passing in the parameters as lists
it worked fine.


Problem appears to be in the buildbot.status.builder module. The method
getBuilderNames(self, categories=None) in the status class loops through
all the builders and checks to see if their category is in categories
parameter passed. Since strings are also sequence types the expression
"if category in categories:" is perfectly valid, but where you've
accidentally used a string instead of a list, it will match substrings
as well. 

Darragh Bailey

Systems Software Engineer
Hewlett Packard Galway Ltd.
+353 91 75-4674


From: Mark Pauley [mailto:mpauley at apple.com] 
Sent: 14 February 2007 18:17
To: Bailey, Darragh
Cc: Buildbot-devel at lists.sourceforge.net
Subject: Re: [Buildbot-devel] status categories


Are you possibly getting your knickers in a twist type-wise?



categories=["server", "client"]










On Feb 14, 2007, at 8:02 AM, Bailey, Darragh wrote:

I've setup all my builds to use categories so that I could have
different status waterfall pages. However I've noticed that if you have
a category such as servers and another such as clients and you create a
status page that display's both. Status pages that are create just to
display one or the other will still display both.

Is this a known bug or am I just specifying the categories incorrectly
to the waterfall constructor?

Where I want to display more than one category I've passed it in as

categories=["server", "client"]

But then specifying the following in other separate waterfall entries
doesn't work:

They still end up displaying everything.

What I was hoping to do is since I have 3 distinct groups of builds and
3 different branches was to have multiple status pages to allow easy

For each branch have the following
  Server builds page
  Client builds page
  Other builds page

Then also have 4 additional pages at the end

All - all builds on all branches
All_servers - all the server builds on each of the branches
All_clients - all the client builds on each of the branches
All_other - etc.

Is this possible?

Darragh Bailey

Systems Software Engineer
Hewlett Packard Galway Ltd.
+353 91 75-4674

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
opinions on IT & business topics through brief surveys-and earn cash
Buildbot-devel mailing list
Buildbot-devel at lists.sourceforge.net


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20070215/0b83c01c/attachment.html>

More information about the devel mailing list