[packagekit] Getting updates whilst updating system

Ken VanDine ken at vandine.org
Tue Oct 23 11:29:25 PDT 2007


Maybe warn that an update is applying, display the list of updates we
know about, and disable the Apply button.

--Ken

On 10/23/07, Robin Norwood <rnorwood at redhat.com> wrote:
> "Ken VanDine" <ken at vandine.org> writes:
>
> > I vote for option 4, tell the user their the an update running...
> > possible wait or let the user re-queue.  But we should tell we are
> > "doing something".
>
> +1 to this.  But there are all sorts of nasty corner cases.
>
> o User opens update viewer, looks at stuff.
> o Something automatically queues updates.
>
> So I guess we'd need to do the 'am I updating stuff' check whenever the
> update list is updated, and whenever the user clicks on the 'update now'
> button.
>
> -RN
>
> > On 10/23/07, Richard Hughes <hughsient at gmail.com> wrote:
> >> If we are in the middle of a UpdateSystem call, and the user opens up
> >> the update viewer, what are we supposed to do?
> >>
> >> 1. Queue the transaction, so the user just gets the pulsating bar for
> >> ~15 minutes
> >> 2. Return "No updates available"
> >> 3. Return the cached list of updates that we are installing
> >>
> >> 1 is what we do now, and is less than great. 3 would let the user queue
> >> two update transactions, which probably isn't what we want.
> >>
> >> Comments?
> >>
> >> Richard.
> >>
> >>
> >> _______________________________________________
> >> PackageKit mailing list
> >> PackageKit at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/packagekit
> >>
>
> --
> Robin Norwood
> Red Hat, Inc.
>
> "The Sage does nothing, yet nothing remains undone."
> -Lao Tzu, Te Tao Ching
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>


-- 
Ken VanDine
http://ken.vandine.org



More information about the PackageKit mailing list