c.l.s.oops : module documentation

Part of canonical.launchpad.scripts

Module docstring goes here.
Function referenced_oops Return a set of OOPS codes that are referenced somewhere in the
Function path_to_oopsid Extract the OOPS id from a path to an OOPS file
Function unwanted_oops_files Generate a list of OOPS files that are older than 'days' and are
Function old_oops_files Generate a list of all OOPS files older than 'days' days old.
Function prune_empty_oops_directories Undocumented
def referenced_oops():
Return a set of OOPS codes that are referenced somewhere in the Launchpad database.

We currently check the entire Message store, Bugs, BugTasks and Question

def path_to_oopsid(path):
Extract the OOPS id from a path to an OOPS file
def unwanted_oops_files(root_path, days, log=None):
Generate a list of OOPS files that are older than 'days' and are not referenced in the Launchpad database.
def old_oops_files(root_path, days):
Generate a list of all OOPS files older than 'days' days old.
Parametersroot_pathThe directory that contains the OOPS files. The cronscript will pass config.error_reports.error_dir if the root_path was not specified on the command line.
daysThe age the OOPS files must exceed to be considered old.
def prune_empty_oops_directories(root_path):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.