<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6874</bug_id>
          
          <creation_ts>2014-10-23 13:53:13 +0000</creation_ts>
          <short_desc>Mechanism to manage size of errors database</short_desc>
          <delta_ts>2015-09-07 11:26:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Error Reporting tool</product>
          <component>Error Reporting Tool</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Wood">michael.g.wood</reporter>
          <assigned_to name="Michael Wood">michael.g.wood</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46526</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2014-10-23 13:53:13 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51874</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2015-06-23 10:24:28 +0000</bug_when>
    <thetext>Usage: ./manage.py culldb [options] &lt;size&gt;

Culls the database to size in rows


commit 8333af184aae3ce3211bfd4ee43ce525302ff31a
Author: Michael Wood &lt;michael.g.wood@intel.com&gt;
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 &lt;michael.g.wood@intel.com&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53773</commentid>
    <comment_count>2</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-09-07 11:26:36 +0000</bug_when>
    <thetext>verified, commit ea92a0532814be3938c38d8280e11657ce58a79c 
Post/management/commands/culldb.py</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>