<?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>9493</bug_id>
          
          <creation_ts>2016-04-20 10:41:51 +0000</creation_ts>
          <short_desc>Support dummy/empty bundles</short_desc>
          <delta_ts>2016-07-15 16:02:20 +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>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>igor.stoppa</cc>
    
    <cc>jose.perez.carranza</cc>
          
          <qa_contact name="Libertad">libertad.gonzalez.de.la.cruz</qa_contact>
          <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>61437</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-04-20 10:41:51 +0000</bug_when>
    <thetext>swupd-client doesn&apos;t support bundles being removed from the server.

We need to support dummy bundles in meta-swupd which allow swupd-server to generate appropriate manifest information such that a client still sees the bundle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62096</commentid>
    <comment_count>1</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2016-05-11 11:43:33 +0000</bug_when>
    <thetext>This seems more like a feature request for swupd: if a bundle is removed from the next version, require confirmation that it&apos;s ok to remove it also from the device.

This approach is a bit strict, but it should ensure that there are no chances of incompatible sw left on the device.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62116</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-05-11 18:51:23 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; This seems more like a feature request for swupd: if a bundle is removed
&gt; from the next version, require confirmation that it&apos;s ok to remove it also
&gt; from the device.
&gt; 
&gt; This approach is a bit strict, but it should ensure that there are no
&gt; chances of incompatible sw left on the device.

I need to sync with the swupd developers on this, I seem to recall learning through the grapevine that it is an intended design decision that swupd-client doesn&apos;t support a bundle manifest no longer existing. IIRC this is because if the manifest file isn&apos;t present it&apos;s hard to know whether this was intentional or due to some other error, whereas it&apos;s more likely that an *empty* (and therefore small footprint) manifest is intentional and signifies the bundle (and any contents not being provided by other bundles) should be removed.

It&apos;s fairly trivial to support &apos;retiring&apos; bundles in meta-swupd; my current implementation requires they be listed in a separate variable so that the action is very explicit on the OS builders part.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62565</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-06-01 16:42:07 +0000</bug_when>
    <thetext>Merged to meta-swupd master:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-swupd/commit/?id=28bca32d384c2286a3efa4458f4c14fed40aca7b

This was implemented as a separate variable as it is expected the latter is more likely to lead to unexpected results due to accidental misconfiguration.

This variable still needs documenting in docs/Guide.md</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>