[Buildbot-commits] [SPAM] Re: [Buildbot] #695: Improve mail notifier
Buildbot
buildbot-devel at lists.sourceforge.net
Tue Feb 2 15:25:44 UTC 2010
#695: Improve mail notifier
----------------------------+-----------------------------------------------
Reporter: jocelyn | Owner:
Type: support-request | Status: new
Priority: major | Milestone: undecided
Version: 0.7.11 | Resolution:
Keywords: mail notifier |
----------------------------+-----------------------------------------------
Comment(by dustin):
It's a variant on Python's {{{reduce}}} that can sum (or multiply,
concatenate, or whatever) a particular attribute of all steps in a build.
{{{
def getSummaryStatistic(self, name, summary_fn,
initial_value=_sentinel):
"""Summarize the named statistic over all steps in which it
exists, using combination_fn and initial_value to combine multiple
results into a single result. This translates to a call to
Python's
X{reduce}::
return reduce(summary_fn, step_stats_list, initial_value)
"""
}}}
--
Ticket URL: <http://buildbot.net/trac/ticket/695#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list