tbcleanup: -E not respected?
Ion-Mihai Tetcu
itetcu at FreeBSD.org
Tue May 5 01:55:13 EDT 2009
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.
>
> So I guess it does exactly he opposite of what it should.
>
--
IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://marcuscom.com/pipermail/tinderbox-list/attachments/20090505/16cb98b1/attachment.bin>
More information about the tinderbox-list
mailing list