composer / composer/installers
When target location change, data must be moved (not duplicated)
- Dominant language
- PHP
- Stars
- 1.4k
- Forks
- 400
- PR merge metrics
- No merged PRs in 30d
Description
Steps to reproduce:
Run composer update with the following config:
```
{
"name": "xxx/xxx",
"type": "library",
"require": {
"composer/installers": "^1.0.21",
"prestashop/ps_specials": "^1.0",
}
}
```
and notice module package is installed into `/modules/` directory.
now edit the config to:
```
{
"name": "xxx/xxx",
"type": "library",
"require": {
"composer/installers": "^1.0.21",
"prestashop/ps_specials": "^1.0",
},
"extra": {
"installer-disable": [
"prestashop"
]
}
}
```
and run composer update again. The `prestashop/ps_specials` package is not moved (although vendor contains data about the original location), instead a new copy of it is installed to the standard vendor location.
Contributor guide
Assessment
This issue has not been assessed yet.