{"action":"created","issue":{"url":"https://api.github.com/repos/ubuntu-core/snappy/issues/1017","repository_url":"https://api.github.com/repos/ubuntu-core/snappy","labels_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/1017/labels{/name}","comments_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/1017/comments","events_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/1017/events","html_url":"https://github.com/ubuntu-core/snappy/pull/1017","id":148853123,"number":1017,"title":"daemon: don't install ubuntu-core twice","user":{"login":"zyga","id":784262,"avatar_url":"https://avatars.githubusercontent.com/u/784262?v=3","gravatar_id":"","url":"https://api.github.com/users/zyga","html_url":"https://github.com/zyga","followers_url":"https://api.github.com/users/zyga/followers","following_url":"https://api.github.com/users/zyga/following{/other_user}","gists_url":"https://api.github.com/users/zyga/gists{/gist_id}","starred_url":"https://api.github.com/users/zyga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyga/subscriptions","organizations_url":"https://api.github.com/users/zyga/orgs","repos_url":"https://api.github.com/users/zyga/repos","events_url":"https://api.github.com/users/zyga/events{/privacy}","received_events_url":"https://api.github.com/users/zyga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-16T13:36:56Z","updated_at":"2016-04-16T14:34:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ubuntu-core/snappy/pulls/1017","html_url":"https://github.com/ubuntu-core/snappy/pull/1017","diff_url":"https://github.com/ubuntu-core/snappy/pull/1017.diff","patch_url":"https://github.com/ubuntu-core/snappy/pull/1017.patch"},"body":"This patch fixes a bug that would render snappy inoperable if the user\r\ntried to install ubuntu-core as the fist snap on the system. Before this\r\npatch the logic in the daemon would enqueue the install twice which\r\nwould break all other install/remove operations.\r\n\r\nTested locally with unit tests and real clean-state install.\r\n\r\nSigned-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>"},"comment":{"url":"https://api.github.com/repos/ubuntu-core/snappy/issues/comments/210828388","html_url":"https://github.com/ubuntu-core/snappy/pull/1017#issuecomment-210828388","issue_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/1017","id":210828388,"user":{"login":"pedronis","id":975757,"avatar_url":"https://avatars.githubusercontent.com/u/975757?v=3","gravatar_id":"","url":"https://api.github.com/users/pedronis","html_url":"https://github.com/pedronis","followers_url":"https://api.github.com/users/pedronis/followers","following_url":"https://api.github.com/users/pedronis/following{/other_user}","gists_url":"https://api.github.com/users/pedronis/gists{/gist_id}","starred_url":"https://api.github.com/users/pedronis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedronis/subscriptions","organizations_url":"https://api.github.com/users/pedronis/orgs","repos_url":"https://api.github.com/users/pedronis/repos","events_url":"https://api.github.com/users/pedronis/events{/privacy}","received_events_url":"https://api.github.com/users/pedronis/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T14:34:26Z","updated_at":"2016-04-16T14:34:26Z","body":"there's another ensureUbuntuCore in that file,  I would just pass in the original package name and do nothing in that case"}}