Closed Bug 340448 Opened 18 years ago Closed 18 years ago

The "Trim logs" admin command doesn't actually remove log files

Categories

(Webtools Graveyard :: Tinderbox, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cls, Assigned: cls)

Details

Attachments

(1 file)

There's a hardcoded reference to 'DogbertTip' instead of $tree.  In addition, the cgi is only removing the compressed logfiles.  The expanded html versions are not removed.
Attached patch v1.0Splinter Review
Attachment #224482 - Flags: review?(bear)
Comment on attachment 224482 [details] [diff] [review]
v1.0

why not
opendir( D , $tree )

and
/\.(?:gz|brief\.html)$/
Attachment #224482 - Flags: review?(bear) → review+
(In reply to comment #2)
> (From update of attachment 224482 [details] [diff] [review] [edit])
> why not
> opendir( D , $tree )

Messah like quotes. :-D

> and
> /\.(?:gz|brief\.html)$/

Ok, I failed regex school.  Why '?:' ?

Checked in with the suggested regex change which is supposed to not preserve (.gz|brief.html) as $1.

Checking in webtools/tinderbox/doadmin.cgi;
/cvsroot/mozilla/webtools/tinderbox/doadmin.cgi,v  <--  doadmin.cgi
new revision: 1.18; previous revision: 1.17
done

Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: