← Back to team overview

ubuntu-phone team mailing list archive

Re: Ubuntu Download Manager broken since #213

 

On Mar 03, 2014, at 02:50 AM, Alejandro J. Cura wrote:

>You mention that you don't like the download manager doing the
>installation, but to put it more strictly: the download manager is
>actually just running a command given by the scope when a given
>download is completed. And the installation proper happens in that
>command. This is done, as you've explained, because the scope process
>may already be dead by the time that the download has finished, and
>the dash may not be showing the preview for the current download so
>it's not keeping track of the download progress and finished signals.

It makes me uncomfortable for u-d-m to be running a command.  In general, I
think u-d-m should have one job only: download files it's asked to download.

>If needed we can replace this with a dbus call that activates a
>process in a different security context; but I fail to see a problem
>yet with spawning a process from udm. Can you shed some more light on
>it? Moreover, I can't see how doing things differently would have
>prevented this specific bug.

Sounds like Ted has a workable approach that's worth investigating.

-Barry

Attachment: signature.asc
Description: PGP signature


Follow ups

References