Building all ports when setting up a new buildbot builder

Joshua Root jmr at macports.org
Tue Dec 2 19:42:37 PST 2014


On 2014-12-3 13:38 , Ryan Schmidt wrote:
> On Dec 2, 2014, at 8:39 AM, Joshua Root wrote:
> 
>> On 2014-12-2 21:57 , Ryan Schmidt wrote:
>>> I am assuming that if we set the portlist to e.g. "name:^[0-9a-d]" instead of "all" that it would work.
>>
>> No, it won't. You can't use regexes and it's not a list of port names,
>> it's a list of portdirs.
> 
> I see. But somehow the special keyword "all" is being handled; I assumed it was being passed on to `port` and that we could use any of the port-selection methods `port` allows. Is there a reason why it was not done that way?

Because MPAB does a lot more than just run 'port install <something>'.

> On Dec 2, 2014, at 8:40 AM, Daniel J. Luke wrote:
> 
>> (and maybe also set things up to upload archives as they become available?)
> 
> I don't know what that would involve, having not looked at the buildbot infrastructure that much. I just know that from the buildbot web interface, it's clear that uploading archives is currently implemented as a separate step, after building. (In fact, gathering archives is another separate step, currently.) So putting the gathering and uploading steps into the building step would involve rearranging some code.

It has to be a separate step if we use buildbot's built-in support for
uploading files.

- Josh


More information about the macports-dev mailing list