<?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>9190</bug_id>
          
          <creation_ts>2016-03-01 09:36:55 +0000</creation_ts>
          <short_desc>[meta-swupd] Try to consolidate OS_VERSION and DISTRO_VERSION</short_desc>
          <delta_ts>2016-09-13 09:30:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Other YP Layers</product>
          <component>meta-swupd</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>igor.stoppa</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>59566</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-03-01 09:36:55 +0000</bug_when>
    <thetext>swupd-image.bbclass introduces a new variable for the OS version number when we already have a DISTRO_VERSION variable. This was done because swupd makes various assumptions about the version number which aren&apos;t necessarily true for traditional DISTRO_VERSION values in OE et al.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59754</commentid>
    <comment_count>1</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2016-03-07 13:45:00 +0000</bug_when>
    <thetext>Some thoughts, from a user perspective:

* in general the generation of swupd data doesn&apos;t come for free (more space, more build time), so it might be preferable to have it set as a configurable option (beyond the inheritance or not from the swupd-image class)

* in the context of the previous bullet point, the swupd version vs build id reminds me of sha id vs tag in a git tree: every commit has a hash but not every commit is tagged. So here we could consider them in the same way: related but not identical.

* building on the previous 2 points, the id used by swupd could be provided without any pre-defined value, so that it is more obvious that this value really need to be provided from the outer context, be it CI pumping out progressive numbers, or a developer who has explicitly enabled the creation of swupd data and wants to generate a local repo that will be fed to a specific device (which in turn will be running a certain version and will update only to a higher number).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66076</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-13 09:30:41 +0000</bug_when>
    <thetext>I&apos;m increasingly of the opinion that this isn&apos;t a big issue and I think Igor&apos;s comment backs this. Closing as NOTABUG unless someone actually requests this consolidation.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>