{"action":"closed","issue":{"url":"https://api.github.com/repos/onepica/avatax/issues/215","repository_url":"https://api.github.com/repos/onepica/avatax","labels_url":"https://api.github.com/repos/onepica/avatax/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/onepica/avatax/issues/215/comments","events_url":"https://api.github.com/repos/onepica/avatax/issues/215/events","html_url":"https://github.com/onepica/avatax/issues/215","id":136052011,"number":215,"title":"Composer install issue","user":{"login":"amansilla","id":1576983,"avatar_url":"https://avatars.githubusercontent.com/u/1576983?v=3","gravatar_id":"","url":"https://api.github.com/users/amansilla","html_url":"https://github.com/amansilla","followers_url":"https://api.github.com/users/amansilla/followers","following_url":"https://api.github.com/users/amansilla/following{/other_user}","gists_url":"https://api.github.com/users/amansilla/gists{/gist_id}","starred_url":"https://api.github.com/users/amansilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amansilla/subscriptions","organizations_url":"https://api.github.com/users/amansilla/orgs","repos_url":"https://api.github.com/users/amansilla/repos","events_url":"https://api.github.com/users/amansilla/events{/privacy}","received_events_url":"https://api.github.com/users/amansilla/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-24T12:48:08Z","updated_at":"2016-03-10T14:16:27Z","closed_at":"2016-03-10T14:16:27Z","body":"I think there are a mistake on all stable versions of this packages since it requires non-stable version of the magento-hackathon/magento-composer-installer. The result is that if you have a project with already requires a stable version of the composer-installer which is totally right, you can't add the avatax package without explicitly update the magento-hackathon/magento-composer-installer to dev-master what I guess is an issue, since stable project should not require non-stable versions of a given dependency.\r\n\r\nFor example given the following composer.json of a project:\r\n\r\n    {\r\n        \"name\": \"foo-project\",\r\n        \"require\": {\r\n            \"magento-hackathon/magento-composer-installer\": \"^3.0\"\r\n        }\r\n    }\r\nAnd composer is executed in order to add the onepica/avatax package:\r\n\r\n    $ composer require onepica/avatax\r\n\r\nthe following error is displayed:\r\n\r\n````\r\nProblem 1\r\n    - Installation request for onepica/avatax ^3.0 -> satisfiable by onepica/avatax[3.0.0-stable].\r\n    - onepica/avatax 3.0.0-stable requires magento-hackathon/magento-composer-installer dev-master -> no matching package found.\r\n\r\nPotential causes:\r\n - A typo in the package name\r\n - The package is not available in a stable-enough version according to your minimum-stability setting\r\n   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.\r\n\r\nRead <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.\r\n````\r\n\r\nBefore to create a pull request I'd like to know what the people here means about it."}}