Mailinglist Archive: zypp-devel (148 mails)

< Previous Next >
Re: [zypp-devel] New resolvable state : recommended/suggested
  • From: Stefan Schubert <schubi@xxxxxxx>
  • Date: Fri, 28 Mar 2008 10:01:39 +0100
  • Message-id: <47ECB3F3.2010401@xxxxxxx>
Duncan Mac-Vicar P. schrieb:
Klaus Kaempf wrote:

* Stefan Schubert <schubi@xxxxxxx> [Mar 28. 2008 09:51]:


Are there iterators available like 'eachRecommended()' ?



A good point.....


;-)

I'd like to reduce (to zero, actually) any loops 'over pool' in zypp
applications.



Then why do you recommend a iterator? On what do you want to iterate on
then?

( actually, in pool the iterator exists, but needs to be constructed
using filter iterator and status filter, this could be wrapped each
recommended I think )

Duncan


I had thought on a new ResFilter kind:
ByRecommended and BySuggested

--
*******************************************************************************
Stefan Schubert
SUSE LINUX GmbH - Maxfeldstrasse 5 - D-90409 Nuernberg, Germany
e-mail: schubi@xxxxxxx
-------------------------------------------------------------------------------
SUSE LINUX Products GmbH, 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 >