#2397: Update Status Targets documentation to change getSourceStamp to
getSourceStamps
----------------------+-----------------------
Reporter: hushp1pt | Owner:
Type: undecided | Status: new
Priority: minor | Milestone: undecided
Version: 0.8.7 | Keywords:
----------------------+-----------------------
Documentation says to use getSourceStamp():
Source information (only valid if ss is not None)
ss = build.getSourceStamp()
if ss:
branch = ss.branch
revision = ss.revision
patch = ss.patch
changes = ss.changes # list
...
def html_message_formatter(mode, name, build, results, master_status):
"""Provide a customized message to Buildbot's MailNotifier.
The last 80 lines of the log are provided as well as the changes
relevant to the build. Message content is formatted as html.
"""
...
ss = build.getSourceStamp()
However, as of the latest on branch 0.8.7,
File "/home/hushp1pt/buildbot/gerrit-verify/util.py", line 53,
in MessageFormatter
ss = build.getSourceStamp()
exceptions.AttributeError: BuildStatus instance has no attribute
'getSourceStamp'
--
Ticket URL: <http://trac.buildbot.net/ticket/2397>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits