New Tinderbox features

Joe Marcus Clarke marcus at marcuscom.com
Tue Apr 24 19:53:21 EDT 2007


On Sun, 2007-04-22 at 17:04 -0400, Joe Marcus Clarke wrote:
> Think of this as kind of like a 2.4 pre-alpha for those that have been
> really wanting some of these features.  Below is a link to a sparse
> tarball containing only changed files and a MySQL schema update that
> adds the following features to TB 2.3.5:
> 
> * Hooks : A hook is a "callout" which gives Tinderbox the ability to run
> custom code at pre-determined times.  For example, you can establish a
> Hook to run just before a Port is built, after a Build is extracted,
> before a PortsTree is updated, etc.  Pre-condition hooks can even cause
> an operation to terminate if so desired.  New commands:
> 
> tc listHooks
> tc updateHookCmd
> 
> * OPTIONS processing : If you enable OPTIONS support in Tinderbox, you
> can have tc addPort automatically prompt you to configure OPTIONS.  Just
> run tc addPort with the new -o argument, and you will be prompted with
> the usual dialog(1) screen to configure OPTIONS.  OPTIONS configuration
> will happen recursively if the -r argument is specified, and
> non-recursively otherwise.
> 
> * Failed dependents tracking : If a port fails to build, it will update
> the datastore for all of its dependents so that they will be reported as
> pseudo-failed.  That is, they will have a unique appearance in the
> www-exp frontend to indicate that they were not built because a
> dependency failed.  See
> http://www.marcuscom.com/tinderbox/index.php?action=latest_buildports
> for an example (while it lasts).
> 
> I would appreciate it if people could test these changes (if possible)
> and provide feedback on ways to improve them.  Be forewarned that future
> changes may require more schema updates before 2.4 is released.
> 
> To install this update, simply extract the following tarball, and
> replace all of the original TB files with their new versions.  Then run
> the new_schema.sql queries against your database.  Note: Postgres users
> will have to adapt the schema accordingly.  An official Postgres update
> will be part of the 2.4 release.
> 
> http://www.marcuscom.com/downloads/tb_new_features.tar.bz2

A new tarball has been posted with a few bug fixes and a new
ETA/duration feature adapted from edwin's original patches.  Here is a
screenshot:

http://www.marcuscom.com/downloads/tb_eta.png

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: 187 bytes
Desc: This is a digitally signed message part
Url : http://marcuscom.com/pipermail/tinderbox-list/attachments/20070424/792e5c3d/attachment.bin 


More information about the tinderbox-list mailing list