Mailinglist Archive: zypp-devel (78 mails)
| < Previous | Next > |
Re: [zypp-devel] Auto selectables
- From: Ricardo Cruz <rpmcruz@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 19:41:58 +0000
- Message-id: <1196365318.28508.32.camel@xxxxxxxxxx>
Qui, 2007-11-29 às 09:19 +0100, Stefan Schubert escreveu:
I'm just doing: zypp::getZYpp()->resolver()->resolvePools();
How do I know the selectables that were touched by that? isBySolver()
seems to be returning true for every selectable.
Thanks,
Ricardo
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
Ricardo Cruz schrieb:What do you mean by the current solver?
Each item (e.g. package) has a status which is described here:
http://en.opensuse.org/Libzypp/Solver#Solutions
You can ask an item if it will be transacted (delete/install) by the solver:
File ResStatus.h
bool isBySolver() const
BUT this status reflects the current solver run only. We do not store this
information permanently for future use.
I'm just doing: zypp::getZYpp()->resolver()->resolvePools();
How do I know the selectables that were touched by that? isBySolver()
seems to be returning true for every selectable.
Thanks,
Ricardo
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |