[packagekit] outdated tooltips

Adrien BUSTANY madcat at mymadcat.com
Fri Nov 16 04:22:02 PST 2007


Tim Lauridsen a écrit :
> Matthias Clasen wrote:
>   
>> On Nov 15, 2007 3:17 AM, Richard Hughes <hughsient at gmail.com> wrote:
>>     
>>> On Wed, 2007-11-14 at 17:17 +0000, Richard Hughes wrote:
>>>       
>>>> Maybe the yum
>>>> cli.py could call into PackageKit via DBUS (BackendStateMayHaveChanged)
>>>> when any transaction on the command line has completed. This would allow
>>>> the daemon to drop it's cache and not supply invalid data.
>>>>         
>>> Okay, thinking about this, maybe patching cli.py is crack, but I think a
>>> yum plugin (like yum-downloadonly) is exactly what we need.
>>>
>>> James, Tim, is this something one of you guys knows how to do? It just
>>> needs to call the method org.packagekit.BackendStateMayHaveChanged()
>>> when yum has finished an update transaction either from pup or the
>>> command line.
>>>       
>> FWIW, I am not worried about the interaction between yum cli and pk-update-icon.
>> I am worried about the icon and the update viewer showing me
>> conflicting information.
>> _______________________________________________
>> PackageKit mailing list
>> PackageKit at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/packagekit
>>     
>
> Cnanging yum.py to call pk, is a bad idea.
>
> but there is already exist a plugin called 'yum-refresh-updatesd' there 
> calls into the yum-updatesd via DBUS.
>
> http://devel.linux.duke.edu/gitweb/?p=yum-utils.git;a=blob;f=plugins/refresh-updatesd/refresh-updatesd.py
>
> it could be extended to call packagekit too.
>   
I think this is the way to go, duplicating that plugin and adapting it 
for packagekit

Adrien
> Tim
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>   




More information about the PackageKit mailing list