{"action":"closed","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/4215","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/4215/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/4215/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/4215/events","html_url":"https://github.com/commercialhaskell/stack/issues/4215","id":348208648,"node_id":"MDU6SXNzdWUzNDgyMDg2NDg=","number":4215,"title":"Build failure with pantry due to missing unregister","user":{"login":"snoyberg","id":49415,"node_id":"MDQ6VXNlcjQ5NDE1","avatar_url":"https://avatars3.githubusercontent.com/u/49415?v=4","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"labels":[{"id":205827131,"node_id":"MDU6TGFiZWwyMDU4MjcxMzE=","url":"https://api.github.com/repos/commercialhaskell/stack/labels/type:%20bug","name":"type: bug","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-07T07:56:33Z","updated_at":"2018-08-14T12:34:22Z","closed_at":"2018-08-14T12:34:22Z","author_association":"CONTRIBUTOR","body":"This should be fixed automatically by #3922, but we should add an integration test case. Steps:\r\n\r\n1. Add an extra dep like `githash-0.1.0.0`\r\n2. Build your package\r\n3. Change the extra dep to `githash-0.1.0.1`\r\n4. Build again\r\n\r\nExpected: unregisters the old version, build the new version\r\n\r\nActual: builds the new version, registers the new version, complains that there are two installed copies of the same package"}}
{"actor":{"display_login":"snoyberg"}}