magento-hackathon / magento-composer-installer

Composer installer for Magento modules
210 stars 156 forks source link

composer update [new package] updates other packages #151

Closed andrey-legayev closed 9 years ago

andrey-legayev commented 9 years ago

Steps to reproduce:

Expected result: only new package is added Actual result: other packages are also updated

davidverholen commented 9 years ago

That depends on how you require your packages. If you require a specific Version of a Package it won't be updated. If you require a package with * and there is an update available, then it will be updated.

Flyingmana commented 9 years ago

actually, to add a new package you run composer require [new package]

ihor-sviziev commented 9 years ago

It's default composer behavior or it's installer behavior? If second one - I think it's should be changed like in composer

davidverholen commented 9 years ago

it's default composer behaviour

The installer does not control which packages are updated

Flyingmana commented 9 years ago

see https://getcomposer.org/doc/03-cli.md#require

ihor-sviziev commented 9 years ago

Ok, so I think we should close this issue