﻿id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
7229	Buildbot 0.8 breaks buildbot status page.	David.Byrne@…	Etienne PIERRE	"I've upgraded my buildbot install to the latest (0.8).  I had to make a change on line 87 from:
{{{#!python
laststatus=lastbuild[5]
}}}
to:
{{{#!python
laststatus=lastbuild[6]
}}}

This would only work with buildbot 0.8.  What might be best is to include a configuration option so that this could be updated more easily.  Maybe something like:

{{{#!python
def get_status_location(self):
    status_offset=self.config.get(""buildbot"", ""status_pos"")
    if status_offset:
        try:
            return int(status_offset)
        except ValueError:
            return 5
    else:
        return 5
}}}

and then using this to find the status instead of hard-coding 5 or 6 on line 87.

The buildbot team changed the xmlrpc interface to set the return from:
{{{#!python
answer = (builder_name,
          build.getNumber(),
          build_end,
          branch,
          revision,
          Results[build.getResults()],
          build.getText(),
          )
}}}
to:
{{{#!python
answer = (builder_name,
          build.getNumber(),
          build_start,
          build_end,
          branch,
          revision,
          Results[build.getResults()],
          result,
          reasons,
          )
}}}
By adding the build_start as the new ![2] position, it moved the Results from the ![5] to the ![6] position."	defect	new	high	TracBuildbotIntegration	major				0.12
