1
0
Fork 0

No need to unify rules, we already check for duplication on insertion

pull/1/head
Nils Adermann 2011-06-03 18:03:12 +02:00
parent d181e32000
commit 8cbf3f4d75
1 changed files with 0 additions and 15 deletions

View File

@ -447,11 +447,6 @@ class Solver
} }
} }
public function unifyRules()
{
}
public function solve(Request $request) public function solve(Request $request)
{ {
$this->jobs = $request->getJobs(); $this->jobs = $request->getJobs();
@ -509,16 +504,6 @@ class Solver
} }
// solver_addrpmrulesforweak(solv, &addedmap); // solver_addrpmrulesforweak(solv, &addedmap);
/*
* first pass done, we now have all the rpm rules we need.
* unify existing rules before going over all job rules and
* policy rules.
* at this point the system is always solvable,
* as an empty system (remove all packages) is a valid solution
*/
// solver_unifyrules(solv); /* remove duplicate rpm rules */
$this->unifyRules();
foreach ($installedPackages as $package) { foreach ($installedPackages as $package) {
// create a feature rule which allows downgrades // create a feature rule which allows downgrades