[packagekit] some more impressions

Tim Lauridsen tla at rasmil.dk
Mon Oct 29 03:09:35 PDT 2007


Tim Lauridsen wrote:
> Richard Hughes wrote:
>> On Sun, 2007-10-28 at 23:48 +0100, Adrien BUSTANY wrote:
>>   
>>> Richard Hughes a écrit :
>>>     
>>>> Hmm, I never thought of this. Maybe we need an explicit enum "cleanup"
>>>> rather than "removing" when yum is updating. Can yum distinguish the
>>>> difference between removing a package, and removing an old version due
>>>> to an upgrade?
>>>>   
>>>>       
>>> Yes, the prefix is Cleanup (before the progress bar)
>>>     
>>
>> Cool, then we should emit "cleanup" to mean "removing old version of
>> package as part of upgrade" but still do "removing" for genuine
>> removals.
>>
>> Yum dudes - is this okay?
>>
>> Richard.
>>
>>   
> Sounds fine, i will add it
>
> Tim
> ------------------------------------------------------------------------
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>   
I have reworked to yum backend to emit the right states when processing 
the transactions
i have added some new signals

package signal:
INFO_CLEANUP = "cleanup"
INFO_OBSOLETE = "obsoleting"

status signal:
STATE_CLEANUP = "cleanup"
STATE_OBSOLETE = "obsolete"

Tim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20071029/79d0e888/attachment-0003.htm>


More information about the PackageKit mailing list