Plumb progress through DBus signals

Bug #1204618 reported by Barry Warsaw on 2013-07-24
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ubuntu system image
Barry Warsaw
system-image (Ubuntu)

Bug Description

The DBus API needs progress signals.

Barry Warsaw (barry) on 2013-07-26
Changed in ubuntu-system-image:
milestone: 0.9 → 1.0
Barry Warsaw (barry) on 2013-07-31
Changed in ubuntu-system-image:
milestone: 1.0 → none
Barry Warsaw (barry) on 2013-10-01
Changed in ubuntu-system-image:
importance: High → Critical
assignee: nobody → Barry Warsaw (barry)
milestone: none → 1.8
Barry Warsaw (barry) on 2013-10-02
Changed in ubuntu-system-image:
status: Triaged → In Progress
Barry Warsaw (barry) wrote :

As per spec, no progress will be sent while downloads are occurring which are only used to decide if an update is available. When the actual update files are being downloaded, progress from the u-d-m will be plumbed through (after conversion, see below) to UpdateProgress signals as per the s-i D-Bus spec. Also as per spec, we always start by sending an UpdateProgress(0, 0) signal, so you are guaranteed to at least get that. The rest is up to u-d-m.

Note that u-d-m gives us different progress values than the u/i wants from s-i. u-d-m gives us bytes-received and total-bytes. s-i gives percentage (as integer from 0 to 100) and eta. We cannot currently calculate an accurate eta, so again as per spec, we'll always send an eta of 0, although the percentage will be correct, floored to an integer. If the u/i wants an accurate (as possible) eta, let's open a separate bug on that.

Barry Warsaw (barry) on 2013-10-02
Changed in ubuntu-system-image:
status: In Progress → Fix Committed
Barry Warsaw (barry) on 2013-10-02
Changed in ubuntu-system-image:
status: Fix Committed → Fix Released
Barry Warsaw (barry) on 2014-05-27
Changed in system-image (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers