-------------------------------------------------------------------
-Fri Nov 3 16:33:12 CET 2006 - mvidner@suse.cz
+Fri Nov 3 17:48:09 CET 2006 - mvidner@suse.cz
- log to /var/log/YaST2/zypper.log (for save_y2logs too).
+- Added dump_pool in "zypper patches"
-------------------------------------------------------------------
Thu Nov 2 18:24:09 CET 2006 - mvidner@suse.cz
return "error";
}
+static void dump_pool ()
+{
+ int count = 1;
+ static bool full_pool_shown = false;
+
+ _XDEBUG( "---------------------------------------" );
+ for (ResPool::const_iterator it = God->pool().begin(); it != God->pool().end(); ++it, ++count) {
+
+ if (!full_pool_shown // show item if not shown all before
+ || it->status().transacts() // or transacts
+ || !it->status().isUndetermined()) // or established status
+ {
+ _DEBUG( count << ": " << *it );
+ }
+ }
+ _XDEBUG( "---------------------------------------" );
+ full_pool_shown = true;
+}
+
// patches
-void show_pool()
+void show_patches()
{
MIL << "Pool contains " << God->pool().size() << " items. Checking whether available patches are needed." << std::endl;
+ dump_pool ();
Table tbl;
TableHeader th;