From 273e12e38650a7da4390cdeaad9fa13018ed9765 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sun, 22 May 2011 19:39:54 +0200 Subject: [PATCH] Rule unification --- src/Composer/DependencyResolver/Solver.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Composer/DependencyResolver/Solver.php b/src/Composer/DependencyResolver/Solver.php index 791076caa..c80080af7 100644 --- a/src/Composer/DependencyResolver/Solver.php +++ b/src/Composer/DependencyResolver/Solver.php @@ -434,6 +434,11 @@ class Solver } } + public function unifyRules() + { + + } + public function solve(Request $request) { $this->jobs = $request->getJobs(); @@ -500,11 +505,7 @@ class Solver */ // solver_unifyrules(solv); /* remove duplicate rpm rules */ -// no idea what this is -// /* create dup maps if needed. We need the maps early to create our -// * update rules */ -// if (hasdupjob) -// solver_createdupmaps(solv); + $this->unifyRules(); foreach ($installedPackages as $package) { // create a feature rule which allows downgrades