Feature Request: Buildbot triggering dependent port rebuilds in a cascade

Mojca Miklavec mojca at macports.org
Tue Dec 13 08:11:30 CET 2016


On 13 December 2016 at 06:02, Marko Käning wrote:
> Hi MacPorts core devs,
>
> I was wondering whether it is possible to configure the buildbots in such a way
> that they can observe if a just rebuilt port is a dependency of other ports which
> haven’t been built successfully yet. If such a case is met it could trigger a
> rebuild-cascade which makes sure that all those already failed ports waiting for
> their dependency to appear will (hopefully) also succeed in building.
>
> P.S.: Should I create a trac ticket for this, or does something like that exist
>       as a planned feature or is it perhaps even already implemented in MacPorts?

Yes, you can open a ticket (put "buildbot" in the keywords).

There's no such functionality yet, but it would be quite a neat feature.

I imagine that we need to start by collecting the buildbot statistics
somewhere: something that we should do anyway. Then we could easily
fetch the list of all ports that failed due to broken port X and
rebuild just those. (I probably wouldn't go for all ports that could
potentially depend on that port, or that could be a special/different
feature.)

I wouldn't mind if we would do this semi-manually for a while; in
particular doing it automatically would be a problem on our 10.5/ppc
builder. That is: manually trigger a "force build", but in a way that
it won't require manually typing in all the ports other than the
dependency.

Mojca


More information about the macports-dev mailing list