[Buildbot-devel] Some good tutorials about running BB on a mac?

Fulvio Cervone fcervone at me.com
Mon Jan 17 19:43:38 UTC 2011

On Jan 14, 2011, at 4:06 PM, Alex Escott wrote:

> I'm new to buildbot (just got it running in my win7 & linux environment), but I'll give these a shot... comments below 
> Buildbot uses python. Installing it is no different than installing python modules on the system... I haven't done it on OSX but I now Darwin has excellent support for python, so  install, configure, etc. should be no problem (and pretty much the same as other *nix platforms).<<<<<

Indeed was pretty straight forward; I was looking for a way to tell the installer to just move everything in /etc but seems that it does it anyway :)

>>>>>> Once you get it setup (just follow the docs on installation, they're excellent, it took me about 1 hour in total on win7 to get it properly installed), it's all the master.cfg setup file. You can actually google master.cfg and get some example setups, or ask here and maybe someone will provide theirs as an example.<<<<

Working on that right now; i guess that the trick is to get on and checkconfig first of all, and then tweak being sure that you don't change too many things at once....then restart and if it works is a plus, otherwise just get back to the previous config file and check the instruction that was added earlier....is kinda time consuming and more cumbersome than configuring something like apache for example, but it is starting to make a little bit of sense  :)

>>>>>> Very easy. Again, all in master.cfg and the installation instructions. I tested my buildbot locally by running master and slave on the same machine.

WIP, master and slave on the same machine seems to be easier to achieve; then if the situation calls for it, i will try with 2 different machines.

>>>>>> The waterfall page is a template. You can customize it, I added some extra info into ours already. For more advanced stuff you'll need to know jinja I think? Stepping beyond my knowledge here<<<

Not very CSS or web design savy :) checking various tutorials around to learn what parameters influence the visual, then gotta figure out how to tell BB which fields i want and how they should be arranged. Really missing something visual :)

> -understand how to modify the emails (i would like to have a custom email when a build fail, so all the other teammates are aware of it, and in particular the person that broke the build)
>>>>>> When you create a MailNotifier status object, you can give it a function (messageFormatter=) to create a custom message. It gets called by buildbot with a bunch of objects (build, result, change, etc.) and you create your subject & body in html or plain format and pass it back.<<<<<<

This is another WIP since the parameters to set are many; I was hoping in something like a few variables, add a string and replace the placeholders with the value of the variables...gotta check how Python does that

>>>>>> Really don't understand this one... <<<<<<

Basically build A, then B needs A to build....if A fails means that the one that is broken is not necessarily B, but I still get a failure in the BB results page like if B would fail; trying to find a way to say "hey, A failed but B built fine with the A build from yesterday, so tell the guys that made A that they are doing something wrong" :)

>>>>>> Developers can customize what builders appear on the waterfall page - at the bottom, there is a "waterfall help" link. You can select which builders will be shown.<<<<<

Will start with that as soon as i get on the formatting part

>>>>>> The docs are really good - but of course you have to know what you're looking for. I guess try this list, and prob most importantly get some example .cfg files, that was the most useful to me... good luck......<<<<<

I am having some problems with the docs, since they are in the middle between an API documentation and a manual that shows you how to do something; If they would make it in a way that you can follow instructions from A to Z and then have some pre-made configurations (because in the end many of us will use a standard config and tweak it as they go), that would help to get a BB up and running, then the second part of the manual could add a list of the various parameters that you can use, with some simple examples.....but seems that the docs are far from this format at the moment (they are still useful thou; just is time consuming to get trough them and achieve what you wanna achieve)

Thanks a lot!


> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> 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/20110117/127b9a2e/attachment.html>

More information about the devel mailing list