[users at bb.net] Adding Build Changelog to email notifications?
Yngve N. Pettersen
yngve at vivaldi.com
Sat Feb 23 21:13:12 UTC 2019
Actually did something like that, using a hot patch override of the
original function (I try to avoid forking the bot code, but did have to do
that with the www_base code, not planning to do that with the whole code).
However, I at least had some problems using the "files" values from the
data in the template, and when I disabled that part of the template I got
an exception somewhere else (in code I did not touch, at least directly)
File "buildbot/reporters/notifier.py", line 188, in
File "buildbot/reporters/notifier.py", line 197, in
builder = build['builder']
It could be that the way I implemented by task broke something, but AFAICT
my code esssentially did the same as the main code (if in a different way,
and as a separate step).
At present I have had to back out all the mail related changes I did.
On Fri, 22 Feb 2019 10:20:36 +0100, Pierre Tardy <tardyp at gmail.com> wrote:
> The list of changes nowadays is available via *path: *
> which is also available via data api, so you can submit a PR with
> like this:
> if wantChanges:
> buildchanges = yield defer.gatherResults(
> [master.data.get(("builds", build['buildid'], 'changes'))
> for build in builds])
> On Wed, Feb 20, 2019 at 6:39 PM Yngve N. Pettersen <yngve at vivaldi.com>
>> I am in the process of deploying a new autobuilder based on Buildbot
>> v2.0.0, and currently one of the few missing features of the system
>> compared to the old is that the changelog entires for the build are
>> We have this in email notifications from our current system, based on
>> Chromium's buildbot 0.8.4ish, although that was a customization of the
>> buildbot code.
>> Based on what I can see there is no way to retrieve those data from the
>> email template, and AFAICT the
>> master.buildbot.reporters.utils.getDetailsForBuilds function does not
>> extract that information.
>> Am I missing something, or is the list of changes missing?
>> Yngve N. Pettersen
>> Vivaldi Technologies AS
>> users mailing list
>> users at buildbot.net
Yngve N. Pettersen
Vivaldi Technologies AS
More information about the users