[packagekit] yum get-updates

Robin Norwood rnorwood at redhat.com
Mon Oct 15 07:39:02 PDT 2007


Robin Norwood <rnorwood at redhat.com> writes:

> Richard Hughes <hughsient at gmail.com> writes:
>
>> Guys,
>>
>> [hughsie at hughsie-laptop src]$ /usr/share/PackageKit/helpers/yum/get-updates.py 
>> percentage      0
>> package normal  mencoder;1.0-0.86.rc2.lvn8;i386;livna-development       MPlayer movie encoder
>> package normal  mplayer-gui;1.0-0.86.rc2.lvn8;i386;livna-development    GUI for MPlayer
>> <exit>
>>
>> If get_updates is not providing percentage updates, can the methods
>> please emit "no-percentage-updates" - and then the UI can spin up and
>> down rather than sitting at 0%. I think other methods and backends are
>> guilty of this as well. I'm not sure if get_updates can be modified to
>> get the progress, or if it has to spin.
>
> Yep, looks broken.  I'll see about either adding a percentage thingie or
> no-percentage-updates

As expected, kindof hard to do percentage updates since yum gives the
updates to us all at once.

Committed patch to add no_percentage_updates.

-RN

-- 
Robin Norwood
Red Hat, Inc.

"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching


More information about the PackageKit mailing list