#12414: [package kit] Package downloads not retried / resumeable
-------------------------+-------------------------------------------------
Reporter: | Owner: leavengood
waddlesplash |
Type: | Status: assigned
enhancement |
Priority: critical | Milestone: R1/beta3
Component: | Version: R1/Development
Kits/Package Kit |
Resolution: | Keywords:
Blocked By: | Blocking: 11637, 12691, 13816, 14948, 15312,
Platform: All | 16387
-------------------------+-------------------------------------------------
Comment (by Starcrasher):
For now, a transaction fails as soon as a package fails to download. The
transaction folder contains all packages already downloaded completely and
the incomplete download. We know that the corrupted file is the last in
time. When the transaction is aborted, could we delete that file?
It would ensure that all packages files in the transaction folder are
complete and reusable.
As an option, we could even try to proceed with files already downloaded.
Example:\\
I use SoftwareUpdater. There's Haiku new revision and KWrite to update.
Let's say Kwrite package failed to download, it would still allow to
update Haiku.
Additionally, we could put a text file in transaction folder indicating
the reason of the abnormal end of the transaction.
Example:\\
Transaction cancelled by user. (only if some packages were already
downloaded)\\
Transaction aborted, package name_of_the_guilty.hpkg failed to download
completely.
--
Ticket URL: <https://dev.haiku-os.org/ticket/12414#comment:14>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.