tbcleanup: -E not respected?
Joe Marcus Clarke
marcus at marcuscom.com
Tue May 5 02:18:47 EDT 2009
On Tue, 2009-05-05 at 08:55 +0300, Ion-Mihai Tetcu wrote:
> On Tue, 5 May 2009 08:47:35 +0300
> Ion-Mihai Tetcu <itetcu at freebsd.org> wrote:
>
> > On Sat, 25 Apr 2009 15:34:33 -0400
> > Joe Marcus Clarke <marcus at marcuscom.com> wrote:
> >
> > > On Sat, 2009-04-18 at 22:14 +0300, Ion-Mihai Tetcu wrote:
> > > > On Sat, 18 Apr 2009 15:04:55 -0400
> > > > Joe Marcus Clarke <marcus at marcuscom.com> wrote:
> > > >
> > > > > On Sat, 2009-04-18 at 16:33 +0300, Ion-Mihai Tetcu wrote:
> > > > > > Hi,
> > > > > >
> > > > > >
> > > > > > I just run on QAT:
> > > > > > # nice -20 /usr/local/tinderbox/scripts/tc tbcleanup -E -p
> > > > > > with the unwanted result that all error logs are gone.
> > > > > >
> > > > > > -E : Do NOT remove old error logs (regular port build logs
> > > > > > are still removed)
> > > > > >
> > > > > > Hmm, actually all errors are gone as well.
> > > > > >
> > > > > > Is there a way to have tbcleanup remove non-existent ports
> > > > > > entries, obsolete packages and logs, etc. but leave the errors
> > > > > > DB entries and error logs in place?
> > > > >
> > > > > Try this patch.
> > > > >
> > > > > http://www.marcuscom.com/downloads/tc_command.sh.diff
> > > >
> > > > Does this fix it to retain the db entries for failed ports also?
> > > >
> > > > Anyway, I have no error on QAT right now, give me a day :)
> > >
> > > Any update on this?
> >
> > Deleted the packages, updated the ports tree, then run tbcleanup -E -p
> >
> > The result is that all failures were deleted (both from DB and the
> > logs).
> > However the logs for the good packages are left.
>
> Nope. All DB entries removed, all logs for good builds removed, logs
> corresponding to the current version of the ports for failed builds
> removed, what is left are the logs for failed ports corresponding to
> old version of said ports.
I think I found the problem. Try this version.
http://www.marcuscom.com/downloads/tc_command.sh.diff
Joe
>
> >
> > So I guess it does exactly he opposite of what it should.
> >
>
>
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://marcuscom.com/pipermail/tinderbox-list/attachments/20090505/cd8294b1/attachment.bin>
More information about the tinderbox-list
mailing list