<?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>5076</bug_id>
          
          <creation_ts>2013-08-29 15:52:57 +0000</creation_ts>
          <short_desc>Consolidate python script code to find and add bitbake path</short_desc>
          <delta_ts>2014-07-17 09:38:09 +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>OE-Core</product>
          <component>core</component>
          <version>1.6</version>
          <rep_platform>All</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.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Stoicescu Cornel">corneliux.stoicescu</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>36052</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-08-29 15:52:57 +0000</bug_when>
    <thetext>There are now several scripts in scripts/ that need to be able to find bitbake and add its lib/bb directory to sys.path. Each of these scripts is doing this in a different way; it would be an improvement if we had one function to do this that all of the python scripts under scripts/ could make use of.

Scripts that need to do this currently include:

scripts/bitbake-whatchanged
scripts/buildhistory-diff
scripts/contrib/list-packageconfig-flags.py</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44184</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-06-25 16:10:05 +0000</bug_when>
    <thetext>Merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2b4e1506f054fded57dd361c347bdb25ddd9e245</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44529</commentid>
    <comment_count>2</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-07-17 09:38:09 +0000</bug_when>
    <thetext>Verified with poky master:03c6fd0caab0ea8dcc2e0c3ab827a287a4f36910</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>