1
0
Fork 0

PoolBuilder: failing test for partial update with multiple deps

pull/8850/head
Nils Adermann 2020-04-30 00:15:49 +02:00 committed by Jordi Boggiano
parent 4f13875f3f
commit 43888cae8c
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 12 additions and 7 deletions

View File

@ -8,9 +8,10 @@ Partially updating one root requirement with transitive deps without root requir
"root/fix": "*" "root/fix": "*"
}, },
"locked": [ "locked": [
{"name": "root/update", "version": "1.0.1", "require": {"dep/dep": "1.*"}, "id": 1}, {"name": "root/update", "version": "1.0.1", "require": {"dep/dep": "1.*", "dep2/dep2": "1.*"}, "id": 1},
{"name": "dep/dep", "version": "1.0.2", "require": {"root/fix": "1.*"}, "id": 2}, {"name": "dep/dep", "version": "1.0.2", "require": {"root/fix": "1.*"}, "id": 2},
{"name": "root/fix", "version": "1.0.3", "id": 3} {"name": "dep2/dep2", "version": "1.0.2", "require": {"dep/dep": "1.*"}, "id": 3},
{"name": "root/fix", "version": "1.0.3", "id": 4}
], ],
"allowList": [ "allowList": [
"root/update" "root/update"
@ -24,19 +25,23 @@ Partially updating one root requirement with transitive deps without root requir
--PACKAGES-- --PACKAGES--
[ [
{"name": "root/update", "version": "1.0.4", "require": {"dep/dep": "1.*"}}, {"name": "root/update", "version": "1.0.4", "require": {"dep/dep": "1.*", "dep2/dep2": "1.*"}},
{"name": "root/update", "version": "1.0.5", "require": {"dep/dep": "2.*"}}, {"name": "root/update", "version": "1.0.5", "require": {"dep/dep": "2.*", "dep2/dep2": "2.*"}},
{"name": "root/fix", "version": "1.0.6"}, {"name": "root/fix", "version": "1.0.6"},
{"name": "root/fix", "version": "2.0.7"}, {"name": "root/fix", "version": "2.0.7"},
{"name": "dep/dep", "version": "1.0.8", "require": {"root/fix": "1.*"}}, {"name": "dep/dep", "version": "1.0.8", "require": {"root/fix": "1.*"}},
{"name": "dep/dep", "version": "2.0.9", "require": {"root/fix": "2.*"}} {"name": "dep/dep", "version": "2.0.9", "require": {"root/fix": "2.*"}},
{"name": "dep2/dep2", "version": "1.0.8", "require": {"dep/dep": "1.*"}},
{"name": "dep2/dep2", "version": "2.0.9", "require": {"dep/dep": "2.*"}}
] ]
--EXPECT-- --EXPECT--
[ [
3, 4,
"root/update-1.0.4.0", "root/update-1.0.4.0",
"root/update-1.0.5.0", "root/update-1.0.5.0",
"dep/dep-1.0.8.0", "dep/dep-1.0.8.0",
"dep/dep-2.0.9.0" "dep/dep-2.0.9.0",
"dep2/dep2-1.0.8.0",
"dep2/dep2-2.0.9.0"
] ]