<?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>10811</bug_id>
          
          <creation_ts>2016-12-15 08:31:44 +0000</creation_ts>
          <short_desc>possibility to detect if patch has been merged</short_desc>
          <delta_ts>2016-12-15 16:01:53 +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>configuration</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stefan Windfeldt">stefan.windfeldt</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          
          
          
          <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>69144</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Windfeldt">stefan.windfeldt</who>
    <bug_when>2016-12-15 08:31:44 +0000</bug_when>
    <thetext>Currently if you have a patch in you layer and the patch is merged upstream you get an error next time you build. It would be great if it would be possible for the system to detect that the patch has been merged and only give a warning and continue building.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69158</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-12-15 16:01:53 +0000</bug_when>
    <thetext>I don&apos;t think being able to make this &quot;magic&quot; is either possible, or desirable. Its likely to be hard to implement since figuring out whether a given patch has been applied in a given piece of source is non-trivial. You can test if it can be reverse applied but that doesn&apos;t work if there are any other overlapping changes.

I&apos;m also not sure its desirable since we want deterministic builds and metadata which is correct, not metadata which guesses what to do with things. So for that reason, I don&apos;t think this is something we plan to implement.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>