Nils Adermann
976fcd2eb4
PoolBuilderTest: Add case for multiple repositories and partial update with replace
4 years ago
Nils Adermann
6c4ed247dd
Add a pool builder test for replaces across multiple repos
4 years ago
Nils Adermann
c9201b8e40
PoolBuilderTest: Allow setting filter options for repositories
4 years ago
Nils Adermann
fcb9ef4899
Allow defining multiple reppos in pool builder tests
4 years ago
Jordi Boggiano
22367a68f9
Avoid loading same packages multiple times
4 years ago
Jordi Boggiano
23339e44b8
Fix alias tests to use default-branches
4 years ago
Jordi Boggiano
2fa58ccf96
Reduce amount of packages loaded by avoiding extensions of the constraint beyond the root constraint
4 years ago
Jordi Boggiano
4b9b499ce5
Fix issue loading aliases and fix markPackageNameForLoading when called twice in a row for same package it would overwrite the constraint the second time
4 years ago
Jordi Boggiano
b7f1550896
Add test covering replacer unfixing
4 years ago
Jordi Boggiano
f2befc46c9
Avoid storing duplicate packages when loading the same package twice
4 years ago
Jordi Boggiano
67a88880ec
Get rid of EmptyConstraint
4 years ago
Yanick Witschi
c7f10bdd90
Fixed RuleTest
4 years ago
Yanick Witschi
bde9502473
Made the constraint argument in Link mandatory
4 years ago
Yanick Witschi
63906171f0
Cleanup EmptyConstraint output
4 years ago
Yanick Witschi
b935a76bc6
Removed already covered test
4 years ago
Yanick Witschi
8b4e834675
Added another poolbuilder test to show issue with constraint matching
4 years ago
Yanick Witschi
71fde80048
Fixed test
4 years ago
Yanick Witschi
29611a4d27
Fixed test descriptions
4 years ago
Yanick Witschi
8e2dd62d10
Fixed tests related to constraint changes
4 years ago
Yanick Witschi
bca88bdd4b
Fixed PoolBuilder running endlessly when packages do not exist
4 years ago
Yanick Witschi
28f82032cd
And here's the key test :)
4 years ago
Yanick Witschi
b87fc5bbfd
Added more poolbuilder test
4 years ago
Nils Adermann
43888cae8c
PoolBuilder: failing test for partial update with multiple deps
4 years ago
Nils Adermann
4f13875f3f
PoolBuilderTest: add new fixtures for partial updates with locked packages
4 years ago
Nils Adermann
85ea29d241
PoolBuilder failing test: do not load alternatives for pkg replaced by fixed pkg
4 years ago
Nils Adermann
208a735645
PoolBuilder Failing test: fixed package is not only pkg loaded for that name
4 years ago
Jordi Boggiano
1ea3111583
Use RULE_LEARNED instead of RULE_FIXED
4 years ago
Jordi Boggiano
5e5f9f8142
Remove unused RULE_INTERNAL_ALLOW_UPDATE
4 years ago
Jordi Boggiano
b72ac2d01a
Oops
4 years ago
Jordi Boggiano
863e7076ba
Bump to use composer/semver 3.x
4 years ago
Jordi Boggiano
34801239f1
Tweak problem wording slightly
4 years ago
Jordi Boggiano
afa18f2092
Fix semver usage
4 years ago
Jordi Boggiano
ba9d4793bc
Fix transaction order
4 years ago
Jordi Boggiano
80a7c40c76
Shorten long lists of similar versions in problem output, fixes #8743
5 years ago
Jordi Boggiano
64f907f93f
Fix handling of aliases to use consistent format everywhere
5 years ago
Jordi Boggiano
80505e745e
Fix phpstan issues
5 years ago
Nils Adermann
c270d3cfa6
PoolBuilder: make io non-nullable, NullIO can be used instead
5 years ago
Jordi Boggiano
45ecbae8f5
Merge branch 'master' into 2.0
5 years ago
Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
5 years ago
Jordi Boggiano
2f4ea3a463
Fix show command, refactor RepositorySet constructor
5 years ago
Jordi Boggiano
189d5adab0
Fix reporting of replace conflicts to not mention provides
5 years ago
Jordi Boggiano
ec90c17e3b
Fix conflict order to be more accurate
5 years ago
Jordi Boggiano
c41df325d8
Remove RepositorySet from Solver and remove getPool from RepositorySet
5 years ago
Jordi Boggiano
1d4cdb60d0
Improve error reporting for conflicts/replaces of various kinds, fixes #7254
5 years ago
Jordi Boggiano
3fc7e10c5c
Improve error reporting of solver issues, refs #7779
...
Fixes #8525
Fixes #6513
5 years ago
Nils Adermann
0b4e8952f6
PHP5 disallows require as a function name, use requireName analog to fixPackage
5 years ago
Nils Adermann
5bdc0fc9c5
Request jobs replaced by root require / fixed package
...
The only type of request job remaining was "install" which is really a
root requirement. The only other kind of input for the solver is now a
set of fixed packages.
Rules have been updated to account for only two kinds of former job
reason: FIXED or ROOT_REQUIRE. The job property has always been
redundant and has been removed, since reasonData suffices.
Problem reasons are always rules, so the unnecessary wrapping in an
array has been removed.
We now only ever generate a single rule per root require or fixed
package, so there is no need for the solver to special handle disabling
"jobs" anymore, the rule can just be disabled as usual.
For consistency special handling of rules for jobs in problems has been
integrated into the rule class like all other rule reasons. As part of
this change the error message for root requirements has been improved a
bit to make it clearer where the package installation request came from.
The word job has also been removed from operations, which are called
operations, not jobs.
5 years ago
Jordi Boggiano
921a97457d
Add PoolBuilder test harness for writing .test files
5 years ago
Jordi Boggiano
1d31190472
Keep track of unacceptable fixed packages for later to use in error reporting and make sure the pool state is consistent
5 years ago
Jordi Boggiano
b5e34ca767
Fix remove tests
5 years ago