Mailinglist Archive: zypp-devel (116 mails)

< Previous Next >
Re: [zypp-devel] status 18.6.
  • From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
  • Date: Mon, 18 Jun 2007 16:28:30 +0200
  • Message-id: <200706181628.30904.dmacvicar@xxxxxxx>
On Monday 18 June 2007 15:56:45 Klaus Kaempf wrote:
> >   This will of course be solved with a full-featured query API, which
> >   will later be used by both solver and user searches. Would anybody
> >   mind if i looked into this during the Hack Week?

You can already use ResolvableQuery for search, no need to restore a source to 
get the id of one package!

The rule is, we only need to read a source if we are going to solve it.

ResolvableQuery has a hook that is called for every result, with the 
Resolvable data for that one. Then you can use the id to ask more attributes.

-- 
Duncan Mac-Vicar Prett  
Novell :: SUSE R&D, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
References