<?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>9876</bug_id>
          
          <creation_ts>2016-07-04 16:47:47 +0000</creation_ts>
          <short_desc>patchtest-oe: check that attached SW patches does not contain trailing spaces</short_desc>
          <delta_ts>2017-12-06 16:57:00 +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</component>
          <version>2.1</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.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</reporter>
          <assigned_to name="Jose Perez C">jose.perez.carranza</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>richard.purdie</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>63635</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-07-04 16:47:47 +0000</bug_when>
    <thetext>trailing spaces should not be present on sw patches, so do a check on these patches and fail if any of them has one or more.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63661</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-07-06 02:15:19 +0000</bug_when>
    <thetext>I feel this goes a bit too far. The benefit of validating this is going to be negligible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63669</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-07-06 13:49:37 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I feel this goes a bit too far. The benefit of validating this is going to
&gt; be negligible.

I understand your point; but why should git track blanks? The check is already implemented but for the moment is the todo folder. We may remove it later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63687</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-07-06 20:03:48 +0000</bug_when>
    <thetext>The point is if we&apos;re going to be rejecting people&apos;s patches we should be doing so for good reasons. I just don&apos;t think this one qualifies.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63691</commentid>
    <comment_count>4</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-07-06 20:32:52 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; The point is if we&apos;re going to be rejecting people&apos;s patches we should be
&gt; doing so for good reasons. I just don&apos;t think this one qualifies.

I am following the first recommendation of this link:

https://www.python.org/dev/peps/pep-0008/#other-recommendations

As I said, right now the test does not hurt anyone, it is on the &apos;todo&apos; checks. I can remove it anytime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63789</commentid>
    <comment_count>5</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-07-11 13:44:53 +0000</bug_when>
    <thetext>Patch already sent to Leonardo Sandoval Gonzalez</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>