<?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>10138</bug_id>
          
          <creation_ts>2016-08-13 06:51:48 +0000</creation_ts>
          <short_desc>Small suggested version/revision-related clarifications</short_desc>
          <delta_ts>2016-08-22 23:03:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Reference</product>
          <component>handbook</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>22 August 2016: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</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>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>65173</commentid>
    <comment_count>0</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-08-13 06:51:48 +0000</bug_when>
    <thetext>Hello!

Here&apos;s some more suggested changes. They try to make it clearer how the various version/revision-related variables connect.

* Change the PKGV glossary entry to the following. &quot;Recipe&quot; is more specific
than &quot;OpenEmbedded build system&quot; in this case.

  PKGV: The version of the output package(s) built by the recipe. By default,
  PKGV is set to [PV].


* Add the following paragraph to the PV glossary entry:

  PV is the default value of the [PKGV] variable.


* Add the following paragraph to the PE glossary entry:

  PE is the default value of the [PKGE] variable.


* Change the first note in the PR glossary entry to the following. The new link for &quot;stamp&quot; (note that it&apos;s lowercase now) actually explains what the stamps do, which the old one didn&apos;t. The &apos;shared state cache&apos; link stays the same.

  PR: The OpenEmbedded build system does not need the aid of PR to know when to
  rebuild a recipe. The build system uses task
  [input checksums](http://www.yoctoproject.org/docs/2.2/bitbake-user-manual/bitbake-user-manual.html#checksums)
  along with the
  [stamp](http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#structure-build-tmp-stamps)
  and [shared state cache] mechanisms.


Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65187</commentid>
    <comment_count>1</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-08-15 11:13:06 +0000</bug_when>
    <thetext>Guess the checksum link within the same manual could be used instead: http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#checksums

Kinda ugly how that section is (more or less) duplicated in both manuals.

Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65188</commentid>
    <comment_count>2</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-08-15 11:20:35 +0000</bug_when>
    <thetext>Hmm... I think I prefer the version in the BitBake User Manual though, so never mind. The one in the reference manual makes it sound like the checksums are only about the sstate cache, but they&apos;re also used to determine if non-sstate tasks should be rerun.

Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65408</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-08-22 17:55:40 +0000</bug_when>
    <thetext>Hi Ulf, 

Have not been able to get to these until now.  Been busy in the Eclipse world :(

See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PKGV for the PKGV change. 

See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PV for the PV change.

See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PE for the PE change.

See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PR for the PR note change.  For the reference to &quot;stamp&quot;, I left it unformatted as the actual name of the directory seems to be &quot;stamps&quot;.  So I figured it was a general reference to that particular mechanism.

BTW - there is some duplication between the BitBake manual and the YP reference manual.  One thing we do not do is reference from the BB manual into any YP manuals.  We do, however, reference from YP manuals into the BB manual.  Sometimes topics differ between the two manuals.  I don&apos;t know if that is the case here.  It might just be the same information with the BB version being better.  I will look into that.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65409</commentid>
    <comment_count>4</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-08-22 18:45:18 +0000</bug_when>
    <thetext>Hello,

(In reply to comment #3)
&gt; Hi Ulf, 
&gt; 
&gt; Have not been able to get to these until now.  Been busy in the Eclipse
&gt; world :(

No worries. For a while I thought you were on vacation. :)

&gt; See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PKGV
&gt; for the PKGV change.

&quot;The version of the package(s) built by the recipe&quot; would be better since a recipe can build more than one package. &quot;Output package&quot; is a bit redundant in retrospect, so I removed the &quot;output&quot; part too.

&gt; See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PV
&gt; for the PV change.

Looks good to me.

&gt; See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PE
&gt; for the PE change.

Looks good.

One more suggested change: To make the PKGE glossary entry consistent with PKGV, the beginning could be changed to this:

  The epoch of the package(s) built by the recipe.

&gt; See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PR
&gt; for the PR note change.  For the reference to &quot;stamp&quot;, I left it unformatted
&gt; as the actual name of the directory seems to be &quot;stamps&quot;.  So I figured it
&gt; was a general reference to that particular mechanism.

Yeah, that makes sense to me.

The same change as mentioned above for PKGE could be made for PKGR too, changing the beginning to the following:

  The revision of the output package(s) built by the recipe.

&gt; BTW - there is some duplication between the BitBake manual and the YP
&gt; reference manual.  One thing we do not do is reference from the BB manual
&gt; into any YP manuals.  We do, however, reference from YP manuals into the BB
&gt; manual.  Sometimes topics differ between the two manuals.  I don&apos;t know if
&gt; that is the case here.  It might just be the same information with the BB
&gt; version being better.  I will look into that.

I think it&apos;s mostly that the BB manual doesn&apos;t talk as much about the sstate cache. I guess that makes sense in a way, since most of the sstate logic is implemented at a higher level. BitBake itself only provides the basic setscene magic.

I prefer the BB manual in this case, since task checksums aren&apos;t just for determining if sstate tasks need to be rerun.

Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65422</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-08-22 22:21:50 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Hello,
&gt; 
&gt; (In reply to comment #3)
&gt; &gt; Hi Ulf, 
&gt; &gt; 
&gt; &gt; Have not been able to get to these until now.  Been busy in the Eclipse
&gt; &gt; world :(
&gt; 
&gt; No worries. For a while I thought you were on vacation. :)
&gt; 
&gt; &gt; See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PKGV
&gt; &gt; for the PKGV change.
&gt; 
&gt; &quot;The version of the package(s) built by the recipe&quot; would be better since a
&gt; recipe can build more than one package. &quot;Output package&quot; is a bit redundant
&gt; in retrospect, so I removed the &quot;output&quot; part too.

Ok - changed that.

&gt; 
&gt; &gt; See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PV
&gt; &gt; for the PV change.
&gt; 
&gt; Looks good to me.
&gt; 
&gt; &gt; See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PE
&gt; &gt; for the PE change.
&gt; 
&gt; Looks good.
&gt; 
&gt; One more suggested change: To make the PKGE glossary entry consistent with
&gt; PKGV, the beginning could be changed to this:
&gt; 
&gt;   The epoch of the package(s) built by the recipe.

Changed that also.

&gt; 
&gt; &gt; See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PR
&gt; &gt; for the PR note change.  For the reference to &quot;stamp&quot;, I left it unformatted
&gt; &gt; as the actual name of the directory seems to be &quot;stamps&quot;.  So I figured it
&gt; &gt; was a general reference to that particular mechanism.
&gt; 
&gt; Yeah, that makes sense to me.
&gt; 
&gt; The same change as mentioned above for PKGE could be made for PKGR too,
&gt; changing the beginning to the following:
&gt; 
&gt;   The revision of the output package(s) built by the recipe.

Changed that as well.

&gt; 
&gt; &gt; BTW - there is some duplication between the BitBake manual and the YP
&gt; &gt; reference manual.  One thing we do not do is reference from the BB manual
&gt; &gt; into any YP manuals.  We do, however, reference from YP manuals into the BB
&gt; &gt; manual.  Sometimes topics differ between the two manuals.  I don&apos;t know if
&gt; &gt; that is the case here.  It might just be the same information with the BB
&gt; &gt; version being better.  I will look into that.
&gt; 
&gt; I think it&apos;s mostly that the BB manual doesn&apos;t talk as much about the sstate
&gt; cache. I guess that makes sense in a way, since most of the sstate logic is
&gt; implemented at a higher level. BitBake itself only provides the basic
&gt; setscene magic.
&gt; 
&gt; I prefer the BB manual in this case, since task checksums aren&apos;t just for
&gt; determining if sstate tasks need to be rerun.
&gt; 
&gt; Cheers,
&gt; Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65425</commentid>
    <comment_count>6</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-08-22 22:55:59 +0000</bug_when>
    <thetext>Getting slightly OCD now, but PKGR still says &quot;output package(s)&quot; rather than just &quot;package(s)&quot;. :P

Looks fine other than that,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65427</commentid>
    <comment_count>7</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-08-22 23:00:33 +0000</bug_when>
    <thetext>Sorry man... see http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PKGR</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65428</commentid>
    <comment_count>8</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-08-22 23:02:24 +0000</bug_when>
    <thetext>LGTM :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65430</commentid>
    <comment_count>9</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-08-22 23:03:23 +0000</bug_when>
    <thetext>Set to RESOLVED and put doc flag to &quot;done.&quot;

scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>