#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
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits