<?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>7626</bug_id>
          
          <creation_ts>2015-04-17 16:47:28 +0000</creation_ts>
          <short_desc>devtool: extract: track changes made by additional task functions</short_desc>
          <delta_ts>2016-02-11 17:09:42 +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>devtools / tool chain</component>
          <version>1.8</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="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>markus.lehtonen</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <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>50393</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-04-17 16:47:28 +0000</bug_when>
    <thetext>Some recipes add extra functions that make changes to the source, e.g. meta/recipes-devtools/dmidecode/dmidecode_2.12.bb; it may be nice to track these as commits in the resulting git repository where possible rather than having them potentially get mixed in with other patches or remain uncommitted at the end. (The logic for this is in GitApplyTree in meta/lib/oe/patch.py and is invoked via do_patch in patch.bbclass.) The changes might be done in a task added after do_unpack or do_patch.

If we do implement this we will need to ensure this doesn&apos;t disrupt update-recipe, i.e. any commits we make would need to be marked in a similar way we mark commits from patches, and update-recipe would need to ignore those marked commits.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54872</commentid>
    <comment_count>1</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2015-10-01 13:36:29 +0000</bug_when>
    <thetext>AFAIU, it would be enough to track any extra changes between do_unpack() and do_patch(). That shouldn&apos;t be to hard as we&apos;re already executing the extra steps (if any). We&apos;d just need to run them one at a time and commit possible changes to git. With certain meta tag or some other means to prevent patch creation from those commits, of course.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54935</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-10-02 12:45:33 +0000</bug_when>
    <thetext>Indeed, that&apos;s what I was thinking. It&apos;s just a matter of implementing it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58915</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-02-11 17:09:42 +0000</bug_when>
    <thetext>Fix merged to master:

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

    </bug>

</bugzilla>