"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "buildbot/reporters/utils.py" between
buildbot-3.0.2.tar.gz and buildbot-3.1.0.tar.gz

About: Buildbot is a continuous integration testing framework (Python-based). It supports also automation of complex build systems, application deployment, and management of sophisticated software-release processes.

utils.py  (buildbot-3.0.2):utils.py  (buildbot-3.1.0)
skipping to change at line 87 skipping to change at line 87
parentbuilder = yield master.data.get(("builders", parentbuild['builderi d'])) parentbuilder = yield master.data.get(("builders", parentbuild['builderi d']))
build['parentbuild'] = parentbuild build['parentbuild'] = parentbuild
build['parentbuilder'] = parentbuilder build['parentbuilder'] = parentbuilder
ret = yield getDetailsForBuilds(master, buildset, [build], ret = yield getDetailsForBuilds(master, buildset, [build],
wantProperties=wantProperties, wantSteps=wan tSteps, wantProperties=wantProperties, wantSteps=wan tSteps,
wantPreviousBuild=wantPreviousBuild, wantLog s=wantLogs) wantPreviousBuild=wantPreviousBuild, wantLog s=wantLogs)
return ret return ret
@defer.inlineCallbacks @defer.inlineCallbacks
def get_details_for_buildrequest(master, buildrequest, build):
buildset = yield master.data.get(("buildsets", buildrequest['buildsetid']))
builder = yield master.data.get(("builders", buildrequest['builderid']))
build['buildrequest'] = buildrequest
build['buildset'] = buildset
build['builderid'] = buildrequest['builderid']
build['builder'] = builder
build['url'] = getURLForBuildrequest(master, buildrequest['buildrequestid'])
build['results'] = None
build['complete'] = False
@defer.inlineCallbacks
def getDetailsForBuilds(master, buildset, builds, wantProperties=False, wantStep s=False, def getDetailsForBuilds(master, buildset, builds, wantProperties=False, wantStep s=False,
wantPreviousBuild=False, wantLogs=False): wantPreviousBuild=False, wantLogs=False):
builderids = {build['builderid'] for build in builds} builderids = {build['builderid'] for build in builds}
builders = yield defer.gatherResults([master.data.get(("builders", _id)) builders = yield defer.gatherResults([master.data.get(("builders", _id))
for _id in builderids]) for _id in builderids])
buildersbyid = {builder['builderid']: builder buildersbyid = {builder['builderid']: builder
for builder in builders} for builder in builders}
 End of changes. 1 change blocks. 
0 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)