<?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>2045</bug_id>
          
          <creation_ts>2012-03-01 21:23:18 +0000</creation_ts>
          <short_desc>Begin to regularly retire variables</short_desc>
          <delta_ts>2017-06-08 06:28:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>x86</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Stewart">david.c.stewart</reporter>
          <assigned_to name="Alexandru Georgescu">alexandru.c.georgescu</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bluelightning</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>18828</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Stewart">david.c.stewart</who>
    <bug_when>2012-03-01 21:23:18 +0000</bug_when>
    <thetext>We should add a task to review all variables which really have been superceded and add a mechanism in bitbake to throw an error message if they are used, warning that their use will be eliminated in the next major rev of the Yocto Project. Then  every subsequent release needs to have this task added to add more to the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18829</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-03-01 21:48:37 +0000</bug_when>
    <thetext>Which variables have you in mind with regard to this? We don&apos;t retire variables that often...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18916</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-03-08 19:12:13 +0000</bug_when>
    <thetext>Need more info from Dave</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24482</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-08-27 09:13:52 +0000</bug_when>
    <thetext>Hi Dave,
Do you have any updates regarding this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24507</commentid>
    <comment_count>4</comment_count>
    <who name="Dave Stewart">david.c.stewart</who>
    <bug_when>2012-08-27 18:57:03 +0000</bug_when>
    <thetext>At the time I submitted this bug, I was told (I&apos;m pretty sure by Richard) that there were variables which used to be supported in Poky, but which are not in common use any more because their function has been replaced with newer variables. When we keep the old variables / tasks around that we don&apos;t test and are not in common use, it&apos;s an extra load on documentation. Also there is a risk that someone reads about them in the documentation, tries to use them and things blow up.  I want to minimize the stuff which hasn&apos;t been tested.

I suggest you go through the Yocto Project Reference Manual and review the lilst of variables and tasks. If there are some you find there which you don&apos;t think you have seen used, then flag them and have a 1-1 with Richard or Paul and see if we can safely put them on the path to removal.

I don&apos;t have specific examples in mind.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25125</commentid>
    <comment_count>5</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-09-12 20:54:45 +0000</bug_when>
    <thetext>I will take this for the moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27754</commentid>
    <comment_count>6</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-11-27 21:03:52 +0000</bug_when>
    <thetext>This will be implemented as test cases for each variable. There will be an automation testing suite covering this</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73858</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-06-08 06:28:18 +0000</bug_when>
    <thetext>I think over the last few releases we have demonstrated we&apos;re pretty good at cleaning out old variables that nobody is using. Given the non-specific nature of this bug I&apos;m going to mark it resolved and if we have specific things we want to eliminate, we can open bugs for them (or just do the work as we have been).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>