Hello community, here is the log from the commit of package libzypp-zmd-backend checked in at Wed Oct 18 15:30:36 CEST 2006. -------- --- libzypp-zmd-backend/libzypp-zmd-backend.changes 2006-10-16 00:13:17.000000000 +0200 +++ /mounts/work_src_done/STABLE/libzypp-zmd-backend/libzypp-zmd-backend.changes 2006-10-18 15:30:09.000000000 +0200 @@ -1,0 +2,8 @@ +Wed Oct 18 12:10:47 CEST 2006 - dmacvicar@suse.de + +- query-pool products @system does not show installed + products. (target is not autoloaded in zypp 2.4) + (#213261) +- r4324 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzypp-zmd-backend.spec ++++++ --- /var/tmp/diff_new_pack.Q9TrpT/_old 2006-10-18 15:30:23.000000000 +0200 +++ /var/tmp/diff_new_pack.Q9TrpT/_new 2006-10-18 15:30:23.000000000 +0200 @@ -12,8 +12,8 @@ Name: libzypp-zmd-backend Version: 7.1.1.0_0.4 -Release: 10 -License: GPL +Release: 13 +License: Other License(s), see package Group: System/Management Summary: ZMD backend for Package, Patch, Pattern, and Product Management Requires: libzypp >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' libzypp`) @@ -72,6 +72,11 @@ /etc/logrotate.d/zmd-backend %changelog -n libzypp-zmd-backend +* Wed Oct 18 2006 - dmacvicar@suse.de +- query-pool products @system does not show installed + products. (target is not autoloaded in zypp 2.4) + (#213261) +- r4324 * Mon Oct 16 2006 - schwab@suse.de - Make sure config.rpath is present. * Wed Oct 04 2006 - dmacvicar@suse.de ++++++ zmd-backend-7.1.1.0_0.4.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-backend-7.1.1.0_0.4/src/query-pool.cc new/zmd-backend-7.1.1.0_0.4/src/query-pool.cc --- old/zmd-backend-7.1.1.0_0.4/src/query-pool.cc 2006-09-12 15:30:39.000000000 +0200 +++ new/zmd-backend-7.1.1.0_0.4/src/query-pool.cc 2006-10-18 12:03:42.000000000 +0200 @@ -88,6 +88,22 @@ exit( 1 ); } } + + // add resolvables from the system + if ( filter != FILTER_ALL ) + { + ResStore items; + for (ResStore::resfilter_const_iterator it = Z->target()->byKindBegin(kind); it != Z->target()->byKindEnd(kind); ++it) + { + items.insert(*it); + } + Z->addResolvables( items, true ); + } + else + { + // no filter, just add themm all + Z->addResolvables( Z->target()->resolvables(), true ); + } // add all non-installed (cached sources) resolvables to the pool // remark: If only the systems resolvables should be shown (catalog == "@system") @@ -155,7 +171,7 @@ KeyRingCallbacks keyring_callbacks; DigestCallbacks digest_callbacks; - Target_Ptr target = backend::initTarget( Z, false ); + Target_Ptr target = backend::initTarget( Z, "/" ); query_pool( Z, filter, catalog ); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org