Comment 1 for bug 130901

Revision history for this message
Diogo Matsubara (matsubara) wrote : Re: Oops pruner script should delete non-referenced NotFound oops older than a week.

I had a pre-implementation chat with Stuart about this bug. I'm mutating this bug into the correct thing to do.

A summary of our chat:

Currently the oops pruner does its job using only the oops filename. The pruner would need to open each oops file and parse its contents to find out the OOPS type.

An easier solution is to extend the oops pruner to compress the oops files instead.

Care must be taken for mutating the file system while iterating over it. It's better to store a list of files to compress and compress them after all the iteration has been completed.