1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00
Commit graph

176 commits

Author SHA1 Message Date
Jordi Boggiano
d21032ace5 CS fixes 2012-05-28 01:58:49 +02:00
Jordi Boggiano
c440b4594a More PSR-2 goodness 2012-05-22 17:13:15 +02:00
Jordi Boggiano
713309b38c Show exact version being installed in create-project, fixes #724 2012-05-22 15:51:41 +02:00
Nils Adermann
16a51daac8 Fix typo in comment 2012-05-22 15:44:14 +02:00
Jordi Boggiano
1bd4ccbd54 php-cs-fixer magic 2012-05-22 12:07:08 +02:00
Jordi Boggiano
4ea9b33a6c Merge remote-tracking branch 'naderman/solver-refactor' 2012-05-22 11:04:12 +02:00
Nils Adermann
21c7e219e2 Change "else if" to "elseif" 2012-05-21 18:34:12 +02:00
Nils Adermann
99200af51b Correctly indent break statements 2012-05-21 18:33:21 +02:00
Nils Adermann
f193d61dfe Remove unecessary brackets 2012-05-21 18:32:22 +02:00
Nils Adermann
7f9c5ffeef Add documentation to RuleWatchChain and RuleWatchNode 2012-05-21 18:26:18 +02:00
Nils Adermann
76d3950992 Document the RuleWatchGraph 2012-05-21 18:14:38 +02:00
Martin Shwalbe
9d80a4e220 Wrong variable used for foreach. Fixes issue 674. 2012-05-21 17:29:57 +02:00
Nils Adermann
265533d390 Rename watches array to watchChains to make clearer what they are 2012-05-21 12:39:04 +02:00
Nils Adermann
e817a2e2d7 Move public members above protected members in rule watch node 2012-05-20 15:58:55 +02:00
Nils Adermann
c869566868 Make ruleHash a protected member of rules 2012-05-20 15:57:38 +02:00
Nils Adermann
fa7bd35413 Make debug solver methods protected 2012-05-20 15:49:58 +02:00
Nils Adermann
2dfea8a5e0 Only consider undecided literals for selectAndInstall
Fixes #707
2012-05-20 15:44:15 +02:00
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.
2012-05-19 21:49:48 +02:00
Nils Adermann
025581b365 Rename walkLiteral method to more explicitly say what it does 2012-05-19 20:50:21 +02:00
Nils Adermann
a395bc04d7 Get rid of continue 2; and use array_filter instead of manual looping 2012-05-19 20:48:12 +02:00
Nils Adermann
451bab1c2c Get rid of Literal object / literal id mix, use literals only to save memory 2012-05-19 20:38:56 +02:00
Nils Adermann
9ffe0d13f5 Remove useless if 2012-05-19 02:28:09 +02:00
Nils Adermann
cdf3b4e012 Use SplDoublyLinkedList instead of custom linked list 2012-05-19 02:24:45 +02:00
Nils Adermann
731a451dfe Move handling of watch graph to separate classes 2012-05-19 01:27:57 +02:00
Nils Adermann
71ee5c8f4c We don't have a systemsolvable at the lowest level 2012-05-15 21:46:52 +02:00
Nils Adermann
286593cf99 Move solver debugging code into solver subclass 2012-05-15 21:37:57 +02:00
Nils Adermann
46e4ae0e6a Move rule generation from solver into separate rule set generator 2012-05-15 21:36:47 +02:00
Nils Adermann
83c499cf29 Remove unecessary use statement in Transaction class 2012-05-15 20:29:21 +02:00
Nils Adermann
70e306f055 Process all jobs in one method and remove lock jobs which are not used 2012-05-15 20:22:48 +02:00
Nils Adermann
3fcd042fd4 Skip adding (ignored) duplicate rules which were already added 2012-05-15 20:04:25 +02:00
Nils Adermann
1d60ae1bfc We no longer support recommended packages, remove left over code 2012-05-15 20:01:51 +02:00
Nils Adermann
92ecf5a603 Remove unused variables 2012-05-15 20:00:52 +02:00
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.
2012-05-15 19:57:55 +02:00
Nils Adermann
8fc09afbae Move transaction generation to a separate class 2012-05-15 19:55:41 +02:00
Jordi Boggiano
5026f8a115 Fix AliasOperations output 2012-05-13 22:41:20 +02:00
Jordi Boggiano
453b9a616b Add test for Pool handling and refactor a couple things 2012-05-11 17:21:02 +02:00
Jordi Boggiano
ef28f3b067 Basic handling of stability flags 2012-05-09 19:10:06 +02:00
Jordi Boggiano
66068fedcb Add minimum-stability flag on root package to filter packages by stability 2012-05-09 19:10:03 +02:00
Nils Adermann
11c59baf59 Remove useless property in exception class 2012-05-09 18:45:53 +02:00
Nils Adermann
37d271271d Turn assertions into solver bug exceptions with more info 2012-05-09 18:44:14 +02:00
Jordi Boggiano
fafd09a7ba Improve output of operations to show details about dev versions 2012-05-09 17:31:12 +02:00
Nils Adermann
863bb59b73 Fix authorship info 2012-05-09 16:03:04 +02:00
Nils Adermann
0c1944a9d0 Let the solver handle aliases instead of the installer 2012-05-09 15:15:39 +02:00
Nils Adermann
15f43571b9 Rules of type feature are no longer needed 2012-05-08 19:26:50 +02:00
Nils Adermann
69b55f12ae Call feature rules update rules, as there is no difference in composer 2012-05-08 19:26:43 +02:00
Nils Adermann
0bd6fa1f37 An array of installed packages is no longer needed in the solver 2012-05-08 19:26:36 +02:00
Nils Adermann
cf5d14e2e1 Move all solver members to top of the file 2012-05-08 19:26:27 +02:00
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.
2012-05-08 19:26:19 +02:00
Nils Adermann
5feff954a4 Remove commented out debug output 2012-05-08 19:26:13 +02:00
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.
2012-05-08 19:25:58 +02:00