[packagekit] Do we need a Resolve() method?

Richard Hughes hughsient at gmail.com
Fri Sep 21 12:02:29 PDT 2007


On Fri, 2007-09-21 at 20:49 +0200, Tim Lauridsen wrote:
> Richard Hughes wrote: 
> > On Fri, 2007-09-21 at 20:24 +0200, Tim Lauridsen wrote:
> >   
> > > to make it clear for me, do you want to make yum-resolve 
> > > 'openoffice-clipart return then list of package ids in transaction there 
> > > will be installed
> > > like if you type 'yum install openoffice'.
> > > yum-resolve <action> <package>|<package wildcard>, where <action> = 
> > > 'install/remove' counld be an idea
> > >     
> > 
> > No, if we want the deps then we would use GetDepends. Resolve should
> > basically just turn a random package name into a packageid.
> what about adding some kind of unique flag to search-name then
> *.search-name unique;~installed openoffice-clipart

No, I think it's different enough in concept to warrant a new method.
Filters are not parameters, else you could argue you could get rid of
search-details and the rest. And then you need a way to get the
different parameters... and you see the problem.

Richard.





More information about the PackageKit mailing list