<div dir="ltr">So your use case is the builder page.<div>the builder page is indeed displaying the owner property, and it would indeed make sense that it worked better.</div><div><br></div><div>'owners' property is built from multiple source and is the correct one to use</div><div><a href="https://github.com/buildbot/buildbot/blob/8efebda8d217ff88d578c8b3c0d597a276490baa/master/buildbot/process/build.py#L463">https://github.com/buildbot/buildbot/blob/8efebda8d217ff88d578c8b3c0d597a276490baa/master/buildbot/process/build.py#L463</a><br><br>I fixed the builder page for that:</div><div><a href="https://github.com/buildbot/buildbot/pull/4657">https://github.com/buildbot/buildbot/pull/4657</a></div><div><br></div><div>Pierre</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 13, 2019 at 12:26 PM Yngve N. Pettersen <<a href="mailto:yngve@vivaldi.com">yngve@vivaldi.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
The place I am trying to add this is in the call to the  <br>
SingleBranchScheduler constructor (or other similar classes) when setting  <br>
up the schedulers in the master.cfg file.<br>
<br>
The "owner" property is the one mentioned in  <br>
<<a href="http://docs.buildbot.net/current/manual/configuration/schedulers.html#id11" rel="noreferrer" target="_blank">http://docs.buildbot.net/current/manual/configuration/schedulers.html#id11</a>>,  <br>
and it is also AFAICT the one used in /#/builders/1 and similar locations.<br>
<br>
It would not have been any problem if that page (and similar locations)  <br>
had used both owner and owners.<br>
<br>
On Wed, 13 Mar 2019 11:41:22 +0100, Pierre Tardy <<a href="mailto:tardyp@gmail.com" target="_blank">tardyp@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> It depends in which context you want to get this information.<br>
> The information might be in several places. (owner from change? owner  <br>
> from<br>
> force builder, etc)<br>
> There is also indeed the 'owner' property, which was later switch to  <br>
> owners<br>
> so that there can be several owners.<br>
> It is indeed a bit messy, as we try to keep backward compatibility.<br>
><br>
> So we have a utility function which gather all sources of information.<br>
> <a href="https://github.com/buildbot/buildbot/blob/8efebda8d217ff88d578c8b3c0d597a276490baa/master/buildbot/reporters/utils.py#L158" rel="noreferrer" target="_blank">https://github.com/buildbot/buildbot/blob/8efebda8d217ff88d578c8b3c0d597a276490baa/master/buildbot/reporters/utils.py#L158</a><br>
><br>
> Regards<br>
> Pierre<br>
><br>
> On Wed, Mar 13, 2019 at 2:05 AM Yngve N. Pettersen <<a href="mailto:yngve@vivaldi.com" target="_blank">yngve@vivaldi.com</a>><br>
> wrote:<br>
><br>
>> Hi,<br>
>><br>
>> One of the comments I have received from my colleagues (including the<br>
>> CEO)<br>
>> about our new build system is that the information about the builds is<br>
>> missing information about who committed the changes being built.<br>
>><br>
>> This information is available in the "owners" build property, but NOT in<br>
>> the "owner" build property, which is specified by the scheduler.<br>
>><br>
>> The only example in the documentation shows the owner email addresses<br>
>> added as a list. Unfortunately, there is no example for how to add that<br>
>> information from the changes that triggered the scheduler (for  <br>
>> reference:<br>
>> util.Property does not work, "not JSONable").<br>
>><br>
>> So, how do I get that property added for each scheduled build?<br>
>><br>
>> --<br>
>> Sincerely,<br>
>> Yngve N. Pettersen<br>
>> Vivaldi Technologies AS<br>
>> _______________________________________________<br>
>> users mailing list<br>
>> <a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
>> <a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br>
>><br>
> --<br>
<br>
<br>
-- <br>
Sincerely,<br>
Yngve N. Pettersen<br>
Vivaldi Technologies AS<br>
</blockquote></div></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr"><br></p>
</div></div>