Server Migration: buildbot

Clemens Lang cal at macports.org
Mon Sep 17 15:58:50 PDT 2012


On Mon, Sep 17, 2012 at 03:35:55PM -0700, Dan Ports wrote:
> Could we use a modified rev-upgrade to track the library dependencies
> of all installed archives, not just active ones? Then we could have
> the buildbot scan all ports for broken files and indicate what needs
> to be revbumped.

Yes, we could copy the information in the binary header into a database
and run the testing there, marking packages as broken if a package that
has been rebuilt no longer satisfies a dependency. I'm not sure this
database is the right thing to do: There possibly are multiple
architectures per file, and multiple load commands per architecture that
need to be stored times a couple thousand binaries.

One load command is probably around 60 bytes plus another 8 for
compatibility version and current version. The average executable
probably has around 5 load commands. Let's assume only a single
architecture. The buildbot would probably have around 20000 binaries
installed. That's abot 6.5M of unstructured data.

Sounds doable, do you want to give it a shot? ;)

-- 
Clemens Lang



More information about the macports-dev mailing list