<?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>10360</bug_id>
          
          <creation_ts>2016-10-01 14:12:19 +0000</creation_ts>
          <short_desc>Add link to the OpenEmbedded style guide</short_desc>
          <delta_ts>2016-10-03 19:30:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Development Manual</product>
          <component>development</component>
          <version>2.2</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>03 Oct 2016: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ulfalizer</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66784</commentid>
    <comment_count>0</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-10-01 14:12:19 +0000</bug_when>
    <thetext>Hello,

I think it would be helpful if the development manual linked to the
OpenEmbedded Styleguide wiki page. Here&apos;s a proposed new section:

  5.3.21. Recipe style

  The [OpenEmbedded Styleguide](http://www.openembedded.org/wiki/Styleguide)
  wiki page provides rough guidelines for preferred recipe style.

  It is common for existing recipes to deviate a bit from this style, but
  aiming for at least a consistent style is a good idea. Some practices, like
  omitting spaces around &apos;=&apos; in assignments or ordering recipe components in an
  erratic way, are widely seen as poor style.


As an unrelated nit, there&apos;s a missing &quot; here:

  SRC_URI = &quot;${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \
             ${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.diff.gz;name=patch


Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66820</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-10-03 17:24:09 +0000</bug_when>
    <thetext>Ulf, 

Here is the new section - http://www.yoctoproject.org/docs/2.2/dev-manual/dev-manual.html#following-recipe-style-guidelines.

Here is the link to see the fix for the missing quote - http://www.yoctoproject.org/docs/2.2/dev-manual/dev-manual.html#new-recipe-fetching-code

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66827</commentid>
    <comment_count>2</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-10-03 18:11:45 +0000</bug_when>
    <thetext>Looks good to me!

Thanks,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66834</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-10-03 19:30:24 +0000</bug_when>
    <thetext>Thanks, 

Setting to RESOLOVED and putting the doc flag to &quot;done.&quot;

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>