<?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>10679</bug_id>
          
          <creation_ts>2016-11-16 13:02:06 +0000</creation_ts>
          <short_desc>Drop unneeded expansion parameter to getVar and getVarFlag</short_desc>
          <delta_ts>2017-01-17 14:03:32 +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>BitBake</product>
          <component>bitbake</component>
          <version>2.3</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>enhancement</bug_severity>
          <target_milestone>2.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="David Lopez Barriba">davidx.lopez.barriba</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68358</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-11-16 13:02:06 +0000</bug_when>
    <thetext>There are patches pending which make expansion the default for getVar/getVarFlag. Once merged we should remove the expansion parameter from most of the users of getVar and getVarFlag. There are sed expressions in the git history which can be used as a template to do this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68429</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-11-18 01:47:51 +0000</bug_when>
    <thetext>Josh will work on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68521</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-11-22 22:32:35 +0000</bug_when>
    <thetext>I have patches queued for this change using regex search/replace with the following regex:

getVar ?\(( ?[^,()]*), True\)
getVar($1)

getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\)
getVarFlag($1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68598</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-11-25 15:35:17 +0000</bug_when>
    <thetext>OE-Core:
http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129268.html
http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129269.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69219</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-12-19 16:17:07 +0000</bug_when>
    <thetext>These made if for M1:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c4e2c59088765d1f1de7ec57cde91980f887c2ff
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c0f2890c01882e9ea14e781c044f3a84f75bd0fc
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3c59b1bf93adb0b9f723bda1d8702c8720733677
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=97f83e911ebb2c9d1af5de55a94c994dced39d82</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>