Hello community, here is the log from the commit of package yast2-ncurses checked in at Fri Apr 21 13:02:52 CEST 2006. -------- --- yast2-ncurses/yast2-ncurses.changes 2006-04-20 17:35:41.000000000 +0200 +++ STABLE/yast2-ncurses/yast2-ncurses.changes 2006-04-21 08:06:46.000000000 +0200 @@ -1,0 +2,7 @@ +Fri Apr 21 08:05:44 CEST 2006 - gs@suse.de + +- list of problematic update items added +- handle Auto status for patches +- 2.13.24 + +------------------------------------------------------------------- Old: ---- yast2-ncurses-2.13.23.tar.bz2 New: ---- yast2-ncurses-2.13.24.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-ncurses.spec ++++++ --- /var/tmp/diff_new_pack.CUEis2/_old 2006-04-21 13:02:07.000000000 +0200 +++ /var/tmp/diff_new_pack.CUEis2/_new 2006-04-21 13:02:07.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-ncurses (Version 2.13.23) +# spec file for package yast2-ncurses (Version 2.13.24) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,12 +11,12 @@ # norootforbuild Name: yast2-ncurses -Version: 2.13.23 +Version: 2.13.24 Release: 1 License: GPL Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-ncurses-2.13.23.tar.bz2 +Source0: yast2-ncurses-2.13.24.tar.bz2 prefix: /usr BuildRequires: doxygen gcc-c++ libzypp-devel yast2-core-devel yast2-devtools BuildRequires: blocxx-devel libxcrypt-devel @@ -40,7 +40,7 @@ %prep -%setup -n yast2-ncurses-2.13.23 +%setup -n yast2-ncurses-2.13.24 %build %{prefix}/bin/y2tool y2autoconf @@ -73,6 +73,10 @@ %doc %{prefix}/share/doc/packages/yast2-ncurses %changelog -n yast2-ncurses +* Fri Apr 21 2006 - gs@suse.de +- list of problematic update items added +- handle Auto status for patches +- 2.13.24 * Thu Apr 20 2006 - gs@suse.de - Don't show the "Automatic Changes" list in Online Update mode - 2.13.23 ++++++ yast2-ncurses-2.13.23.tar.bz2 -> yast2-ncurses-2.13.24.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.13.23/VERSION new/yast2-ncurses-2.13.24/VERSION --- old/yast2-ncurses-2.13.23/VERSION 2006-04-20 17:34:14.000000000 +0200 +++ new/yast2-ncurses-2.13.24/VERSION 2006-04-21 08:06:56.000000000 +0200 @@ -1 +1 @@ -2.13.23 +2.13.24 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.13.23/src/NCPkgTable.cc new/yast2-ncurses-2.13.24/src/NCPkgTable.cc --- old/yast2-ncurses-2.13.23/src/NCPkgTable.cc 2006-04-19 13:37:40.000000000 +0200 +++ new/yast2-ncurses-2.13.24/src/NCPkgTable.cc 2006-04-21 07:45:01.000000000 +0200 @@ -486,9 +486,7 @@ break; } case T_Update: { -#ifdef FIXME - if ( !Y2PM::packageManager().updateEmpty() ) -#endif + if ( ! zypp::getZYpp()->resolver()->problematicUpdateItems().empty() ) { packager->fillUpdateList(); // set the visible info to package description diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.13.23/src/ObjectStatStrategy.cc new/yast2-ncurses-2.13.24/src/ObjectStatStrategy.cc --- old/yast2-ncurses-2.13.23/src/ObjectStatStrategy.cc 2006-04-19 12:04:55.000000000 +0200 +++ new/yast2-ncurses-2.13.24/src/ObjectStatStrategy.cc 2006-04-21 07:24:57.000000000 +0200 @@ -411,9 +411,12 @@ switch ( oldStatus ) { case S_Install: + case S_AutoInstall: newStatus =S_NoInst ; break; case S_Update: + case S_AutoUpdate: + case S_AutoDel: newStatus = S_KeepInstalled; break; case S_KeepInstalled: diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.13.23/src/PackageSelector.cc new/yast2-ncurses-2.13.24/src/PackageSelector.cc --- old/yast2-ncurses-2.13.23/src/PackageSelector.cc 2006-04-20 16:51:24.000000000 +0200 +++ new/yast2-ncurses-2.13.24/src/PackageSelector.cc 2006-04-21 07:54:58.000000000 +0200 @@ -714,31 +714,28 @@ // clear the package table packageList->itemsCleared (); - ZyppPoolIterator b = zyppPkgBegin (); - ZyppPoolIterator e = zyppPkgEnd (); - ZyppPoolIterator i; - - // FIXME, how is an update problem defined? - // see packagemanager/src/pkg/PMPackageManager_update.cc _update_items - UIINT << "Update problems not defined!" << endl; - - for (i = b; i != e; ++i) + listzypp::PoolItem_Ref problemList = zypp::getZYpp()->resolver()->problematicUpdateItems(); + + for ( listzypp::PoolItem_Ref::const_iterator it = problemList.begin(); + it != problemList.end(); + ++it ) { - ZyppSel slb = *i; - ZyppPkg pkg = tryCastToZyppPkg (slb->theObj ()); // ?? + ZyppPkg pkg = tryCastToZyppPkg( (*it).resolvable() ); - zypp::ui::Status st = slb->status (); - switch (st) { - case S_Protected: - case S_Taboo: - case S_AutoDel: + if ( pkg ) + { + ZyppSel slb = selMapper.findZyppSel( pkg ); + + if ( slb ) + { + NCMIL << "Problematic package: " << pkg->name().c_str() << " " << + pkg->edition().asString().c_str() << endl; packageList->createListEntry( pkg, slb ); - break; - default: - break; + } } + } - + // show the list packageList->drawList(); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...