Project

General

Profile

Feature #15875

Make it possible to resume an IUK download from within Tails

Added by u over 1 year ago. Updated 14 days ago.

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
08/30/2018
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:
Upgrader

Description

reported by users, but we do it only if it's cheap to implement because it might be superseded if we look into replacing our upgrader.

Downloading target files should be more robust on flaky Internet connections.

E.g. when a target file download times out, it should be retried a few times. Ideally, the download should be resumed using the already downloaded partial content. Possible implentation ideas:

  • LWP::UserAgent::ExponentialBackoff - not in Debian, not sure it resumes interrupted downloads)
  • LWP::UserAgent::Determined - in Debian, not sure it resumes interrupted downloads)
  • code samples that use the Range header when needed

But we currently use Curl so:

Alternatively, there could be a button for manually retrying or resuming an interrupted download.


Related issues

Related to Tails - Feature #14544: Spend software developer time on smallish UX improvements In Progress 08/31/2018
Related to Tails - Feature #15277: Update our survey of non-NIH system upgrade solutions Confirmed 02/03/2018
Duplicated by Tails - Feature #5825: Retry incremental upgrade downloads Duplicate

History

#1 Updated by sajolida over 1 year ago

  • Related to Feature #14544: Spend software developer time on smallish UX improvements added

#2 Updated by intrigeri over 1 year ago

  • Related to Feature #15277: Update our survey of non-NIH system upgrade solutions added

#3 Updated by intrigeri about 1 year ago

  • Duplicated by Feature #5825: Retry incremental upgrade downloads added

#4 Updated by intrigeri about 1 year ago

  • Description updated (diff)

#5 Updated by intrigeri about 1 year ago

  • Affected tool set to Upgrader

#6 Updated by intrigeri about 1 year ago

  • Description updated (diff)

#7 Updated by sampalmer 12 months ago

...
Alternatively, there could be a button for manually retrying or resuming an interrupted download.

This is a great initiative. The buttons for the user to click would be most simple to implement.

If a download stalls, the user is told. The user may click "Resume". It might fail, but the user might know that's because their internet is down, so the user waits longer before resuming again. Then it fails again, despite other internet systems working. The user then decides to restart the download: "Restart".

As you can see here, putting the user in charge means we don't need to anticipate design for many scenarios. Put the user in the loop, given them recommendation of the action they should take, and then let them have control.

This should result in less "errors" in this feature.

In the future, we might revisit this and make it "better". But I suspect that having the buttons for the user to control will be enough and also the best final solution.

Agreed?

#9 Updated by intrigeri 14 days ago

  • Target version changed from 2019 to Tails_4.2

The plan is to try to do this if it fits in the Upgrader work for #15281. Let's see how it goes in December.

Also available in: Atom PDF