Dustin J. Mitchell | 11 Mar 2010 08:00
Favicon
Gravatar

Beta is out!

I promised Chris I'd have a beta out on Wednesday, and it's still
technically Wednesday on the Pacific coast of the US.

The first beta is tagged at
  http://github.com/djmitche/buildbot/tree/v0.8.0beta1
  http://github.com/djmitche/buildbot/tarball/v0.8.0beta1
  http://github.com/djmitche/buildbot/zipball/v0.8.0beta1

And testing would be *very* much appreciated!  Please file bugs for
any problems you find, marked with version 0.8.0.  However, a big
caution is in order:  WARNING: there is no support for downgrading
from 0.8.0 to 0.7.x!  Do not upgrade a production buildmaster if you
are not prepared to ride out the bugs you encounter!

After installing the new version, you will need to run 'buildbot
upgrade-master' to migrate your Changes into the new database.

New features in this release:
 - uses an SQLite database to store change information
 - Jinja templates
 - Support for multiple projects in one buildmaster
 - most tests no longer run automatically - we're starting over with
working, isolated tests.
 - reorganized documentation
(http://djmitche.github.com/buildbot/docs/0.8.0beta1)

The first of those changes affected a *lot* of code, and likely
introduced some bugs we haven't found yet.  Please tease those out
with us!

(Continue reading)

Benoît Allard | 11 Mar 2010 17:39
Picon

Re: Beta is out!


Dustin J. Mitchell wrote:
> I promised Chris I'd have a beta out on Wednesday, and it's still
> technically Wednesday on the Pacific coast of the US.

Big up to you on successfully coordinating this  !

> 
> The first beta is tagged at
>   http://github.com/djmitche/buildbot/tree/v0.8.0beta1
>   http://github.com/djmitche/buildbot/tarball/v0.8.0beta1
>   http://github.com/djmitche/buildbot/zipball/v0.8.0beta1

I have trouble getting those archive ... after being redirected 3 time, 
wget finally download an empty file ... Can someone post one of them 
somewhere ?

> 
> And testing would be *very* much appreciated!  Please file bugs for
> any problems you find, marked with version 0.8.0.  However, a big
> caution is in order:  WARNING: there is no support for downgrading
> from 0.8.0 to 0.7.x!  Do not upgrade a production buildmaster if you
> are not prepared to ride out the bugs you encounter!
> 
> After installing the new version, you will need to run 'buildbot
> upgrade-master' to migrate your Changes into the new database.

And probably add a c['db_url'] to your config file, right ?

Regards
(Continue reading)

Dustin J. Mitchell | 11 Mar 2010 18:17
Favicon
Gravatar

Re: Beta is out!

2010/3/11 Benoît Allard <benoit <at> aeteurope.nl>:
> I have trouble getting those archive ... after being redirected 3 time, wget
> finally download an empty file ... Can someone post one of them somewhere ?

Hmm, I filed a github bug for that, but in the interim:
  http://djmitche.s3.amazonaws.com/buildbot-0.8.0beta1.tar.gz

Dustin

--

-- 
Open Source Storage Engineer
http://www.zmanda.com

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Buildbot-devel mailing list
Buildbot-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/buildbot-devel
Jean-Michel Beuken | 22 Mar 2010 21:38
Picon
Favicon

Jinja templates

Hello,

on my production environment (bb 0.7.12, tw 8.2.0),
I use this useful code, found in the net,  to show elapsed time for each 
steps in waterfall :

-------------------------------------------------------------------
####### OUTPUT TWEAKING
from twisted.python import components
from buildbot.status.web import waterfall
from buildbot.status.web.base import IBox
from buildbot.status import builder

class StepBox(waterfall.StepBox):
    def getBox(self, req):
        box = waterfall.StepBox.getBox(self, req)
[...]
        box.text.append('<span class="duration">%s</span>' % duration)
        return box
-------------------------------------------------------------------

Now, I have recently installed  the new version of buildbot on a test 
machine :

Version Information
    Buildbot: latest
    Twisted: 10.0.0
    Jinja: 2.3.1
    Python: 2.6.5 (r265:79063, Mar 22 2010, 00:27:11) [GCC 4.1.2 
20080704 (Red Hat 4.1.2-46)]
(Continue reading)

Marcus Lindblom | 23 Mar 2010 10:26
Picon
Gravatar

Re: Jinja templates

On 2010-03-22 21:38, Jean-Michel Beuken wrote:
> Hello,
>
> on my production environment (bb 0.7.12, tw 8.2.0),
> I use this useful code, found in the net,  to show elapsed time for each
> steps in waterfall :
>
> -------------------------------------------------------------------
> ####### OUTPUT TWEAKING
> from twisted.python import components
> from buildbot.status.web import waterfall
> from buildbot.status.web.base import IBox
> from buildbot.status import builder
>
> class StepBox(waterfall.StepBox):
>      def getBox(self, req):
>          box = waterfall.StepBox.getBox(self, req)
> [...]
>          box.text.append('<span class="duration">%s</span>' % duration)
>          return box
> -------------------------------------------------------------------
>
> Now, I have recently installed  the new version of buildbot on a test
> machine :
>
> Version Information
>      Buildbot: latest
>      Twisted: 10.0.0
>      Jinja: 2.3.1
>      Python: 2.6.5 (r265:79063, Mar 22 2010, 00:27:11) [GCC 4.1.2
(Continue reading)

Jean-Michel Beuken | 23 Mar 2010 18:34
Picon
Favicon

Re: Jinja templates

Hello Marcus
>> obviously, this code doesn't work : "<type 'exceptions.AttributeError'>:
>> 'unicode' object has no attribute 'append'"
>>     
> Apart from figuring out where it goes wrong deep inside the Waterfall 
> code, you could try just to add your text with a <br> in front of it:
>
>   box.text += u'<br/><span class="duration">%s</span>' % duration
>   
thank you ! 

it works...

regards

jmb

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

Gmane