Nils Adermann
6e81f63635
Reduce memory footprint of rules by storing data in blob
...
Not declaring the job property saves significant amounts of memory as
most rules leave it as null
9 years ago
Nils Adermann
b869fa9662
Correct rule hash test
9 years ago
Possum
2e99b9fdf5
Use https where possible
9 years ago
Nils Adermann
b4ed331168
The Solver Request no longer depends on the Pool
9 years ago
isoroku
e0657b60a2
Fix misspellings
10 years ago
Nicolas Grekas
4a0feb0189
add --prefer-lowest-stable to update command
10 years ago
Nils Adermann
26598c4a9a
Remove unnecessary pool reference from rules
10 years ago
Nils Adermann
d77400ade2
Make ruleById lookup table in rule set public
...
Saves about 500k function calls on a packagist update
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Jordi Boggiano
ec0463a400
Add tests for platform packages required by root and avoid creating rules altogether instead of disabling them, refs #3320
10 years ago
Nils Adermann
5b80144ad0
Resolve job packages after whitelist generation
11 years ago
Nils Adermann
3148ffd355
Whitelist packages with names matching those specified before generating rules
...
Addresses #2690 doesn't do any performance optimisations yet which we
could do now
11 years ago
Jordi Boggiano
38917c2047
Add parallel build to travis script
11 years ago
Jordi Boggiano
051d219438
Fix whatProvides returning too many results when no constraint is given
11 years ago
Jordi Boggiano
e848c76cbc
Only compare branches as versions in the policy to sort packages, but not in the solver, fixes #1817
11 years ago
Jordi Boggiano
cc9dac8fe2
Fix tests and convert all package lists to Name[Versions] format
11 years ago
Robert Gruendler
5160dd2f5e
Return different error code for SolverProblemsException
...
To make it easier for external tools to detect SolverProblems and react
to them accordingly,
this PR introduces a new exit code.
12 years ago
Jordi Boggiano
b41fd35c2b
Remove unused use statement
12 years ago
Jordi Boggiano
0700cd9186
Adjust according to feedback
12 years ago
Jordi Boggiano
db4055b778
Put a higher prio on replacers of the same vendor as the required package
12 years ago
Jordi Boggiano
b0297ef67a
Add prefer-stable flag to pick stable package over unstable ones when possible
12 years ago
Jordi Boggiano
3ca22f9ef1
Fix class name
12 years ago
Jordi Boggiano
1c39ad779b
Fix wording
12 years ago
Jordi Boggiano
5d78fa6ce6
Report typos in package name if no version matches
12 years ago
Jordi Boggiano
beb9a5bd72
Code optimizations: avoid loops in match()
12 years ago
Jordi Boggiano
18492a1f84
Remove Pool::getMaxId and the solver's reliance on it
12 years ago
Jordi Boggiano
fb4183d5ad
Fix tests
12 years ago
Jordi Boggiano
d4aab7d5b6
Fix solver test
12 years ago
Jordi Boggiano
6573fd3f77
Add hint in solver exceptions as to what may be wrong
12 years ago
Jordi Boggiano
175d1939b5
Fix tests
12 years ago
Jordi Boggiano
e6f7150196
Change default minimum-stability to "stable", fixes #744
12 years ago
Jordi Boggiano
4fcc114f97
Merge pull request #808 from palex-fpt/not-equal-operator
...
Add '<>' operator to Version Parser
12 years ago
Nils Adermann
cc7632489d
Make problem report messages more readable
...
Added pretty strings to constraints
12 years ago
Alexey Prilipko
e130386612
Add '<>' operator for Version Parser
12 years ago
Grégoire Pineau
f4e9dd4fb8
Fixed PSR rules
12 years ago
Nils Adermann
a08c2a0b9f
Corrected altered error message in test
12 years ago
Nils Adermann
67fde90666
Correctly sort operations within transactions using DFS
...
Fixes #655
12 years ago
Nils Adermann
a7f1605cdf
Add test for correct sorting when force installing deps
12 years ago
Nils Adermann
26e051cb76
Decisions are now encapsulated in a separate object
12 years ago
Nils Adermann
c869566868
Make ruleHash a protected member of rules
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
451bab1c2c
Get rid of Literal object / literal id mix, use literals only to save memory
12 years ago
Jordi Boggiano
453b9a616b
Add test for Pool handling and refactor a couple things
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
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
5daeacf0ac
We won't implement choice rules, you need to edit composer.json to choose
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
.
13 years ago
Nils Adermann
f4d5568937
Rules of type feature are no longer needed
13 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.
13 years ago