<?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>10878</bug_id>
          
          <creation_ts>2017-01-04 22:07:38 +0000</creation_ts>
          <short_desc>source code lines should not exceed more than 80 characters</short_desc>
          <delta_ts>2017-12-06 17:22:06 +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 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</reporter>
          <assigned_to name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>bluelightning</cc>
    
    <cc>mariano.lopez</cc>
    
    <cc>ross.burton</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>69505</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-01-04 22:07:38 +0000</bug_when>
    <thetext>perhaps this bug overlap  bug 10789 but if not, suite should have its own test case checking for long (source code) lines. Before setting a hardcoded length (80) the current tracked code should be explored and see current max lengths and community guidelines on this area.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69509</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-01-05 11:15:51 +0000</bug_when>
    <thetext>There are a *lot* of recipes that exceed 80 character lines, because this isn&apos;t 1970 anymore. :)

A limit of something like 160 to check that recipes are not using giant lines is more realistic IMHO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69518</commentid>
    <comment_count>2</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2017-01-05 15:20:19 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; There are a *lot* of recipes that exceed 80 character lines, because this
&gt; isn&apos;t 1970 anymore. :)

Indeed, now we have vsplit in vim :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69519</commentid>
    <comment_count>3</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-01-05 15:22:07 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; There are a *lot* of recipes that exceed 80 character lines, because this
&gt; isn&apos;t 1970 anymore. :)
&gt; 
&gt; A limit of something like 160 to check that recipes are not using giant
&gt; lines is more realistic IMHO.

Correct, that&apos;s why I mentioned to do some exploration first. Thanks for providing that limit, that is in fact more realistic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69528</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2017-01-05 16:21:07 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; There are a *lot* of recipes that exceed 80 character lines, because this
&gt; isn&apos;t 1970 anymore. :)
I guess the coding style guides haven&apos;t been updated since.
&gt; A limit of something like 160 to check that recipes are not using giant
&gt; lines is more realistic IMHO.
my full screen terminal can handle 279 chars yet every time I open a new terminal window it comes at 80 chars wide. I think it is better to stick to the standards but recipes could be a &apos;special&apos; case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71276</commentid>
    <comment_count>5</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-03-14 18:47:24 +0000</bug_when>
    <thetext>Fixed by

http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe/commit/?id=cabfb858051a6eaa29d1fa6a6e39e558894f47c7

max length set to 160.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>