Skip to content

Check the Composer version before downloading the dependencies #170

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

Merged
merged 3 commits into from
Jun 26, 2016

Conversation

pfrenssen
Copy link
Collaborator

I experienced a problem yesterday during a workshop where people weren't able to scaffold Drupal correctly. This turned out to be caused by doing an initial installation using an outdated version of composer.

We do not have the composer.lock file committed (to avoid merge conflicts downstream) and an initial installation without a lock file is now considered to be an update command. This change has been recently introduced in Composer (in composer/composer#5035). If someone is using an older version this means the Drupal scaffolding is not performed.

Since this change has been introduced shortly before Composer 1.0.0 I would propose to check for this version.

@webflo
Copy link
Member

webflo commented Jun 26, 2016

Can we add a doc block with the link to the GitHub issue? Thanks!

@pfrenssen
Copy link
Collaborator Author

Sure! I've added a docblock.

@webflo webflo merged commit 2f7941b into drupal-composer:8.x Jun 26, 2016
@webflo
Copy link
Member

webflo commented Jun 26, 2016

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants