{"action":"opened","issue":{"url":"https://api.github.com/repos/renovatebot/renovate/issues/2250","repository_url":"https://api.github.com/repos/renovatebot/renovate","labels_url":"https://api.github.com/repos/renovatebot/renovate/issues/2250/labels{/name}","comments_url":"https://api.github.com/repos/renovatebot/renovate/issues/2250/comments","events_url":"https://api.github.com/repos/renovatebot/renovate/issues/2250/events","html_url":"https://github.com/renovatebot/renovate/issues/2250","id":340627631,"node_id":"MDU6SXNzdWUzNDA2Mjc2MzE=","number":2250,"title":"[BUG] Composer rollback speaks of npm registry, but should speak of packagist","user":{"login":"swashata","id":1623381,"node_id":"MDQ6VXNlcjE2MjMzODE=","avatar_url":"https://avatars1.githubusercontent.com/u/1623381?v=4","gravatar_id":"","url":"https://api.github.com/users/swashata","html_url":"https://github.com/swashata","followers_url":"https://api.github.com/users/swashata/followers","following_url":"https://api.github.com/users/swashata/following{/other_user}","gists_url":"https://api.github.com/users/swashata/gists{/gist_id}","starred_url":"https://api.github.com/users/swashata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swashata/subscriptions","organizations_url":"https://api.github.com/users/swashata/orgs","repos_url":"https://api.github.com/users/swashata/repos","events_url":"https://api.github.com/users/swashata/events{/privacy}","received_events_url":"https://api.github.com/users/swashata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-12T13:00:29Z","updated_at":"2018-07-12T13:00:29Z","closed_at":null,"author_association":"NONE","body":"**What Renovate type are you using?**\r\nRenovate CLI\r\n\r\n**Describe the bug**\r\n\r\nWhen renovateapp decides it should rollback a package for composer, it leaves a message.\r\n\r\nIt says\r\n\r\n```\r\nThis Merge Request rolls back dependency drewm/mailchimp-api from v^2.4 to v^v2.2.4. This is necessary and important because v^2.4 cannot be found in the npm registry - probably because of it being unpublished.\r\n```\r\n\r\n**To Reproduce**\r\n\r\nAdd a composer.json file with following content.\r\n\r\n```json\r\n{\r\n\t\"require\": {\r\n\t\t\"drewm/mailchimp-api\": \"^2.4\"\r\n\t}\r\n}\r\n```\r\n\r\nObviously it will produce error, because the version should've been `v2.4` (which could be another issue of it's own, because composer lets us define both with and without `v` and it [just removes](https://getcomposer.org/doc/articles/versions.md#tags) ) is not found.\r\n \r\n**Expected behavior**\r\n\r\nIt should say\r\n\r\n```\r\nThis Merge Request rolls back dependency drewm/mailchimp-api from v^2.4 to v^v2.2.4. This is necessary and important because v^2.4 cannot be found in the **packagist** registry - probably because of it being unpublished.\r\n```"}}
{"actor":{"display_login":"swashata"}}