2016-04-18 08:34:23 +00:00
|
|
|
--TEST--
|
|
|
|
Update updates URLs for updated packages if they have changed
|
|
|
|
|
2016-04-19 19:03:14 +00:00
|
|
|
a/a is dev and gets everything updated as it updates to a new ref
|
|
|
|
b/b is a tag and gets everything updated by updating the package URL directly
|
2019-09-06 23:58:12 +00:00
|
|
|
c/c is a tag and not whitelisted and remains unchanged
|
2016-04-18 08:34:23 +00:00
|
|
|
d/d is dev but with a #ref so it should get URL updated but not the reference
|
2016-04-19 19:03:14 +00:00
|
|
|
e/e is dev and newly installed with a #ref so it should get the correct URL but with the #111 ref
|
2019-09-06 23:58:12 +00:00
|
|
|
f/f is dev but not whitelisted and remains unchanged
|
2016-05-10 16:17:08 +00:00
|
|
|
g/g is dev and installed in a different ref than the #ref, so it gets updated and gets the new URL but not the new ref
|
2016-04-18 08:34:23 +00:00
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
|
|
|
"source": { "reference": "2222222222222222222222222222222222222222", "url": "https://github.com/a/newa", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "2222222222222222222222222222222222222222", "url": "https://api.github.com/repos/a/newa/tarball/2222222222222222222222222222222222222222", "type": "tar", "shasum": "newsum" }
|
2016-04-18 08:34:23 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "b/b", "version": "2.0.3",
|
|
|
|
"source": { "reference": "2222222222222222222222222222222222222222", "url": "https://github.com/b/newb", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "2222222222222222222222222222222222222222", "url": "https://api.github.com/repos/b/newb/tarball/2222222222222222222222222222222222222222", "type": "tar", "shasum": "newsum" }
|
2016-04-18 08:34:23 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "c/c", "version": "1.0.0",
|
|
|
|
"source": { "reference": "2222222222222222222222222222222222222222", "url": "https://github.com/c/newc", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "2222222222222222222222222222222222222222", "url": "https://api.github.com/repos/c/newc/tarball/2222222222222222222222222222222222222222", "type": "tar", "shasum": "newsum" }
|
2016-04-18 08:34:23 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "d/d", "version": "dev-master",
|
|
|
|
"source": { "reference": "2222222222222222222222222222222222222222", "url": "https://github.com/d/newd", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "2222222222222222222222222222222222222222", "url": "https://api.github.com/repos/d/newd/tarball/2222222222222222222222222222222222222222", "type": "tar", "shasum": "newsum" }
|
2016-04-18 08:34:23 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "e/e", "version": "dev-master",
|
|
|
|
"source": { "reference": "2222222222222222222222222222222222222222", "url": "https://github.com/e/newe", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "2222222222222222222222222222222222222222", "url": "https://api.github.com/repos/e/newe/tarball/2222222222222222222222222222222222222222", "type": "tar", "shasum": "newsum" }
|
2016-04-19 19:03:14 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "f/f", "version": "dev-master",
|
|
|
|
"source": { "reference": "2222222222222222222222222222222222222222", "url": "https://github.com/f/newf", "type": "git" },
|
2019-07-31 16:43:18 +00:00
|
|
|
"dist": { "reference": "2222222222222222222222222222222222222222", "url": "https://api.github.com/repos/f/newf/tarball/2222222222222222222222222222222222222222", "type": "tar", "shasum": "newsum" },
|
|
|
|
"transport-options": { "foo": "bar2" }
|
2016-05-10 16:17:08 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "g/g", "version": "dev-master",
|
|
|
|
"source": { "reference": "2222222222222222222222222222222222222222", "url": "https://github.com/g/newg", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "2222222222222222222222222222222222222222", "url": "https://api.github.com/repos/g/newg/tarball/2222222222222222222222222222222222222222", "type": "tar", "shasum": "newsum" }
|
2016-04-18 08:34:23 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"a/a": "dev-master",
|
|
|
|
"b/b": "2.0.3",
|
|
|
|
"c/c": "1.0.0",
|
|
|
|
"d/d": "dev-master#1111111111111111111111111111111111111111",
|
2016-04-19 19:03:14 +00:00
|
|
|
"e/e": "dev-master#1111111111111111111111111111111111111111",
|
2016-05-10 16:17:08 +00:00
|
|
|
"f/f": "dev-master",
|
|
|
|
"g/g": "dev-master#1111111111111111111111111111111111111111"
|
2016-04-18 08:34:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
--INSTALLED--
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/a/a", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/a/a/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" }
|
2016-04-18 08:34:23 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "b/b", "version": "2.0.3",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/b/b", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/b/b/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" }
|
2016-04-18 08:34:23 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "c/c", "version": "1.0.0",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/c/c", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/c/c/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" }
|
2016-04-18 08:34:23 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "d/d", "version": "dev-master",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/d/d", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/d/d/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" }
|
2016-04-19 19:03:14 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "f/f", "version": "dev-master",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/f/f", "type": "git" },
|
2019-07-31 16:43:18 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/f/f/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" },
|
|
|
|
"transport-options": { "foo": "bar" }
|
2016-05-10 16:17:08 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "g/g", "version": "dev-master",
|
|
|
|
"source": { "reference": "0000000000000000000000000000000000000000", "url": "https://github.com/g/g", "type": "git" },
|
2019-07-31 16:43:18 +00:00
|
|
|
"dist": { "reference": "0000000000000000000000000000000000000000", "url": "https://api.github.com/repos/g/g/zipball/0000000000000000000000000000000000000000", "type": "zip", "shasum": "oldsum" },
|
|
|
|
"transport-options": { "foo": "bar" }
|
2016-04-18 08:34:23 +00:00
|
|
|
}
|
|
|
|
]
|
2018-09-13 13:23:05 +00:00
|
|
|
--LOCK--
|
|
|
|
{
|
|
|
|
"packages": [
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/a/a", "type": "git" },
|
Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed
* github-composer/2.0: (48 commits)
Fix missing use/undefined var
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
Fix use statement
Deduplicate findHeaderValue code
Add install-path to the installed.json for every package, fixes #2174, closes #2424
Remove unnecessary config from phpstan
Make sure the directory exists and will not block installation later when downloading
Avoid wiping the whole target package if download of the new one fails, refs #7929
Only empty dir before actually installing packages, fixes #7929
Improve output when installing packages
Show best possible version in diagnose command
Remove extra arg
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
Fix use of decodeJson
Fix update mirrors to also update transport-options, fixes #7672
Fix updating or URLs to include dist type and shasum, fixes #8216
Fix origin computation
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
Fix error_handler return type declaration
...
2019-09-07 00:55:21 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/a/a/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" },
|
2018-09-13 13:23:05 +00:00
|
|
|
"type": "library"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "b/b", "version": "2.0.3",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/b/b", "type": "git" },
|
Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed
* github-composer/2.0: (48 commits)
Fix missing use/undefined var
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
Fix use statement
Deduplicate findHeaderValue code
Add install-path to the installed.json for every package, fixes #2174, closes #2424
Remove unnecessary config from phpstan
Make sure the directory exists and will not block installation later when downloading
Avoid wiping the whole target package if download of the new one fails, refs #7929
Only empty dir before actually installing packages, fixes #7929
Improve output when installing packages
Show best possible version in diagnose command
Remove extra arg
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
Fix use of decodeJson
Fix update mirrors to also update transport-options, fixes #7672
Fix updating or URLs to include dist type and shasum, fixes #8216
Fix origin computation
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
Fix error_handler return type declaration
...
2019-09-07 00:55:21 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/b/b/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" },
|
2018-09-13 13:23:05 +00:00
|
|
|
"type": "library"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "c/c", "version": "1.0.0",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/c/c", "type": "git" },
|
Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed
* github-composer/2.0: (48 commits)
Fix missing use/undefined var
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
Fix use statement
Deduplicate findHeaderValue code
Add install-path to the installed.json for every package, fixes #2174, closes #2424
Remove unnecessary config from phpstan
Make sure the directory exists and will not block installation later when downloading
Avoid wiping the whole target package if download of the new one fails, refs #7929
Only empty dir before actually installing packages, fixes #7929
Improve output when installing packages
Show best possible version in diagnose command
Remove extra arg
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
Fix use of decodeJson
Fix update mirrors to also update transport-options, fixes #7672
Fix updating or URLs to include dist type and shasum, fixes #8216
Fix origin computation
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
Fix error_handler return type declaration
...
2019-09-07 00:55:21 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/c/c/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" },
|
2018-09-13 13:23:05 +00:00
|
|
|
"type": "library"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "d/d", "version": "dev-master",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/d/d", "type": "git" },
|
Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed
* github-composer/2.0: (48 commits)
Fix missing use/undefined var
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
Fix use statement
Deduplicate findHeaderValue code
Add install-path to the installed.json for every package, fixes #2174, closes #2424
Remove unnecessary config from phpstan
Make sure the directory exists and will not block installation later when downloading
Avoid wiping the whole target package if download of the new one fails, refs #7929
Only empty dir before actually installing packages, fixes #7929
Improve output when installing packages
Show best possible version in diagnose command
Remove extra arg
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
Fix use of decodeJson
Fix update mirrors to also update transport-options, fixes #7672
Fix updating or URLs to include dist type and shasum, fixes #8216
Fix origin computation
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
Fix error_handler return type declaration
...
2019-09-07 00:55:21 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/d/d/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" },
|
2018-09-13 13:23:05 +00:00
|
|
|
"type": "library"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "f/f", "version": "dev-master",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/f/f", "type": "git" },
|
Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed
* github-composer/2.0: (48 commits)
Fix missing use/undefined var
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
Fix use statement
Deduplicate findHeaderValue code
Add install-path to the installed.json for every package, fixes #2174, closes #2424
Remove unnecessary config from phpstan
Make sure the directory exists and will not block installation later when downloading
Avoid wiping the whole target package if download of the new one fails, refs #7929
Only empty dir before actually installing packages, fixes #7929
Improve output when installing packages
Show best possible version in diagnose command
Remove extra arg
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
Fix use of decodeJson
Fix update mirrors to also update transport-options, fixes #7672
Fix updating or URLs to include dist type and shasum, fixes #8216
Fix origin computation
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
Fix error_handler return type declaration
...
2019-09-07 00:55:21 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/f/f/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" },
|
|
|
|
"type": "library",
|
|
|
|
"transport-options": { "foo": "bar" }
|
2018-09-13 13:23:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "g/g", "version": "dev-master",
|
|
|
|
"source": { "reference": "0000000000000000000000000000000000000000", "url": "https://github.com/g/g", "type": "git" },
|
Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed
* github-composer/2.0: (48 commits)
Fix missing use/undefined var
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
Fix use statement
Deduplicate findHeaderValue code
Add install-path to the installed.json for every package, fixes #2174, closes #2424
Remove unnecessary config from phpstan
Make sure the directory exists and will not block installation later when downloading
Avoid wiping the whole target package if download of the new one fails, refs #7929
Only empty dir before actually installing packages, fixes #7929
Improve output when installing packages
Show best possible version in diagnose command
Remove extra arg
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
Fix use of decodeJson
Fix update mirrors to also update transport-options, fixes #7672
Fix updating or URLs to include dist type and shasum, fixes #8216
Fix origin computation
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
Fix error_handler return type declaration
...
2019-09-07 00:55:21 +00:00
|
|
|
"dist": { "reference": "0000000000000000000000000000000000000000", "url": "https://api.github.com/repos/g/g/zipball/0000000000000000000000000000000000000000", "type": "zip", "shasum": "oldsum" },
|
|
|
|
"type": "library",
|
|
|
|
"transport-options": { "foo": "bar" }
|
2018-09-13 13:23:05 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"packages-dev": [],
|
|
|
|
"aliases": [],
|
|
|
|
"minimum-stability": "stable",
|
|
|
|
"stability-flags": {},
|
|
|
|
"prefer-stable": false,
|
|
|
|
"prefer-lowest": false,
|
|
|
|
"platform": [],
|
|
|
|
"platform-dev": []
|
|
|
|
}
|
2016-04-18 08:34:23 +00:00
|
|
|
--EXPECT-LOCK--
|
|
|
|
{
|
|
|
|
"packages": [
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
|
|
|
"source": { "reference": "2222222222222222222222222222222222222222", "url": "https://github.com/a/newa", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "2222222222222222222222222222222222222222", "url": "https://api.github.com/repos/a/newa/tarball/2222222222222222222222222222222222222222", "type": "tar", "shasum": "newsum" },
|
2016-04-18 08:34:23 +00:00
|
|
|
"type": "library"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "b/b", "version": "2.0.3",
|
|
|
|
"source": { "reference": "2222222222222222222222222222222222222222", "url": "https://github.com/b/newb", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "2222222222222222222222222222222222222222", "url": "https://api.github.com/repos/b/newb/tarball/2222222222222222222222222222222222222222", "type": "tar", "shasum": "newsum" },
|
2016-04-18 08:34:23 +00:00
|
|
|
"type": "library"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "c/c", "version": "1.0.0",
|
2019-09-06 23:58:12 +00:00
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/c/c", "type": "git" },
|
Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed
* github-composer/2.0: (48 commits)
Fix missing use/undefined var
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
Fix use statement
Deduplicate findHeaderValue code
Add install-path to the installed.json for every package, fixes #2174, closes #2424
Remove unnecessary config from phpstan
Make sure the directory exists and will not block installation later when downloading
Avoid wiping the whole target package if download of the new one fails, refs #7929
Only empty dir before actually installing packages, fixes #7929
Improve output when installing packages
Show best possible version in diagnose command
Remove extra arg
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
Fix use of decodeJson
Fix update mirrors to also update transport-options, fixes #7672
Fix updating or URLs to include dist type and shasum, fixes #8216
Fix origin computation
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
Fix error_handler return type declaration
...
2019-09-07 00:55:21 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/c/c/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" },
|
2016-04-18 08:34:23 +00:00
|
|
|
"type": "library"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "d/d", "version": "dev-master",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/d/newd", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/d/newd/tarball/1111111111111111111111111111111111111111", "type": "tar", "shasum": "newsum" },
|
2016-04-18 08:34:23 +00:00
|
|
|
"type": "library"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "e/e", "version": "dev-master",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/e/newe", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/e/newe/tarball/1111111111111111111111111111111111111111", "type": "tar", "shasum": "newsum" },
|
2016-04-18 08:34:23 +00:00
|
|
|
"type": "library"
|
2016-04-19 19:03:14 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "f/f", "version": "dev-master",
|
2019-09-06 23:58:12 +00:00
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/f/f", "type": "git" },
|
Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed
* github-composer/2.0: (48 commits)
Fix missing use/undefined var
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
Fix use statement
Deduplicate findHeaderValue code
Add install-path to the installed.json for every package, fixes #2174, closes #2424
Remove unnecessary config from phpstan
Make sure the directory exists and will not block installation later when downloading
Avoid wiping the whole target package if download of the new one fails, refs #7929
Only empty dir before actually installing packages, fixes #7929
Improve output when installing packages
Show best possible version in diagnose command
Remove extra arg
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
Fix use of decodeJson
Fix update mirrors to also update transport-options, fixes #7672
Fix updating or URLs to include dist type and shasum, fixes #8216
Fix origin computation
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
Fix error_handler return type declaration
...
2019-09-07 00:55:21 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/f/f/zipball/1111111111111111111111111111111111111111", "type": "zip", "shasum": "oldsum" },
|
2019-07-31 16:43:18 +00:00
|
|
|
"type": "library",
|
Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed
* github-composer/2.0: (48 commits)
Fix missing use/undefined var
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
Fix use statement
Deduplicate findHeaderValue code
Add install-path to the installed.json for every package, fixes #2174, closes #2424
Remove unnecessary config from phpstan
Make sure the directory exists and will not block installation later when downloading
Avoid wiping the whole target package if download of the new one fails, refs #7929
Only empty dir before actually installing packages, fixes #7929
Improve output when installing packages
Show best possible version in diagnose command
Remove extra arg
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
Fix use of decodeJson
Fix update mirrors to also update transport-options, fixes #7672
Fix updating or URLs to include dist type and shasum, fixes #8216
Fix origin computation
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
Fix error_handler return type declaration
...
2019-09-07 00:55:21 +00:00
|
|
|
"transport-options": { "foo": "bar" }
|
2016-05-10 16:17:08 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "g/g", "version": "dev-master",
|
|
|
|
"source": { "reference": "1111111111111111111111111111111111111111", "url": "https://github.com/g/newg", "type": "git" },
|
2019-07-31 16:36:27 +00:00
|
|
|
"dist": { "reference": "1111111111111111111111111111111111111111", "url": "https://api.github.com/repos/g/newg/tarball/1111111111111111111111111111111111111111", "type": "tar", "shasum": "newsum" },
|
2016-05-10 16:17:08 +00:00
|
|
|
"type": "library"
|
2016-04-18 08:34:23 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"packages-dev": [],
|
|
|
|
"aliases": [],
|
|
|
|
"minimum-stability": "stable",
|
|
|
|
"stability-flags": {
|
|
|
|
"a/a": 20,
|
|
|
|
"d/d": 20,
|
2016-04-19 19:03:14 +00:00
|
|
|
"e/e": 20,
|
2016-05-10 16:17:08 +00:00
|
|
|
"f/f": 20,
|
|
|
|
"g/g": 20
|
2016-04-18 08:34:23 +00:00
|
|
|
},
|
|
|
|
"prefer-stable": false,
|
|
|
|
"prefer-lowest": false,
|
|
|
|
"platform": [],
|
|
|
|
"platform-dev": []
|
|
|
|
}
|
|
|
|
--RUN--
|
2016-05-10 16:17:08 +00:00
|
|
|
update a/a b/b d/d g/g
|
2016-04-18 08:34:23 +00:00
|
|
|
--EXPECT--
|
2019-11-14 14:40:59 +00:00
|
|
|
Updating a/a (dev-master 1111111 => dev-master 2222222)
|
2019-11-23 11:31:33 +00:00
|
|
|
Updating b/b (2.0.3 1111111 => 2.0.3 2222222)
|
2019-09-06 23:58:12 +00:00
|
|
|
Installing e/e (dev-master 1111111)
|
2019-11-14 14:40:59 +00:00
|
|
|
Updating g/g (dev-master 0000000 => dev-master 1111111)
|