Author: kkaempf Date: Sat Jan 5 10:29:31 2008 New Revision: 8210 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8210&view=rev Log: make pool preparate implicit with Pool.create_solver make it explicit with Solver.new Modified: trunk/sat-solver/bindings/ruby/tests/solver.rb trunk/sat-solver/bindings/satsolver.i Modified: trunk/sat-solver/bindings/ruby/tests/solver.rb URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/ruby/tests/solver.rb?rev=8210&r1=8209&r2=8210&view=diff ============================================================================== --- trunk/sat-solver/bindings/ruby/tests/solver.rb (original) +++ trunk/sat-solver/bindings/ruby/tests/solver.rb Sat Jan 5 10:29:31 2008 @@ -18,6 +18,7 @@ solver = SatSolver::Solver.new( pool, system ) solver.allow_uninstall = 1 + pool.prepare solver.solve( transaction ) solver.each_to_install { |s| puts "Install #{s}" Modified: trunk/sat-solver/bindings/satsolver.i URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/satsolver.i?rev=8210&r1=8209&r2=8210&view=diff ============================================================================== --- trunk/sat-solver/bindings/satsolver.i (original) +++ trunk/sat-solver/bindings/satsolver.i Sat Jan 5 10:29:31 2008 @@ -561,7 +561,10 @@ */ Solver* create_solver( Repo *installed = NULL ) - { return solver_create( $self, installed ); } + { + pool_createwhatprovides( $self ); + return solver_create( $self, installed ); + } } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org