to flush a datastore

Joe Marcus Clarke marcus at marcuscom.com
Sat Dec 24 11:27:14 EST 2005


On Sat, 2005-12-24 at 14:34 +0300, Sergey Matveychuk wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi.
> 
> How can I flush all ports from a database without removing of a build?
> I'd like to keep the build but remove all ports from a www report.
> There are hundreds ports there.
> 
> I expected 'tc tbcleanup' do so, but it don't.

There's no way to remove all ports from a build.  You can use tc rmPort
to remove individual ports.  But if you want to purge them all, you
would need to do some manual SQL:

DELETE FROM build_ports WHERE Build_Id = (SELECT Build_Id FROM builds WHERE Build_Name='<BUILD>')

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/20051224/77b0f211/attachment.bin


More information about the tinderbox-list mailing list