<?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>6243</bug_id>
          
          <creation_ts>2014-04-28 15:15:45 +0000</creation_ts>
          <short_desc>Recipe versioning for non-final releases incorrectly documented</short_desc>
          <delta_ts>2014-04-29 18:52:53 +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>1.6</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>29 April 2014: RESOLVED/FIXED</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <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>43042</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-04-28 15:15:45 +0000</bug_when>
    <thetext>It seems when we were writing the new &quot;Writing a New Recipe&quot; section we picked up a bad example from the metadata - xdg-utils_1.1.0-rc1.bb. The way this has been versioned will lead to problems when the recipe is eventually upgraded to the final 1.1.0 release, because a change from &quot;1.1.0rc1&quot; to &quot;1.1.0&quot; would be seen as a decrease rather than an increase. We should be using &quot;1.0.2+1.1.0rc1&quot; for the version; usually this is done by setting PV in the recipe (and adjusting SRC_URI to match). Unfortunately our xdg-utils recipe doesn&apos;t do this and we don&apos;t have an example in OE-Core; here is one from meta-oe:

  http://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb

This is touched on in the following OE wiki page:

  http://www.openembedded.org/wiki/Versioning_Policy

I suspect we need to add a note or a subsection that talks about correctly handling pre-release versions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43063</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-04-29 18:52:53 +0000</bug_when>
    <thetext>I have added a new section called &quot;Properly Versioning Pre-Release Recipes&quot; to address making sure that recipes that are in a release candidate stage (e.g. name.0.1.0.rc1) are properly versioned by the build system.  The section has been reviewed and approved by Paul. See http://www.yoctoproject.org/docs/1.7/dev-manual/dev-manual.html#properly-versioning-pre-release-recipes.

The commit was pushed to the master and daisy branches.

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>