[Buildbot-devel] Ready for 0.8.4?

Dustin J. Mitchell dustin at v.igoro.us
Tue May 31 20:19:33 UTC 2011


On Tue, May 31, 2011 at 10:59 AM, Pierre Tardy <tardyp at gmail.com> wrote:
> I needed to hack this:
> diff --git a/master/buildbot/scripts/runner.py
> b/master/buildbot/scripts/runner.py
> index 5d4013c..9640927 100644
> --- a/master/buildbot/scripts/runner.py
> +++ b/master/buildbot/scripts/runner.py
> @@ -483,9 +483,10 @@ def upgradeMaster(config):
>
>      if rc == 0:
>          from buildbot.db import connector
> +        from buildbot.master import BuildMaster
>
>          if not config['quiet']: print "upgrading database"
> -        db = connector.DBConnector(None,
> +        db = connector.DBConnector(BuildMaster(config['basedir']),
>                              config['db'],
>                              basedir=config['basedir'])

Thanks - I committed essentially that.  Looking forward to the rest of
the fixes!

Dustin




More information about the devel mailing list