Buildbot 0.8 breaks buildbot status page.
|Reported by:||David.Byrne@…||Owned by:||etienne|
Description (last modified by rjollos)
I've upgraded my buildbot install to the latest (0.8). I had to make a change on line 87 from:
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:
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:
answer = (builder_name, build.getNumber(), build_end, branch, revision, Results[build.getResults()], build.getText(), )
answer = (builder_name, build.getNumber(), build_start, build_end, branch, revision, Results[build.getResults()], result, reasons, )
By adding the build_start as the new  position, it moved the Results from the  to the  position.