Broken on Composer 1.6.3
emodric opened this issue · 11 comments
Not really sure what is happening, but as soon as I upgrade to Composer 1.6.3, all my symlinks are gone and real packages are installed instead.
Downgrading to 1.6.2 fixes the issue.
Tested both master
and next
branches.
Thanks for the report - though not sure whether we can do something about this, or whether it's a Composer regression.
I am digging through the Composer changelog, though. Could you please let me know which version of Studio you are using? (Please use composer global show | grep studio
- I forgot to update the internal version number in one of the latest releases.) This will help me find out which parts of Composer I need to investigate for breaking changes. ;)
Also, which operating system are you using?
I tested on 0.13 tag as well as dev-next
and both of those show the regression. OS is Ubuntu 17.10 x64 and PHP is 7.2.2.
Interesting, I can't replicate the problem on Travis CI, trying both Composer versions: https://travis-ci.org/franzliedke/studio-debug/builds/341929930
Can you please send a pull request to https://github.com/franzliedke/studio-debug to make the library setup more similar to yours? Maybe it has to do with a specific version constraint...
I'm using studio as a dev dependency in my project (instead of the global require), so the PR is a bit hacky solution to achieve that, but it shows the difference between 1.6.2 and 1.6.3 on my local machine.
1.6.2 installs the libs with symlinks, while 1.6.3 fails (no install from source, since the packages don't exist on packagist.org). I hope Travis will show the same :)
@franzliedke Check this out: composer/composer#7127 Looks like a cause of our issue, too.
@emodric Thanks for letting me know. I will check it out when I get back from my vacation (next week). ;)
No worries, enjoy your vacation!
Sometimes sitting it out helps as well... do you still have this problem on Composer 1.6.4?
It looks like it's working fine :) 👍
Great. Thanks for all your efforts!