120 Commits (4bbb168d44d878567d6316dbc1a96502ab6cb49f)

Author SHA1 Message Date
Nils Adermann 12abff8b4c Simplify branch handling code 12 years ago
Nils Adermann 5b1a48663e DecisionQueueFree is no longer needed 12 years ago
Nils Adermann 2fbc04b950 Make decisions countable and use foreach to iterate them in solver 12 years ago
Nils Adermann d592c0a55e Remove only branches on right levels in revert 12 years ago
Nils Adermann ac762ba6e9 Correctly resolve branches if necessary 12 years ago
Nils Adermann 67fde90666 Correctly sort operations within transactions using DFS
Fixes #655
12 years ago
Nils Adermann 26e051cb76 Decisions are now encapsulated in a separate object 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Nils Adermann 21c7e219e2 Change "else if" to "elseif" 12 years ago
Nils Adermann 99200af51b Correctly indent break statements 12 years ago
Nils Adermann 76d3950992 Document the RuleWatchGraph 12 years ago
Nils Adermann 2dfea8a5e0 Only consider undecided literals for selectAndInstall
Fixes #707
12 years ago
Nils Adermann dd527a4049 Remove weak rules
Since we no longer have suggest/recommend rules and no longer use any update
or feature rules so packages are removed by default, we do not need weak rules
anymore.
12 years ago
Nils Adermann 025581b365 Rename walkLiteral method to more explicitly say what it does 12 years ago
Nils Adermann 451bab1c2c Get rid of Literal object / literal id mix, use literals only to save memory 12 years ago
Nils Adermann 731a451dfe Move handling of watch graph to separate classes 12 years ago
Nils Adermann 71ee5c8f4c We don't have a systemsolvable at the lowest level 12 years ago
Nils Adermann 286593cf99 Move solver debugging code into solver subclass 12 years ago
Nils Adermann 46e4ae0e6a Move rule generation from solver into separate rule set generator 12 years ago
Nils Adermann 70e306f055 Process all jobs in one method and remove lock jobs which are not used 12 years ago
Nils Adermann 3fcd042fd4 Skip adding (ignored) duplicate rules which were already added 12 years ago
Nils Adermann 1d60ae1bfc We no longer support recommended packages, remove left over code 12 years ago
Nils Adermann 92ecf5a603 Remove unused variables 12 years ago
Nils Adermann bd66c27ff6 We mark packages as uninstallable by removing them from the repo
As it is faster to remove packages from the repos and keep them out of the
package pool to begin with, we don't need an installable() method on the
policy.
12 years ago
Nils Adermann 8fc09afbae Move transaction generation to a separate class 12 years ago
Nils Adermann 37d271271d Turn assertions into solver bug exceptions with more info 12 years ago
Nils Adermann 0c1944a9d0 Let the solver handle aliases instead of the installer 12 years ago
Nils Adermann 15f43571b9 Rules of type feature are no longer needed 12 years ago
Nils Adermann 69b55f12ae Call feature rules update rules, as there is no difference in composer 12 years ago
Nils Adermann 0bd6fa1f37 An array of installed packages is no longer needed in the solver 12 years ago
Nils Adermann cf5d14e2e1 Move all solver members to top of the file 12 years ago
Nils Adermann c51fedef8c Policy rules cannot conflict with jobs anymore
As we no longer need special feature rules for updating installed packages
we don't have policy rules which might conflict with job rules anymore.
Everything is driven by jobs now.
12 years ago
Nils Adermann 5feff954a4 Remove commented out debug output 12 years ago
Nils Adermann c37e126e14 Installed packages are now always removed unless otherwise requested
This means that an update request must always be accompanied by an install
request, otherwise the package might be removed rather than updated.
12 years ago
Nils Adermann f4ae88a5d6 Create lookup table for installed packages in only one place 12 years ago
Nils Adermann 5daeacf0ac We won't implement choice rules, you need to edit composer.json to choose 12 years ago
Nils Adermann 875261931c We do not support any options to keep obsolete packages 12 years ago
Jordi Boggiano f7440076fa Revert "Merge remote-tracking branch 'naderman/remove-packages-by-default'"
This reverts commit 2988152602, reversing
changes made to adb4188e12.
12 years ago
Nils Adermann f4d5568937 Rules of type feature are no longer needed 12 years ago
Nils Adermann d153ab3f8f Call feature rules update rules, as there is no difference in composer 12 years ago
Nils Adermann f98ab2e491 An array of installed packages is no longer needed in the solver 12 years ago
Nils Adermann 7be4b82ad2 Move all solver members to top of the file 12 years ago
Nils Adermann 6410817c4e Policy rules cannot conflict with jobs anymore
As we no longer need special feature rules for updating installed packages
we don't have policy rules which might conflict with job rules anymore.
Everything is driven by jobs now.
12 years ago
Nils Adermann 3618ddacb0 Remove commented out debug output 12 years ago
Nils Adermann 2cb2cde096 Installed packages are now always removed unless otherwise requested
This means that an update request must always be accompanied by an install
request, otherwise the package might be removed rather than updated.
12 years ago
Nils Adermann 1a48ebaf57 Create lookup table for installed packages in only one place 12 years ago
Nils Adermann 0e537b9c93 We won't implement choice rules, you need to edit composer.json to choose 12 years ago
Nils Adermann 5ba9a887c2 We do not support any options to keep obsolete packages 12 years ago
Nicolas Le Goff 3f13eb87b1 fix_typo 12 years ago
Jordi Boggiano 53191eb0fe Remove recommend, make suggest informational, add require-dev, fixes #78, fixes #510 12 years ago