Mailinglist Archive: zypp-devel (70 mails)

< Previous Next >
Re: [zypp-devel] Re: sat solver enhancements and questions
  • From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
  • Date: Fri, 26 Oct 2007 16:01:12 +0200
  • Message-id: <200710261601.13716.dmacvicar@xxxxxxx>

ok I just commited everything, and I got the solver results iterators working:

solv.solve(q)

solv.each_to_install do |i|
puts "to install #{i}"
end

solv.each_to_remove do |i|
puts "to remove #{i}"
end

Michael (matz), with your sugestion about the queue api? how should it look
like? Do you mean replace:

q.push(SOLVER_INSTALL_SOLVABLE)
q.push(r)

with q.push_install(r), or q.push(r, :install)
or?

Duncan
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups