cloning the macports-ports travis/CI to personal ports tree repositories?

Rainer Müller raimue at macports.org
Tue Oct 16 22:23:06 UTC 2018


On 2018-10-16 21:23, René J.V. Bertin wrote:
> The biggest mystery for me is why the script adds a remote for the macports-ports repo and then checks it out; isn't that taken care of automatically by the CI?

This is used to update the timestamps of the Portfiles. We use the PortIndex as
distributed over rsync to speed up the process, as otherwise portindex would
need to index the full ports tree. We check out the master branch of
macports/macports-ports once and then return to the originally checked out
branch. This ensures that all modified Portfiles have a newer mtime than those
on master and therefore will be re-indexed by portindex.

Reducing the setup time is especially important as builds on travis-ci.org are
limited to 50 minutes maximum duration.

Rainer


More information about the macports-dev mailing list