[packagekit] Fix show percentage in Katja backend during download

Sasa Ostrouska casaxa at gmail.com
Mon Dec 8 07:07:37 PST 2014


On Mon, Dec 8, 2014 at 11:55 AM, Richard Hughes <hughsient at gmail.com> wrote:

> On 8 December 2014 at 14:51, Sasa Ostrouska <casaxa at gmail.com> wrote:
> > Hi Richard, many thanks for the answer, in my opinion it is way more
> logical
> > to have it for each task showing the percentage of the completion of
> task.
>
> Why is that more logical? If you provide multiple 0->100% phases then
> you also need to provide a percentage report of how many phases there
> are going to be. The frontend just needs to know if the task is
> completely done, or half done, or only just started. Per-package
> progress can be communicated using ItemProgress.
>
> For me its way more easy to understand at which point of some phase
something was done.
If I have 10 packages and in the download of the fourth package has gone
the connection
its better to know it was at 40% rather than at 25% or any arbitrary number
divided by the
whole number of processes to complete the task. But this is just how I see
it. No problem, if PK
was engineered in the way that one percentage of completion is divided by
all the tasks then
I think there is nothing wrong, its just my point of view thats a bit
different. Both work for sure.

Rgds
Saxa



> Richard
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20141208/0f322dcd/attachment.html>


More information about the PackageKit mailing list