{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/3897","labels_url":"https://api.github.com/repos/composer/composer/issues/3897/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/3897/comments","events_url":"https://api.github.com/repos/composer/composer/issues/3897/events","html_url":"https://github.com/composer/composer/pull/3897","id":65640381,"number":3897,"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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":33,"created_at":"2015-04-01T09:11:30Z","updated_at":"2015-04-30T11:11:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/composer/composer/pulls/3897","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"},"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"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/97741723","html_url":"https://github.com/composer/composer/pull/3897#issuecomment-97741723","issue_url":"https://api.github.com/repos/composer/composer/issues/3897","id":97741723,"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},"created_at":"2015-04-30T11:11:40Z","updated_at":"2015-04-30T11:11:40Z","body":"We will enforce it for any new release. But the question is for older\nreleases, they have none. If composer called pickle for every ext\ndependency directly without checking anything, then it is easy.\n\nIf not, and the repo (source, VCS, whatever) does not have composer, it may\nfail or I do not see how composer can get all the metas.\n\nIt also brings me back to the main point. What do you think about the draft\npatch? Where it is hooked and so on? :/ about to open beta for the\npickleweb, would be great if we can get composer supporting it. If not, no\nbig deal but the gap will get bigger.\nOn Apr 30, 2015 3:52 PM, \"Jordi Boggiano\" <notifications@github.com> wrote:\n\n> Well composer doesn't really need the composer.json if the pickle repo\n> provides the metadata. It is needed however if we want to load a github\n> repo of an ext as a vcs repository in composer, so yes if people add it\n> eventually it'd be great.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/composer/composer/pull/3897#issuecomment-97711119>.\n>\n"}}