[patch] mass build without hook
olli hauer
ohauer at gmx.de
Sun Mar 11 16:01:09 EDT 2012
Hi,
I finished a new version of my mass build patch which is database independent and full integrated into tinderbox.
The hook mass-build-pgsql.sh is no longer needed also pgsql and mysql are supported.
So what does the patch do and when it is useful four you?
The patch is useful if you build/rebuild a bunch of ports ( for example with ./tc addBuildPortsQueueEntry -b ${BUILD} )
In absolute ideal case the ports have the exact order in the buildPortsQueue so no port depend on another port with status ENQUEUED.
The patch follows this (make) assumption.
- if the port is up to date, then also all BUILD|LIB|RUN depends are up to date
- if the portbuild finish with status SUCCESS all dependencies are up to date and should have status SUCCESS
==> set all those dependencies (make all-depends-list) to SUCCESS in buildPortsQueue
patch against tinderbox HEAD:
http://people.freebsd.org/~ohauer/diffs/tinderbox/tinderbox-head-uets.diff
patch for ports/tinderbox
http://people.freebsd.org/~ohauer/diffs/tinderbox/tinderbox-3.4.1-uets.diff
no patch for ports/tinderbox-devel since this version is older then ports/tinderbox
Since I found no good name for this function I used the first chars from the database function to construct the additional parameter.
( updateEnqueuedToSuccess --> parameter -uets )
@Marcus
Maybe this patch can be merged into tinderbox-head?
--
Regards,
olli
More information about the tinderbox-list
mailing list