<?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>4966</bug_id>
          
          <creation_ts>2013-07-31 11:29:25 +0000</creation_ts>
          <short_desc>Add a feature (&quot;rm_downloads&quot;) for INHERIT</short_desc>
          <delta_ts>2013-10-31 20:56:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>General Docs</product>
          <component>docs-general</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Papp">lpapp</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35209</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-07-31 11:29:25 +0000</bug_when>
    <thetext>It would be nice to have this feature similarly to &quot;rm_work&quot;, but it would remove the latest download accordingly.

I keep running out of the space even with using &quot;rm_work&quot;. What I need to do every single time is when I get the disk space error, to free up the downloads manually, and that is tedious.

Surely, there could be a separate &quot;bitbake -c cleandownloads&quot; feature as well, but that would still require manual intervention which I would personally like to avoid.

Yeah, I know everything can be avoided by further man power, such as time and effort, or/and money, but let us state it clearly: there is &quot;rm_work&quot; in there for a reason, already, and suggesting spending more money, effort, and time rather than fixing it in a centralized place is not pragmatic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35278</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-08-01 14:51:58 +0000</bug_when>
    <thetext>Removing the latest download would really hurt when you do a rebuild.  Removing older tarballs when you download a new one might be more practical (if trickier).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35279</commentid>
    <comment_count>2</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-08-01 14:55:11 +0000</bug_when>
    <thetext>Not everyone wanna do a rebuild? In addition, there is no better option to get stuff done?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35289</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-01 15:42:40 +0000</bug_when>
    <thetext>We are clear about the requirements of disk space in the Quick Start guide. As a project the downloads directory and content are preserved to allow for improved build time and allow for off-line builds (or if an upstream experiences networking issues).

The project has made this decision, which is why we have the support for disk space monitoring, to remove the working directories, but preserve the downloads and shared state areas in order to have good build times.

We can add some documentation about removing the contents of DL_DIR and cleaning shared state and tmp/work areas with a couple of scripts that already exist.

As this is not a task we will add, you can, if you wish, create a new bbclass that removes the downloaded tarballs and have it in your layer. It would not require too much effort to write such a bbclass,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35293</commentid>
    <comment_count>4</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-08-01 15:48:08 +0000</bug_when>
    <thetext>Why would I add it myself when it is a reusable feature, and a few people already expressed the interest in my circles...

Will you also remove &quot;rm_work&quot; because you are &quot;clear&quot; about the space requirements?

As for me, this is claim is first of all, inconsistent, secondly making users&apos; life hard if it is not propagated to the right layer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38405</commentid>
    <comment_count>5</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-10-31 20:53:57 +0000</bug_when>
    <thetext>Please provid a solution to this issue since we&apos;re really short on resource to fullfil it based on priorities on other features that have high demand and solid usage model.  Thx.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38406</commentid>
    <comment_count>6</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-10-31 20:56:28 +0000</bug_when>
    <thetext>RESOLVED is an invalid state for an unresolved bug report (feature request to be precise) in my opinion.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>