Dne Thursday 29 November 2007 02:45:05 Ricardo Cruz napsal(a):
Hi,
Any direct way to know the packages that the resolver has modified?
Iterating the pool looking for packages with the Auto status should be good enough for what I want, but just wondering there.
I use this code in ncurses PM: ZyppPoolIterator b = zyppPkgBegin(), e = zyppPkgEnd(), it; for (it = b; it != e; ++it) { zypp::ui::Selectable::Ptr slb = *it; // show all packages which are automatically selected for installation if ( slb->toModify() && slb->modifiedBy () != zypp::ResStatus::USER ) .... } implicitely assuming that if the packages were not modified by user, it must have been solver who changed their status... But don't know if it's correct and optimal solution, after all, I'm not a zypp developer B. -- \\\\\ Katarina Machalkova \\\\\\\__o YaST developer __\\\\\\\'/_ & hedgehog painter