[packagekit] PackageKit Collections

Tim Lauridsen tim.lauridsen at googlemail.com
Sat Sep 13 03:05:23 PDT 2008


John Walicki wrote:
> 
> Tim Lauridsen wrote on 09/11/2008 18:15:15 +0200:
> 
>  > He had a little discussion on irc today, about how to support yum groups
>  >    and other similar type of groups in other backend types.
>  >
>  > The idea was to handle the yum groups as metapackages shown in the gui
>  > in a special 'Collections' group.
>  >
>  > if you select the Collection you will see all yum comps groups as
>  > metapackages there can be install/removed/updated.
>  >
>  > In the api installPackages etc are extended to handle meta packages
>  >
>  > ? meta package id is just like an normal package id but with a special
>  > keyword instead of a repoid. it could be [meta] or ~meta.
>  >
>  > if a backend dont support this then it just dont return any members for
>  > the collection group (GROUP_META_PACKAGES).
>  >
>  > Let me know what you all thinks.
>  >
>  > Tim
> 
> Hi Tim
> I started to detail the use case for a PackageKit API for yum 
> groupinstall in this bugzilla ticket:
>  _https://bugzilla.redhat.com/show_bug.cgi?id=435768_ 
> 
> A special Collections group / metapackages in the gui would be fine.  We 
> also want to install the yum groups via a dbus call or an API call.
> 
> -- John Walicki

Hi John

I aware of the Open Client[1] needs (i use it myself :) ), this is part 
of why im pushing this issue.

the idea is to let installPackages support installing yum comps groups

id = 'ibm-open-client;;[meta]'
installPackage(id)

will do the same as 'yum groupinstall ibm-open-client', installing the 
comps group with the groupid=ibm-open-client.

We just need to agree on how to handle it in abstract way, so it can be 
useful in other package backends too and how to handle it in the gui.
Before starting to implement it in the yum backend.

Tim

[1] Open client is an internal IBM Linux client with an layer of 
cooperate application need by IBM Employees to do there daily work.
It is build on RHEL5 and SLES10, and currently a layer to install on top 
of Fedora 9/10 is under development.



More information about the PackageKit mailing list