<?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>2086</bug_id>
          
          <creation_ts>2012-03-13 16:13:06 +0000</creation_ts>
          <short_desc>Rewrite bbvars.py to use bitbake to find variables</short_desc>
          <delta_ts>2017-12-05 18:04:02 +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>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Amanda Brindle">amanda.r.brindle</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>mhalstead</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>19006</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-03-13 16:13:06 +0000</bug_when>
    <thetext>Difficulty: Hard
Estimate: 3 Days
Submitter: dvhart

bbvars.py does a rather dumb regex search for things vaguely resembling variables, the bitbake parser knows how to do this properly. 

Example use of bbvars:


$ scripts/contrib/bbvars.py -d documentation/poky-ref-manual/poky-ref-manual.xml -t meta/conf/documentation.conf -m meta</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73859</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-06-08 06:31:18 +0000</bug_when>
    <thetext>These days you would use tinfoil to do this. Here&apos;s some introductory material:

https://wiki.yoctoproject.org/wiki/TipsAndTricks/Tinfoil</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76742</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-09-11 21:35:29 +0000</bug_when>
    <thetext>In the above example I believe the path to the XML file these days should be documentation/ref-manual/ref-variables.xml .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78518</commentid>
    <comment_count>3</comment_count>
    <who name="Amanda Brindle">amanda.r.brindle</who>
    <bug_when>2017-12-05 18:04:02 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=70b3fffe5a9f337994c6444a6b6612237056a37f

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4af421a469c4dc1d3c78b58474ce75441e8bc65b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>