[packagekit] Newest Group?

Tim Lauridsen tim.lauridsen at googlemail.com
Mon Oct 13 09:01:21 PDT 2008


Richard Hughes wrote:
> On Mon, 2008-10-13 at 15:44 +0200, Tim Lauridsen wrote:
>   
>> Richard Hughes wrote:
>>     
>>> In bug https://bugs.freedesktop.org/show_bug.cgi?id=17837 the user
>>> describes a group that contains all the newest packages.
>>>
>>> Is there a way a backend could provide a meta-group for the last 50
>>> newest added packages? Does any other backend other than apt provide
>>> this information?
>>>
>>> Richard.
>>>
>>>
>>> _______________________________________________
>>> PackageKit mailing list
>>> PackageKit at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/packagekit
>>>       
>> yum list recent :)
>>     
>
> Ahh, right :-)
>
>   
>> I can be done easily in the yum backend.
>>
>> may something like
>> search-name none 'recent'
>>     
>
> "search-group none recent" please. Using a groups provides a way for the
> backend to inform the frontend if it supports the feature using a single
> bit in the PkGroupEnum.
>
>   
yes of cause 'recent' was just a substitute for the GROUP_RECENT enum 
(or what it is called)
>> could return the latest packages, but it will return both newly added 
>> packages and newly updated packages.
>>     
>
> Ahh. Can we stick to the newest _added_ packages for "search-group none
> recent" please -- I'm not sure we want to add "recent updates" to the
> searching interface, but maybe to the update viewer interface. That's an
> addition for another day.
>   
how do you know if a package is a new added package or a just updated 
package ?
of cause you can do that if you have a older version installed.

Ex.
foo is not install, and foo-2.0 exist in the repo with a recent date, 
but you have no way to see if the package is new added or newly update, you
can just see it is updated recently.
if foo-1.0 is installed then you know that foo-2.0 is an update.

We can define that
search-group none GROUP_RECENT should return recent non installed packages.

but what about:

search-group installed GROUP_RECENT

what should it return ?.

Tim
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20081013/266f7c15/attachment-0004.htm>


More information about the PackageKit mailing list