[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. 

--
Regards,
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?

 

Try:

categories=["server", "client"]

and

categories=["server"]

categories=["client"]

 

instead.

 

 

_Mark

 

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:
categories="server"
categories="client"

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
viewing

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?

--
Regards,
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
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Buildbot-devel mailing list
Buildbot-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/buildbot-devel

 

-------------- 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