<?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>9322</bug_id>
          
          <creation_ts>2016-03-22 12:29:02 +0000</creation_ts>
          <short_desc>[meta-swupd] algorithm for determining previous version</short_desc>
          <delta_ts>2018-10-11 15:23:58 +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>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Patrick Ohly">patrick.ohly</assigned_to>
          <cc>patrick.ohly</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>60280</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-03-22 12:29:02 +0000</bug_when>
    <thetext>The expected algorithm below, based on the shell script pack_maker.sh from swupd-server, is:
1. parse the latest Manifest.MoM,
2. extract &quot;previous&quot;,
3. parse the &quot;previous&quot; Manifest.MoM
4. repeat the steps 2-4 $SWUPD_N_DELTAPACK - 1 times.

This enhancement is useful because there might be correcting releases whose version id is not a multiple of 10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77005</commentid>
    <comment_count>1</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2017-09-21 07:07:06 +0000</bug_when>
    <thetext>Right now there is no algorithm at all anymore, the versions against which deltas are to be calculated have to be set in SWUPD_DELTAPACK_VERSIONS.

Not sure whether this is really required at the moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81810</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-10-11 15:23:58 +0000</bug_when>
    <thetext>Upstream swupd has changed a lot and integration with the Yocto Project would be tricky and need rework to the layer. Closing this as obsolete since any new integration would need rework and have its own issues.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>