* Michael Andres
On Friday 02 September 2011 10:53:30 Klaus Kaempf wrote:
* Michael Andres
[Sep 02. 2011 10:49]: We can also work on the zypp solvers API side. AFAIK the solver is basically able to resolve requests like 'install one out of a set of packages'. There's just no zypp side api for this.
The complete solver api, including policies, is available in the satsolver bindings. Exposing these in the libzypp bindings should be fairly simple and also prevent from re-inventing the wheel.
But libzypp does not grant unattended lowlevel access to the satsolver instance it is using.
Actually, I'd consider this a bug. I imagine libzypp as a collection of modules using a common base for datastructures and API design. The modules are repo mgmt, solver, package download, and transaction commit. Libzypp should not try to reinvent the wheel or hide underlying implementations only where it provides real value. Klaus --- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org