postPortBuild hook for mass building with PGSQL as DB

Joe Marcus Clarke marcus at marcuscom.com
Fri May 27 19:56:43 EDT 2011


On 5/23/11 7:31 PM, olli hauer wrote:
> I do often a complete rebuild of all ports with the command
> ./tc addBuildPortsQueueEntry -b buildname
> 
> One tinderbox issue is that ports are not picked from the queue in
> a optimized order, so it can happen port-Z is the first in the queue
> and needs to build first port-K port-R port-F ...
> 
> Without this small hack the full jail will be extracted also for
> ports build as dependency for port-Z.
> 
> Now this small hook saves me sometimes a lot of time since it set
> the state of this ports to SUCCESS/FAIL as soon they where build.
> 
> You will not see any great benefit with a small numbers of ports,
> but for example during an expr-run with a view hundreds.
> 
> Hook is written for PGSQL, maybe it will also work with MySQL ...
> 
> If PGSQL needs authentication use ~/.pgpass !
> 
> Maybe this can be implemented directly in the code (I was to lazy)
> 
> Hope this helps someone to save (hopefully) some time

Thanks!  I added this to our contrib collection.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


More information about the tinderbox-list mailing list