On 2 November 2016 at 06:17, Jeremy Huddleston Sequoia wrote:
> I've been having a bit of difficulty dealing with the new buildbot emails.  I 
> would really like links to the individual failing jobs.  Instead, we're given 
> links to each job and a list of failed ports, but there is no indication as 
> to which port corresponds to which job.  One must look thorough each link to 
> find the relevant one.
> Could we get those links added to the 'Broken ports' section?

Sure. We gladly accept patches :) :) :)

OK, joke aside. I wrote the part of the code that generates the
emails, but I did not manage to figure out how to map the build
number/url to a port. Buildbot nine is apparently more clever about
that and there it should apparently be more straightforward to do it,
but many are reluctant to switch just yet.

There are several ways to fix this:

- hack into Python code (most elegant, but I did not have any success
with that yet)

- I once tried to fetch the contents of json files for individual
builds and parse it, but that crashed/froze the buildbot (it might be
that I wrote buggy code, but that approach is super ugly anyway)

- probably the easiest workaround would be to print the URL or the
build number to
which would make it easier to map the URLs to ports.

Somewhat related tickets:

macports-dev mailing list

Reply via email to