[Buildbot-devel] errors after upgrading 0.7.4 -> 0.7.6

Timothee Besset ttimo at idsoftware.com
Fri Nov 16 21:05:12 UTC 2007


Benoit Sigoure wrote:
> On Nov 16, 2007, at 9:13 PM, Timothee Besset wrote:
>
>> I upgraded my bbot install to 0.7.6 and restarted my masters:
>>
>> First had to figure out that I needed to copy the new public_html/
>> directory. There should be an 'upgrading' section somewhere mentioning
>> that kind of stuff.
>
> Hi Timothee,
> I went through this update (0.7.4 -> 0.7.6) last week or so, so here
> is what you need to do:
>
>   - The build steps have moved, they used to be under
> buildbot.process.step and are now under buildbot.steps.<category>. 
> Most of the time, doing `from buildbot.steps import shell as step'
> will solve most of the problems except for the VC-checkout step (if
> you use SVN, do `from buildbot.steps import source as scm' and then
> use `scm.SVN' instead of `step.SVN')
>   - Change `c['sources']' to `c['change_source']'
>   - Change `c['bots']' to `c['slaves']' and change the value
> associated to this key (it used to be a couple `('bot-name',
> 'passwd')' whereas now it must be a BuildSlave instance.  So
> basically, you must now use `BuildSlave('bot-name', 'passwd')' instead)
>   - In c['status'], use a `html.WebStatus' instance instead of a
> `html.Waterfall'.  This new class doesn't accept a `css' argument but
> you can tweak the `buildbot.css' under the `public_html' directory)
>
> In order to create the `public_html' directory and check your
> configuration, you should run `buildbot upgrade-master
> <master-directory>'.
>
Thank you for this very useful information. I don't understand why this
is not in a more prominent place on the website, as those are non
trivial changes (although everything seems to be fairly backwards
compatible, I had the waterfall running fine with my old config already).

Sadly, the upgrade didn't fix the problem I am tracking, so I'm going to
write a seperate email about that now.

TTimo





More information about the devel mailing list