what are you thinking about the following features

Joe Marcus Clarke marcus at marcuscom.com
Sat Jan 9 16:27:27 EST 2010


On Tue, 2010-01-05 at 17:54 +0100, olli hauer wrote:
> Hi,
> 
> what are you thinking about the following features.
> 
> For example you inject a big amount of ports to the build queue
> because you don't want to fiddle out all the depending ports or
> need the port even not only as dependency (list for ports build
> on a remote machine with 'pkg_info -qoa')
> 
> To make it more readable I will use addPort for the following statement.
> ./tc addBuildPortsQueueEntry -b ...
> 
> 
> addPort archivers/php5-zlib
> ...
> addPort databases/php5-pgsql
> addPort databases/postgresql84-client
> addPort databases/postgresql84-server
> ...
> addPort graphics/php5-gd
> addPort lang/php5
> ...
> addPort ports-mgmt/tinderbox
> ...
> addPort www/php5-session
> 
> 
> Now php5 is a dependency for php5-zlib but this port will build php5
> before, now tinderbox knows about both it build first php5 than
> php5-zlib and twenty ports later again php5.

I don't understand what you're asking.  Tinderbox uses make(1), so it
will obey's make's rules on when to rebuild a target.  That is, if
dependency A of port X is updated, then X must be rebuilt.  If
dependency A has not been changed, and X has not been changed, then
neither A or X will be rebuilt.

> 
> Since tinderbox knows this is in the same build it could update the
> status off php5 to the last BuildDate and the status to 'SUCCESS' to
> prevent a second build.

The one exception to the rule above is if a port is explicitly requested
to be built in Tinderbox (i.e. on the tinderbuild command line).  In
that case, Tinderbox will remove the existing package, and force a
rebuild.  If you want to bypass this behavior, pass -norebuild to
tinderbuild.

> 
> Additional a small function like ./tc rebuildAllPorts which injects all
> finished ports back to the queue will become interesting since there are
> maybe now ports which have not updated but have an old decencies to
> php5-5.2.11 instead php5-5.2.12.

Try this patch.  It changes addBuildPortsQueueEntry so that the -d
argument is optional.  If not specified, all ports for a given Build
will be inserted into the queue.

http://www.marcuscom.com/downloads/tc_command.pl

> 
> Nice will be also an additional button in the webui where you can reset
> a finished port back to the queue.

I'll let Beat comment on this.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
URL: <http://marcuscom.com/pipermail/tinderbox-list/attachments/20100109/56384299/attachment.bin>


More information about the tinderbox-list mailing list