GSoC 2019 [Collect build statistics]

Joshua Root jmr at macports.org
Mon Mar 11 09:59:33 UTC 2019


On 2019-3-11 19:18 , Arjun Salyan wrote:
> I have a couple of doubts here:
> 
> 1. Once I install mpstats does it still send weekly reports? I could not
> find the required code to do this in the port files. Code for manually
> submitting is available in mpstats.tcl but I am unable to locate the
> code for automating the submissions. What am I missing here?

The launchd plist it installs causes it to run periodically.

> 2. I am completely new to Buildbot. I went though their website
> buildbot.net <http://buildbot.net>, I understand its functioning, but am
> not getting the practical approach. Can you give me a brief idea of how
> it is implemented with Macports? Like what are the events that are
> taking place and when?

Buildbot is a fairly complex multilayered system and takes a while to
grok. Our configuration is here:
<https://github.com/macports/macports-infrastructure/tree/master/buildbot>
(master.cfg is the main file there). It may help to try to set up a
small buildbot of your own?

The basic process is that whenever a commit is pushed to our GitHub
repo, buildbot is notified via a webhook, and then figures out which
ports were touched by the commit and builds them (on each OS version).

- Josh


More information about the macports-dev mailing list