Added API for an install path in installable repository #2424
This is the key part of how to access the install path for a package instance, I am not sure at which level you are working, but I don't think they persist to the installed.json in this PR.
naderman added a commit to naderman/composer that referenced this pull request
Sep 7, 2019
…-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 composer#7903 Fix use statement Deduplicate findHeaderValue code Add install-path to the installed.json for every package, fixes composer#2174, closes composer#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 composer#7929 Only empty dir before actually installing packages, fixes composer#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 composer#8254 Fix use of decodeJson Fix update mirrors to also update transport-options, fixes composer#7672 Fix updating or URLs to include dist type and shasum, fixes composer#8216 Fix origin computation Improve handling of non-standard ports for GitLab and GitHub installs, fixes composer#8173 Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes composer#8058 Fix error_handler return type declaration ...
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.