1
0
Fork 0

Improve SAT resolving developer debug information

pull/7357/head
Yanick Witschi 2018-05-18 10:59:09 +02:00
parent 089f3803de
commit 5435877bd9
1 changed files with 3 additions and 1 deletions

View File

@ -223,9 +223,10 @@ class Solver
/* make decisions based on job/update assertions */
$this->makeAssertionRuleDecisions();
$this->io->writeError('Resolving dependencies through SAT', true, IOInterface::DEBUG);
$this->io->writeError('Resolving dependencies through SAT', false, IOInterface::DEBUG);
$before = microtime(true);
$this->runSat(true);
$this->io->writeError('', true, IOInterface::DEBUG);
$this->io->writeError(sprintf('Dependency resolution completed in %.3f seconds', microtime(true) - $before), true, IOInterface::VERBOSE);
// decide to remove everything that's installed and undecided
@ -762,6 +763,7 @@ class Solver
for ($i = 0, $n = 0; $n < $rulesCount; $i++, $n++) {
if ($i == $rulesCount) {
$this->io->writeError('.', false, IOInterface::DEBUG);
$i = 0;
}