{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/snapcore/snapweb/pulls/2","id":73199053,"html_url":"https://github.com/snapcore/snapweb/pull/2","diff_url":"https://github.com/snapcore/snapweb/pull/2.diff","patch_url":"https://github.com/snapcore/snapweb/pull/2.patch","issue_url":"https://api.github.com/repos/snapcore/snapweb/issues/2","number":2,"state":"open","locked":false,"title":"Fallback to searching the store if snap not found locally","user":{"login":"stevenwilkin","id":45121,"avatar_url":"https://avatars.githubusercontent.com/u/45121?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenwilkin","html_url":"https://github.com/stevenwilkin","followers_url":"https://api.github.com/users/stevenwilkin/followers","following_url":"https://api.github.com/users/stevenwilkin/following{/other_user}","gists_url":"https://api.github.com/users/stevenwilkin/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenwilkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenwilkin/subscriptions","organizations_url":"https://api.github.com/users/stevenwilkin/orgs","repos_url":"https://api.github.com/users/stevenwilkin/repos","events_url":"https://api.github.com/users/stevenwilkin/events{/privacy}","received_events_url":"https://api.github.com/users/stevenwilkin/received_events","type":"User","site_admin":false},"body":"Recreation of [~stevenwilkin/webdm/get-snap-from-store/+merge/296774](https://code.launchpad.net/~stevenwilkin/webdm/get-snap-from-store/+merge/296774).\r\n\r\nIn the recent past a call to `/v2/snaps/<SNAP>` on the snapd API returned details of snaps available on the store if they weren't already installed locally. Now, this endpoint only returns details of snaps if they are already installed.\r\n\r\nThis change meant an error any time WebDM attempted to fetch the details of a not-yet-installed snap which includes installation and removal of snaps.\r\n\r\nWith this PR WebDM fallsback to a search of the store whenever retrieval of an individual snap fails.","created_at":"2016-06-09T11:39:43Z","updated_at":"2016-06-09T11:39:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c5539a32a2717fc88d9bb4c8ecdcd733b206b70","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/snapcore/snapweb/pulls/2/commits","review_comments_url":"https://api.github.com/repos/snapcore/snapweb/pulls/2/comments","review_comment_url":"https://api.github.com/repos/snapcore/snapweb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/snapcore/snapweb/issues/2/comments","statuses_url":"https://api.github.com/repos/snapcore/snapweb/statuses/e8bf6d5c0dc71506353bf422470cbb115b8547cc","head":{"label":"snapcore:get-snap-from-store","ref":"get-snap-from-store","sha":"e8bf6d5c0dc71506353bf422470cbb115b8547cc","user":{"login":"snapcore","id":19532717,"avatar_url":"https://avatars.githubusercontent.com/u/19532717?v=3","gravatar_id":"","url":"https://api.github.com/users/snapcore","html_url":"https://github.com/snapcore","followers_url":"https://api.github.com/users/snapcore/followers","following_url":"https://api.github.com/users/snapcore/following{/other_user}","gists_url":"https://api.github.com/users/snapcore/gists{/gist_id}","starred_url":"https://api.github.com/users/snapcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snapcore/subscriptions","organizations_url":"https://api.github.com/users/snapcore/orgs","repos_url":"https://api.github.com/users/snapcore/repos","events_url":"https://api.github.com/users/snapcore/events{/privacy}","received_events_url":"https://api.github.com/users/snapcore/received_events","type":"Organization","site_admin":false},"repo":{"id":60711137,"name":"snapweb","full_name":"snapcore/snapweb","owner":{"login":"snapcore","id":19532717,"avatar_url":"https://avatars.githubusercontent.com/u/19532717?v=3","gravatar_id":"","url":"https://api.github.com/users/snapcore","html_url":"https://github.com/snapcore","followers_url":"https://api.github.com/users/snapcore/followers","following_url":"https://api.github.com/users/snapcore/following{/other_user}","gists_url":"https://api.github.com/users/snapcore/gists{/gist_id}","starred_url":"https://api.github.com/users/snapcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snapcore/subscriptions","organizations_url":"https://api.github.com/users/snapcore/orgs","repos_url":"https://api.github.com/users/snapcore/repos","events_url":"https://api.github.com/users/snapcore/events{/privacy}","received_events_url":"https://api.github.com/users/snapcore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/snapcore/snapweb","description":"Beautiful and functional interface for snap management","fork":false,"url":"https://api.github.com/repos/snapcore/snapweb","forks_url":"https://api.github.com/repos/snapcore/snapweb/forks","keys_url":"https://api.github.com/repos/snapcore/snapweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snapcore/snapweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snapcore/snapweb/teams","hooks_url":"https://api.github.com/repos/snapcore/snapweb/hooks","issue_events_url":"https://api.github.com/repos/snapcore/snapweb/issues/events{/number}","events_url":"https://api.github.com/repos/snapcore/snapweb/events","assignees_url":"https://api.github.com/repos/snapcore/snapweb/assignees{/user}","branches_url":"https://api.github.com/repos/snapcore/snapweb/branches{/branch}","tags_url":"https://api.github.com/repos/snapcore/snapweb/tags","blobs_url":"https://api.github.com/repos/snapcore/snapweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snapcore/snapweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snapcore/snapweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/snapcore/snapweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snapcore/snapweb/statuses/{sha}","languages_url":"https://api.github.com/repos/snapcore/snapweb/languages","stargazers_url":"https://api.github.com/repos/snapcore/snapweb/stargazers","contributors_url":"https://api.github.com/repos/snapcore/snapweb/contributors","subscribers_url":"https://api.github.com/repos/snapcore/snapweb/subscribers","subscription_url":"https://api.github.com/repos/snapcore/snapweb/subscription","commits_url":"https://api.github.com/repos/snapcore/snapweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/snapcore/snapweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/snapcore/snapweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/snapcore/snapweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/snapcore/snapweb/contents/{+path}","compare_url":"https://api.github.com/repos/snapcore/snapweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snapcore/snapweb/merges","archive_url":"https://api.github.com/repos/snapcore/snapweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snapcore/snapweb/downloads","issues_url":"https://api.github.com/repos/snapcore/snapweb/issues{/number}","pulls_url":"https://api.github.com/repos/snapcore/snapweb/pulls{/number}","milestones_url":"https://api.github.com/repos/snapcore/snapweb/milestones{/number}","notifications_url":"https://api.github.com/repos/snapcore/snapweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snapcore/snapweb/labels{/name}","releases_url":"https://api.github.com/repos/snapcore/snapweb/releases{/id}","deployments_url":"https://api.github.com/repos/snapcore/snapweb/deployments","created_at":"2016-06-08T16:05:05Z","updated_at":"2016-06-09T04:13:32Z","pushed_at":"2016-06-09T11:39:43Z","git_url":"git://github.com/snapcore/snapweb.git","ssh_url":"git@github.com:snapcore/snapweb.git","clone_url":"https://github.com/snapcore/snapweb.git","svn_url":"https://github.com/snapcore/snapweb","homepage":null,"size":3963,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"snapcore:master","ref":"master","sha":"7fcab755cd39a6e62f2baf1db046c7696e82dc39","user":{"login":"snapcore","id":19532717,"avatar_url":"https://avatars.githubusercontent.com/u/19532717?v=3","gravatar_id":"","url":"https://api.github.com/users/snapcore","html_url":"https://github.com/snapcore","followers_url":"https://api.github.com/users/snapcore/followers","following_url":"https://api.github.com/users/snapcore/following{/other_user}","gists_url":"https://api.github.com/users/snapcore/gists{/gist_id}","starred_url":"https://api.github.com/users/snapcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snapcore/subscriptions","organizations_url":"https://api.github.com/users/snapcore/orgs","repos_url":"https://api.github.com/users/snapcore/repos","events_url":"https://api.github.com/users/snapcore/events{/privacy}","received_events_url":"https://api.github.com/users/snapcore/received_events","type":"Organization","site_admin":false},"repo":{"id":60711137,"name":"snapweb","full_name":"snapcore/snapweb","owner":{"login":"snapcore","id":19532717,"avatar_url":"https://avatars.githubusercontent.com/u/19532717?v=3","gravatar_id":"","url":"https://api.github.com/users/snapcore","html_url":"https://github.com/snapcore","followers_url":"https://api.github.com/users/snapcore/followers","following_url":"https://api.github.com/users/snapcore/following{/other_user}","gists_url":"https://api.github.com/users/snapcore/gists{/gist_id}","starred_url":"https://api.github.com/users/snapcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snapcore/subscriptions","organizations_url":"https://api.github.com/users/snapcore/orgs","repos_url":"https://api.github.com/users/snapcore/repos","events_url":"https://api.github.com/users/snapcore/events{/privacy}","received_events_url":"https://api.github.com/users/snapcore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/snapcore/snapweb","description":"Beautiful and functional interface for snap management","fork":false,"url":"https://api.github.com/repos/snapcore/snapweb","forks_url":"https://api.github.com/repos/snapcore/snapweb/forks","keys_url":"https://api.github.com/repos/snapcore/snapweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snapcore/snapweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snapcore/snapweb/teams","hooks_url":"https://api.github.com/repos/snapcore/snapweb/hooks","issue_events_url":"https://api.github.com/repos/snapcore/snapweb/issues/events{/number}","events_url":"https://api.github.com/repos/snapcore/snapweb/events","assignees_url":"https://api.github.com/repos/snapcore/snapweb/assignees{/user}","branches_url":"https://api.github.com/repos/snapcore/snapweb/branches{/branch}","tags_url":"https://api.github.com/repos/snapcore/snapweb/tags","blobs_url":"https://api.github.com/repos/snapcore/snapweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snapcore/snapweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snapcore/snapweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/snapcore/snapweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snapcore/snapweb/statuses/{sha}","languages_url":"https://api.github.com/repos/snapcore/snapweb/languages","stargazers_url":"https://api.github.com/repos/snapcore/snapweb/stargazers","contributors_url":"https://api.github.com/repos/snapcore/snapweb/contributors","subscribers_url":"https://api.github.com/repos/snapcore/snapweb/subscribers","subscription_url":"https://api.github.com/repos/snapcore/snapweb/subscription","commits_url":"https://api.github.com/repos/snapcore/snapweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/snapcore/snapweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/snapcore/snapweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/snapcore/snapweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/snapcore/snapweb/contents/{+path}","compare_url":"https://api.github.com/repos/snapcore/snapweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snapcore/snapweb/merges","archive_url":"https://api.github.com/repos/snapcore/snapweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snapcore/snapweb/downloads","issues_url":"https://api.github.com/repos/snapcore/snapweb/issues{/number}","pulls_url":"https://api.github.com/repos/snapcore/snapweb/pulls{/number}","milestones_url":"https://api.github.com/repos/snapcore/snapweb/milestones{/number}","notifications_url":"https://api.github.com/repos/snapcore/snapweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snapcore/snapweb/labels{/name}","releases_url":"https://api.github.com/repos/snapcore/snapweb/releases{/id}","deployments_url":"https://api.github.com/repos/snapcore/snapweb/deployments","created_at":"2016-06-08T16:05:05Z","updated_at":"2016-06-09T04:13:32Z","pushed_at":"2016-06-09T11:39:43Z","git_url":"git://github.com/snapcore/snapweb.git","ssh_url":"git@github.com:snapcore/snapweb.git","clone_url":"https://github.com/snapcore/snapweb.git","svn_url":"https://github.com/snapcore/snapweb","homepage":null,"size":3963,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/snapcore/snapweb/pulls/2"},"html":{"href":"https://github.com/snapcore/snapweb/pull/2"},"issue":{"href":"https://api.github.com/repos/snapcore/snapweb/issues/2"},"comments":{"href":"https://api.github.com/repos/snapcore/snapweb/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/snapcore/snapweb/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/snapcore/snapweb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/snapcore/snapweb/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/snapcore/snapweb/statuses/e8bf6d5c0dc71506353bf422470cbb115b8547cc"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":86,"deletions":6,"changed_files":3}}
{"actor":{"display_login":"stevenwilkin"}}