{"action":"created","comment":{"url":"https://api.github.com/repos/composer/composer/pulls/comments/29656783","id":29656783,"diff_hunk":"@@ -523,6 +525,10 @@ protected function doInstall($localRepo, $installedRepo, $platformRepo, $aliases\n         foreach ($operations as $operation) {\n             // collect suggestions\n             if ('install' === $operation->getJobType()) {\n+                if (!$this->installExtensions && $operation->getPackage()->getType() ==  'extension') {\n+                    $this->io->writeError('<warning>This package has extensions dependencies, run composer install --install-extensons</warning>');\n+                    continue;\n+                }","path":"src/Composer/Installer.php","position":32,"original_position":32,"commit_id":"291ea96c49069acc8e7faaee73b74cce79cb714a","original_commit_id":"291ea96c49069acc8e7faaee73b74cce79cb714a","user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"body":"Should maybe support 'update' operations too","created_at":"2015-05-05T10:11:22Z","updated_at":"2015-05-05T10:11:22Z","html_url":"https://github.com/composer/composer/pull/3897#discussion_r29656783","pull_request_url":"https://api.github.com/repos/composer/composer/pulls/3897","_links":{"self":{"href":"https://api.github.com/repos/composer/composer/pulls/comments/29656783"},"html":{"href":"https://github.com/composer/composer/pull/3897#discussion_r29656783"},"pull_request":{"href":"https://api.github.com/repos/composer/composer/pulls/3897"}}},"pull_request":{"url":"https://api.github.com/repos/composer/composer/pulls/3897","id":32400997,"html_url":"https://github.com/composer/composer/pull/3897","diff_url":"https://github.com/composer/composer/pull/3897.diff","patch_url":"https://github.com/composer/composer/pull/3897.patch","issue_url":"https://api.github.com/repos/composer/composer/issues/3897","number":3897,"state":"open","locked":false,"title":"draft support for Pickle in Composer","user":{"login":"pierrejoye","id":282408,"avatar_url":"https://avatars.githubusercontent.com/u/282408?v=3","gravatar_id":"","url":"https://api.github.com/users/pierrejoye","html_url":"https://github.com/pierrejoye","followers_url":"https://api.github.com/users/pierrejoye/followers","following_url":"https://api.github.com/users/pierrejoye/following{/other_user}","gists_url":"https://api.github.com/users/pierrejoye/gists{/gist_id}","starred_url":"https://api.github.com/users/pierrejoye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierrejoye/subscriptions","organizations_url":"https://api.github.com/users/pierrejoye/orgs","repos_url":"https://api.github.com/users/pierrejoye/repos","events_url":"https://api.github.com/users/pierrejoye/events{/privacy}","received_events_url":"https://api.github.com/users/pierrejoye/received_events","type":"User","site_admin":false},"body":"Draft support for Pickle (https://github.com/FriendsOfPHP/pickle) in Composer.\r\n\r\nSpent more time to dig composer code than actually implement that but at least it works to install exts from within a project.\r\n\r\nExample project and extension composer.json:\r\nhttps://gist.github.com/pierrejoye/1bbc2bdcec5887e60490\r\n\r\nIf you like to test with more extensions:\r\ngit  clone myext\r\ncd myext\r\npickle convert\r\n\r\nAdd the dep to your project. If you do not want to fork an ext, you can create a dep vs a zip file and use the artifact repository, it should work.\r\n\r\nStill many things to solve but at least there is something to play with now\r\n\r\nUpdate:\r\n\r\nAccording to our discussions, it is now a two steps process to install extensions, to make sure users understand that installing extensions may affect many projects:\r\n\r\nFirst, the usual command:\r\ncomposer install\r\n\r\ncomposer will tell you to run\r\ncomposer install --install-extensions\r\n\r\nif the project has extensions dependencies\r\n","created_at":"2015-04-01T09:11:30Z","updated_at":"2015-05-05T10:11:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42523674d0ad4feab25dcf6401e95692bd4372ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/composer/composer/pulls/3897/commits","review_comments_url":"https://api.github.com/repos/composer/composer/pulls/3897/comments","review_comment_url":"https://api.github.com/repos/composer/composer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/composer/composer/issues/3897/comments","statuses_url":"https://api.github.com/repos/composer/composer/statuses/291ea96c49069acc8e7faaee73b74cce79cb714a","head":{"label":"pierrejoye:master","ref":"master","sha":"291ea96c49069acc8e7faaee73b74cce79cb714a","user":{"login":"pierrejoye","id":282408,"avatar_url":"https://avatars.githubusercontent.com/u/282408?v=3","gravatar_id":"","url":"https://api.github.com/users/pierrejoye","html_url":"https://github.com/pierrejoye","followers_url":"https://api.github.com/users/pierrejoye/followers","following_url":"https://api.github.com/users/pierrejoye/following{/other_user}","gists_url":"https://api.github.com/users/pierrejoye/gists{/gist_id}","starred_url":"https://api.github.com/users/pierrejoye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierrejoye/subscriptions","organizations_url":"https://api.github.com/users/pierrejoye/orgs","repos_url":"https://api.github.com/users/pierrejoye/repos","events_url":"https://api.github.com/users/pierrejoye/events{/privacy}","received_events_url":"https://api.github.com/users/pierrejoye/received_events","type":"User","site_admin":false},"repo":{"id":33179054,"name":"composer","full_name":"pierrejoye/composer","owner":{"login":"pierrejoye","id":282408,"avatar_url":"https://avatars.githubusercontent.com/u/282408?v=3","gravatar_id":"","url":"https://api.github.com/users/pierrejoye","html_url":"https://github.com/pierrejoye","followers_url":"https://api.github.com/users/pierrejoye/followers","following_url":"https://api.github.com/users/pierrejoye/following{/other_user}","gists_url":"https://api.github.com/users/pierrejoye/gists{/gist_id}","starred_url":"https://api.github.com/users/pierrejoye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierrejoye/subscriptions","organizations_url":"https://api.github.com/users/pierrejoye/orgs","repos_url":"https://api.github.com/users/pierrejoye/repos","events_url":"https://api.github.com/users/pierrejoye/events{/privacy}","received_events_url":"https://api.github.com/users/pierrejoye/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pierrejoye/composer","description":"Dependency Manager for PHP","fork":true,"url":"https://api.github.com/repos/pierrejoye/composer","forks_url":"https://api.github.com/repos/pierrejoye/composer/forks","keys_url":"https://api.github.com/repos/pierrejoye/composer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pierrejoye/composer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pierrejoye/composer/teams","hooks_url":"https://api.github.com/repos/pierrejoye/composer/hooks","issue_events_url":"https://api.github.com/repos/pierrejoye/composer/issues/events{/number}","events_url":"https://api.github.com/repos/pierrejoye/composer/events","assignees_url":"https://api.github.com/repos/pierrejoye/composer/assignees{/user}","branches_url":"https://api.github.com/repos/pierrejoye/composer/branches{/branch}","tags_url":"https://api.github.com/repos/pierrejoye/composer/tags","blobs_url":"https://api.github.com/repos/pierrejoye/composer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pierrejoye/composer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pierrejoye/composer/git/refs{/sha}","trees_url":"https://api.github.com/repos/pierrejoye/composer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pierrejoye/composer/statuses/{sha}","languages_url":"https://api.github.com/repos/pierrejoye/composer/languages","stargazers_url":"https://api.github.com/repos/pierrejoye/composer/stargazers","contributors_url":"https://api.github.com/repos/pierrejoye/composer/contributors","subscribers_url":"https://api.github.com/repos/pierrejoye/composer/subscribers","subscription_url":"https://api.github.com/repos/pierrejoye/composer/subscription","commits_url":"https://api.github.com/repos/pierrejoye/composer/commits{/sha}","git_commits_url":"https://api.github.com/repos/pierrejoye/composer/git/commits{/sha}","comments_url":"https://api.github.com/repos/pierrejoye/composer/comments{/number}","issue_comment_url":"https://api.github.com/repos/pierrejoye/composer/issues/comments{/number}","contents_url":"https://api.github.com/repos/pierrejoye/composer/contents/{+path}","compare_url":"https://api.github.com/repos/pierrejoye/composer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pierrejoye/composer/merges","archive_url":"https://api.github.com/repos/pierrejoye/composer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pierrejoye/composer/downloads","issues_url":"https://api.github.com/repos/pierrejoye/composer/issues{/number}","pulls_url":"https://api.github.com/repos/pierrejoye/composer/pulls{/number}","milestones_url":"https://api.github.com/repos/pierrejoye/composer/milestones{/number}","notifications_url":"https://api.github.com/repos/pierrejoye/composer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pierrejoye/composer/labels{/name}","releases_url":"https://api.github.com/repos/pierrejoye/composer/releases{/id}","created_at":"2015-03-31T10:20:12Z","updated_at":"2015-04-04T03:30:34Z","pushed_at":"2015-04-04T03:30:33Z","git_url":"git://github.com/pierrejoye/composer.git","ssh_url":"git@github.com:pierrejoye/composer.git","clone_url":"https://github.com/pierrejoye/composer.git","svn_url":"https://github.com/pierrejoye/composer","homepage":"http://getcomposer.org/","size":10640,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"composer:master","ref":"master","sha":"f10c71475167a4661225b14560ca0a400d730829","user":{"login":"composer","id":837015,"avatar_url":"https://avatars.githubusercontent.com/u/837015?v=3","gravatar_id":"","url":"https://api.github.com/users/composer","html_url":"https://github.com/composer","followers_url":"https://api.github.com/users/composer/followers","following_url":"https://api.github.com/users/composer/following{/other_user}","gists_url":"https://api.github.com/users/composer/gists{/gist_id}","starred_url":"https://api.github.com/users/composer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/composer/subscriptions","organizations_url":"https://api.github.com/users/composer/orgs","repos_url":"https://api.github.com/users/composer/repos","events_url":"https://api.github.com/users/composer/events{/privacy}","received_events_url":"https://api.github.com/users/composer/received_events","type":"Organization","site_admin":false},"repo":{"id":1864363,"name":"composer","full_name":"composer/composer","owner":{"login":"composer","id":837015,"avatar_url":"https://avatars.githubusercontent.com/u/837015?v=3","gravatar_id":"","url":"https://api.github.com/users/composer","html_url":"https://github.com/composer","followers_url":"https://api.github.com/users/composer/followers","following_url":"https://api.github.com/users/composer/following{/other_user}","gists_url":"https://api.github.com/users/composer/gists{/gist_id}","starred_url":"https://api.github.com/users/composer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/composer/subscriptions","organizations_url":"https://api.github.com/users/composer/orgs","repos_url":"https://api.github.com/users/composer/repos","events_url":"https://api.github.com/users/composer/events{/privacy}","received_events_url":"https://api.github.com/users/composer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/composer/composer","description":"Dependency Manager for PHP","fork":false,"url":"https://api.github.com/repos/composer/composer","forks_url":"https://api.github.com/repos/composer/composer/forks","keys_url":"https://api.github.com/repos/composer/composer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/composer/composer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/composer/composer/teams","hooks_url":"https://api.github.com/repos/composer/composer/hooks","issue_events_url":"https://api.github.com/repos/composer/composer/issues/events{/number}","events_url":"https://api.github.com/repos/composer/composer/events","assignees_url":"https://api.github.com/repos/composer/composer/assignees{/user}","branches_url":"https://api.github.com/repos/composer/composer/branches{/branch}","tags_url":"https://api.github.com/repos/composer/composer/tags","blobs_url":"https://api.github.com/repos/composer/composer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/composer/composer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/composer/composer/git/refs{/sha}","trees_url":"https://api.github.com/repos/composer/composer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/composer/composer/statuses/{sha}","languages_url":"https://api.github.com/repos/composer/composer/languages","stargazers_url":"https://api.github.com/repos/composer/composer/stargazers","contributors_url":"https://api.github.com/repos/composer/composer/contributors","subscribers_url":"https://api.github.com/repos/composer/composer/subscribers","subscription_url":"https://api.github.com/repos/composer/composer/subscription","commits_url":"https://api.github.com/repos/composer/composer/commits{/sha}","git_commits_url":"https://api.github.com/repos/composer/composer/git/commits{/sha}","comments_url":"https://api.github.com/repos/composer/composer/comments{/number}","issue_comment_url":"https://api.github.com/repos/composer/composer/issues/comments{/number}","contents_url":"https://api.github.com/repos/composer/composer/contents/{+path}","compare_url":"https://api.github.com/repos/composer/composer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/composer/composer/merges","archive_url":"https://api.github.com/repos/composer/composer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/composer/composer/downloads","issues_url":"https://api.github.com/repos/composer/composer/issues{/number}","pulls_url":"https://api.github.com/repos/composer/composer/pulls{/number}","milestones_url":"https://api.github.com/repos/composer/composer/milestones{/number}","notifications_url":"https://api.github.com/repos/composer/composer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/composer/composer/labels{/name}","releases_url":"https://api.github.com/repos/composer/composer/releases{/id}","created_at":"2011-06-08T08:53:00Z","updated_at":"2015-05-05T10:07:16Z","pushed_at":"2015-05-05T10:07:15Z","git_url":"git://github.com/composer/composer.git","ssh_url":"git@github.com:composer/composer.git","clone_url":"https://github.com/composer/composer.git","svn_url":"https://github.com/composer/composer","homepage":"http://getcomposer.org/","size":27403,"stargazers_count":5666,"watchers_count":5666,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1524,"mirror_url":null,"open_issues_count":557,"forks":1524,"open_issues":557,"watchers":5666,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/composer/composer/pulls/3897"},"html":{"href":"https://github.com/composer/composer/pull/3897"},"issue":{"href":"https://api.github.com/repos/composer/composer/issues/3897"},"comments":{"href":"https://api.github.com/repos/composer/composer/issues/3897/comments"},"review_comments":{"href":"https://api.github.com/repos/composer/composer/pulls/3897/comments"},"review_comment":{"href":"https://api.github.com/repos/composer/composer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/composer/composer/pulls/3897/commits"},"statuses":{"href":"https://api.github.com/repos/composer/composer/statuses/291ea96c49069acc8e7faaee73b74cce79cb714a"}}}}