<?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>10688</bug_id>
          
          <creation_ts>2016-11-16 21:45:50 +0000</creation_ts>
          <short_desc>Add a test looking for common paths that indicate patch is for the wrong layer</short_desc>
          <delta_ts>2017-12-06 17:16:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Patchwork/Patchtest</product>
          <component>Patchtest Testsuite</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>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</assigned_to>
          <cc>leonardo.sandoval.gonzalez</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>68385</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-11-16 21:45:50 +0000</bug_when>
    <thetext>If a patch against meta-oe is sent incorrectly to the OE-Core mailing list and it is only adding files, it will apply cleanly on top of OE-Core since it doesn&apos;t matter that there isn&apos;t already an existing meta-oe subdirectory. It would be useful if we had a test to catch these kinds of patches, but if the email subject doesn&apos;t contain the layer name (which is sometimes omitted by the submitter) then the only way it could work would be if it looked for subdirectories from common layers such as &quot;meta-oe&quot;. The suggested fix should specify to resend to the correct mailing list, specifying the actual mailing list based on subdirectory.

We&apos;d want an easy way for these tests to be reconfigured of course so that the same set of tests can be easily applied e.g. for meta-oe when the time comes to do that - there we would of course be wanting to check for patches against a &quot;meta&quot; subdirectory. Perhaps we&apos;d need to have a config option somewhere to accomplish this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70560</commentid>
    <comment_count>1</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-02-08 20:44:58 +0000</bug_when>
    <thetext>*** Bug 9944 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70608</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-02-09 20:41:24 +0000</bug_when>
    <thetext>Patch sent to the ML:

https://lists.yoctoproject.org/pipermail/yocto/2017-February/034467.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70845</commentid>
    <comment_count>3</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-02-20 22:52:07 +0000</bug_when>
    <thetext>merged at http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe/commit/?id=123cfd8105e508dce090a0bc4ab767dfb6b3889f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>