Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed installation of packages with commit refs. #606

Merged
merged 1 commit into from
Oct 31, 2016

Conversation

danepowell
Copy link
Contributor

It seems that --prefer-dist is bugged: composer/composer#5823

Basically, if you specify a commit ref for a package version, --prefer-dist will sometimes cause composer to ignore that. This is a rather insidious bug because of the sticky nature of how composer chooses source and dist packages... it can cause some really unexpected behavior.

Simply removing --prefer-dist should fix this. Composer will still use dist versions of stable packages. Newer composer versions cache Git clones locally, so there shouldn't be much of a performance impact.

@grasmash grasmash added in progress Bug Something isn't working labels Oct 28, 2016
@grasmash grasmash merged commit 5f44b74 into acquia:8.x Oct 31, 2016
@danepowell danepowell deleted the feature/composer-dev-fix branch December 6, 2017 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants