{"action":"created","issue":{"url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/170","repository_url":"https://api.github.com/repos/drupal-composer/drupal-project","labels_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/170/comments","events_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/170/events","html_url":"https://github.com/drupal-composer/drupal-project/pull/170","id":162281630,"number":170,"title":"Check the Composer version before downloading the dependencies","user":{"login":"pfrenssen","id":442924,"avatar_url":"https://avatars.githubusercontent.com/u/442924?v=3","gravatar_id":"","url":"https://api.github.com/users/pfrenssen","html_url":"https://github.com/pfrenssen","followers_url":"https://api.github.com/users/pfrenssen/followers","following_url":"https://api.github.com/users/pfrenssen/following{/other_user}","gists_url":"https://api.github.com/users/pfrenssen/gists{/gist_id}","starred_url":"https://api.github.com/users/pfrenssen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfrenssen/subscriptions","organizations_url":"https://api.github.com/users/pfrenssen/orgs","repos_url":"https://api.github.com/users/pfrenssen/repos","events_url":"https://api.github.com/users/pfrenssen/events{/privacy}","received_events_url":"https://api.github.com/users/pfrenssen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-25T13:40:40Z","updated_at":"2016-06-26T10:09:48Z","closed_at":"2016-06-26T10:09:22Z","pull_request":{"url":"https://api.github.com/repos/drupal-composer/drupal-project/pulls/170","html_url":"https://github.com/drupal-composer/drupal-project/pull/170","diff_url":"https://github.com/drupal-composer/drupal-project/pull/170.diff","patch_url":"https://github.com/drupal-composer/drupal-project/pull/170.patch"},"body":"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.\r\n\r\nWe 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 https://github.com/composer/composer/pull/5035). If someone is using an older version this means the Drupal scaffolding is not performed.\r\n\r\nSince this change has been introduced shortly before Composer 1.0.0 I would propose to check for this version."},"comment":{"url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/comments/228593797","html_url":"https://github.com/drupal-composer/drupal-project/pull/170#issuecomment-228593797","issue_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/170","id":228593797,"user":{"login":"webflo","id":123946,"avatar_url":"https://avatars.githubusercontent.com/u/123946?v=3","gravatar_id":"","url":"https://api.github.com/users/webflo","html_url":"https://github.com/webflo","followers_url":"https://api.github.com/users/webflo/followers","following_url":"https://api.github.com/users/webflo/following{/other_user}","gists_url":"https://api.github.com/users/webflo/gists{/gist_id}","starred_url":"https://api.github.com/users/webflo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webflo/subscriptions","organizations_url":"https://api.github.com/users/webflo/orgs","repos_url":"https://api.github.com/users/webflo/repos","events_url":"https://api.github.com/users/webflo/events{/privacy}","received_events_url":"https://api.github.com/users/webflo/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T10:09:47Z","updated_at":"2016-06-26T10:09:47Z","body":"Merged, thanks1"}}
{"actor":{"display_login":"webflo"}}