"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "buildbot/reporters/generators/build.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.

build.py  (buildbot-3.0.2):build.py  (buildbot-3.1.0)
skipping to change at line 67 skipping to change at line 67
wantProperties=self.formatter.wantPropert ies, wantProperties=self.formatter.wantPropert ies,
wantSteps=self.formatter.wantSteps, wantSteps=self.formatter.wantSteps,
wantPreviousBuild=want_previous_build, wantPreviousBuild=want_previous_build,
wantLogs=self.formatter.wantLogs) wantLogs=self.formatter.wantLogs)
if not self.is_message_needed_by_props(build): if not self.is_message_needed_by_props(build):
return None return None
if not is_new and not self.is_message_needed_by_results(build): if not is_new and not self.is_message_needed_by_results(build):
return None return None
report = yield self.build_message(self.formatter, master, reporter, report = yield self.build_message(self.formatter, master, reporter, buil
build['builder']['name'], [build], d)
build['results'])
return report return report
def _want_previous_build(self): def _want_previous_build(self):
return "change" in self.mode or "problem" in self.mode return "change" in self.mode or "problem" in self.mode
@implementer(interfaces.IReportGenerator) @implementer(interfaces.IReportGenerator)
class BuildStartEndStatusGenerator(BuildStatusGeneratorMixin): class BuildStartEndStatusGenerator(BuildStatusGeneratorMixin):
wanted_event_keys = [ wanted_event_keys = [
('builds', None, 'new'), ('builds', None, 'new'),
skipping to change at line 111 skipping to change at line 109
formatter = self.start_formatter if is_new else self.end_formatter formatter = self.start_formatter if is_new else self.end_formatter
yield utils.getDetailsForBuild(master, build, yield utils.getDetailsForBuild(master, build,
wantProperties=formatter.wantProperties, wantProperties=formatter.wantProperties,
wantSteps=formatter.wantSteps, wantSteps=formatter.wantSteps,
wantLogs=formatter.wantLogs) wantLogs=formatter.wantLogs)
if not self.is_message_needed_by_props(build): if not self.is_message_needed_by_props(build):
return None return None
report = yield self.build_message(formatter, master, reporter, build['bu report = yield self.build_message(formatter, master, reporter, build)
ilder']['name'],
[build], build['results'])
return report return report
 End of changes. 2 change blocks. 
6 lines changed or deleted 3 lines changed or added

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