{"action":"opened","issue":{"url":"https://api.github.com/repos/composer/composer/issues/4349","labels_url":"https://api.github.com/repos/composer/composer/issues/4349/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/4349/comments","events_url":"https://api.github.com/repos/composer/composer/issues/4349/events","html_url":"https://github.com/composer/composer/issues/4349","id":100450962,"number":4349,"title":"'Support' properties not working","user":{"login":"joeconradt","id":3340747,"avatar_url":"https://avatars.githubusercontent.com/u/3340747?v=3","gravatar_id":"","url":"https://api.github.com/users/joeconradt","html_url":"https://github.com/joeconradt","followers_url":"https://api.github.com/users/joeconradt/followers","following_url":"https://api.github.com/users/joeconradt/following{/other_user}","gists_url":"https://api.github.com/users/joeconradt/gists{/gist_id}","starred_url":"https://api.github.com/users/joeconradt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeconradt/subscriptions","organizations_url":"https://api.github.com/users/joeconradt/orgs","repos_url":"https://api.github.com/users/joeconradt/repos","events_url":"https://api.github.com/users/joeconradt/events{/privacy}","received_events_url":"https://api.github.com/users/joeconradt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-12T02:16:10Z","updated_at":"2015-08-12T02:16:10Z","closed_at":null,"body":"I have a test repo that has support properties defined in the composer.json per spec: https://getcomposer.org/doc/04-schema.md#support\r\n\r\n    \"support\": {\r\n        \"email\": \"joseph.conradt@coursebit.net\",\r\n        [...]\r\n    },\r\n\r\nHowever, these properties don't seem to be passed in to CompletePackage::setSupport(). I'm using the post-package-install script to get package info like this:\r\n\r\ncomposer.json\r\n\r\n    \"post-package-install\": [\r\n        \"Inkstand\\\\Component\\\\Composer\\\\PackageEvents::postPackageInstall\"\r\n    ]\r\n\r\nThen:\r\n\r\n    public static function postPackageInstall(PackageEvent $packageEvent)\r\n    {\r\n        $installedPackage = $packageEvent->getOperation()->getPackage();\r\n        $support = $installedPackage->getSupport(); // <- Empty array\r\n    }\r\n\r\nYet the support info is populated on packagist:\r\nhttps://packagist.org/packages/coursebit/inkstand-plugin-test \r\n\r\nAnd I have confirmed the support part of the config is not being passed in if I print out the $config array in ArrayLoader::load()\r\n\r\n    [12-Aug-2015 03:58:44 Europe/Berlin] Array\r\n    (\r\n        [name] => coursebit/inkstand-plugin-test\r\n        [version] => dev-master\r\n        [version_normalized] => 9999999-dev\r\n        [source] => Array\r\n            (\r\n                [type] => git\r\n                [url] => https://github.com/CourseBit/InkstandPluginTest.git\r\n                [reference] => 3d0aebb030fc15ec308d4c062026bcf1a6bbb9ef\r\n            )\r\n\r\n        [dist] => Array\r\n            (\r\n                [type] => zip\r\n                [url] => https://api.github.com/repos/CourseBit/InkstandPluginTest/zipball/3d0aebb030fc15ec308d4c062026bcf1a6bbb9ef\r\n                [reference] => 3d0aebb030fc15ec308d4c062026bcf1a6bbb9ef\r\n                [shasum] =>\r\n            )\r\n\r\n        [time] => 2015-08-10 03:28:28\r\n        [type] => library\r\n        [extra] => Array\r\n            (\r\n                [bundle_title] => Plugin Test\r\n                [bundle_class] => Inkstand\\Bundle\\InkstandPluginTest\\InkstandPluginTestBundle\r\n            )\r\n\r\n        [installation-source] => source\r\n        [autoload] => Array\r\n            (\r\n                [psr-4] => Array\r\n                    (\r\n                        [Inkstand\\Bundle\\InkstandPluginTest\\] =>\r\n                    )\r\n\r\n            )\r\n\r\n        [notification-url] => https://packagist.org/downloads/\r\n        [authors] => Array\r\n            (\r\n                [0] => Array\r\n                    (\r\n                        [name] => Joseph Conradt\r\n                        [email] => joseph.conradt@coursebit.net\r\n                        [homepage] => http://www.coursebit.net\r\n                        [role] => Developer\r\n                    )\r\n\r\n            )\r\n\r\n        [description] => This plugin is used for testing the plugin management within Inkstand LMS\r\n        [homepage] => http://www.coursebit.net\r\n    )\r\n\r\nIs this a bug? Am I configuring support incorrectly? Any help is greatly appreciated!"}}