Bug 6874

Summary: Mechanism to manage size of errors database
Product: [Yocto Project Subprojects] Error Reporting tool Reporter: Michael Wood <michael.g.wood>
Component: Error Reporting ToolAssignee: Michael Wood <michael.g.wood>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: enhancement    
Priority: Medium CC: bluelightning, bogdanx.a.voiculescu
Version: unspecified   
Target Milestone: 1.9   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Michael Wood 2014-10-23 13:53:13 UTC
We need a mechanism to have the database not grow infinitely. This could be automated culling of the database or a more sophisticated way to reduce the data.
Comment 1 Michael Wood 2015-06-23 10:24:28 UTC
Usage: ./manage.py culldb [options] <size>

Culls the database to size in rows


commit 8333af184aae3ce3211bfd4ee43ce525302ff31a
Author: Michael Wood <michael.g.wood@intel.com>
Date:   Thu Jun 11 16:09:04 2015 +0100

    management: Add command to cull the database
    
    Adds a cron-able command to reduce the size of the database to a
    specified size.
    
    [YOCTO #6874]
    
    Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Comment 2 Bogdan Alexandru Voiculescu 2015-09-07 11:26:36 UTC
verified, commit ea92a0532814be3938c38d8280e11657ce58a79c 
Post/management/commands/culldb.py