{"action":"opened","number":120,"pull_request":{"url":"https://api.github.com/repos/freedombox/Plinth/pulls/120","id":32443168,"html_url":"https://github.com/freedombox/Plinth/pull/120","diff_url":"https://github.com/freedombox/Plinth/pull/120.diff","patch_url":"https://github.com/freedombox/Plinth/pull/120.patch","issue_url":"https://api.github.com/repos/freedombox/Plinth/issues/120","number":120,"state":"open","locked":false,"title":"Packagekit fixes","user":{"login":"SunilMohanAdapa","id":1535496,"avatar_url":"https://avatars.githubusercontent.com/u/1535496?v=3","gravatar_id":"","url":"https://api.github.com/users/SunilMohanAdapa","html_url":"https://github.com/SunilMohanAdapa","followers_url":"https://api.github.com/users/SunilMohanAdapa/followers","following_url":"https://api.github.com/users/SunilMohanAdapa/following{/other_user}","gists_url":"https://api.github.com/users/SunilMohanAdapa/gists{/gist_id}","starred_url":"https://api.github.com/users/SunilMohanAdapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunilMohanAdapa/subscriptions","organizations_url":"https://api.github.com/users/SunilMohanAdapa/orgs","repos_url":"https://api.github.com/users/SunilMohanAdapa/repos","events_url":"https://api.github.com/users/SunilMohanAdapa/events{/privacy}","received_events_url":"https://api.github.com/users/SunilMohanAdapa/received_events","type":"User","site_admin":false},"body":"This pull request fixes the next release blocker: package installations fail when package list is not up-to-date.\r\n\r\n- Refresh package list before trying to install packages.  Also lookup\r\n  the ID of the package, including the version, using the newly fetched\r\n  package list.\r\n\r\n- Call on_install() callback requested by modules only if the package\r\n  installation was successful.  Handle any exception raised in the\r\n  callback itself.\r\n\r\n- Handle exceptions raised during packagekit operations.  Also check the\r\n  returned results for error code.\r\n\r\n- Capture error/success status during a transaction.  Don't destroy the\r\n  transaction object until the error/success status has been collected.\r\n  When a view is refreshed after completion of a transaction collect the\r\n  result of the transaction and show it to the user.\r\n\r\n- Handle cases where package searches in the package list fails.  Simply\r\n  show the package name without its description.\r\n\r\n- Handle speed updates during installation","created_at":"2015-04-01T17:53:25Z","updated_at":"2015-04-01T17:53:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/freedombox/Plinth/pulls/120/commits","review_comments_url":"https://api.github.com/repos/freedombox/Plinth/pulls/120/comments","review_comment_url":"https://api.github.com/repos/freedombox/Plinth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/freedombox/Plinth/issues/120/comments","statuses_url":"https://api.github.com/repos/freedombox/Plinth/statuses/bca79fcfae826769631dac85b4dba905011e4ff6","head":{"label":"SunilMohanAdapa:packagekit-fixes","ref":"packagekit-fixes","sha":"bca79fcfae826769631dac85b4dba905011e4ff6","user":{"login":"SunilMohanAdapa","id":1535496,"avatar_url":"https://avatars.githubusercontent.com/u/1535496?v=3","gravatar_id":"","url":"https://api.github.com/users/SunilMohanAdapa","html_url":"https://github.com/SunilMohanAdapa","followers_url":"https://api.github.com/users/SunilMohanAdapa/followers","following_url":"https://api.github.com/users/SunilMohanAdapa/following{/other_user}","gists_url":"https://api.github.com/users/SunilMohanAdapa/gists{/gist_id}","starred_url":"https://api.github.com/users/SunilMohanAdapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunilMohanAdapa/subscriptions","organizations_url":"https://api.github.com/users/SunilMohanAdapa/orgs","repos_url":"https://api.github.com/users/SunilMohanAdapa/repos","events_url":"https://api.github.com/users/SunilMohanAdapa/events{/privacy}","received_events_url":"https://api.github.com/users/SunilMohanAdapa/received_events","type":"User","site_admin":false},"repo":{"id":23512469,"name":"Plinth","full_name":"SunilMohanAdapa/Plinth","owner":{"login":"SunilMohanAdapa","id":1535496,"avatar_url":"https://avatars.githubusercontent.com/u/1535496?v=3","gravatar_id":"","url":"https://api.github.com/users/SunilMohanAdapa","html_url":"https://github.com/SunilMohanAdapa","followers_url":"https://api.github.com/users/SunilMohanAdapa/followers","following_url":"https://api.github.com/users/SunilMohanAdapa/following{/other_user}","gists_url":"https://api.github.com/users/SunilMohanAdapa/gists{/gist_id}","starred_url":"https://api.github.com/users/SunilMohanAdapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunilMohanAdapa/subscriptions","organizations_url":"https://api.github.com/users/SunilMohanAdapa/orgs","repos_url":"https://api.github.com/users/SunilMohanAdapa/repos","events_url":"https://api.github.com/users/SunilMohanAdapa/events{/privacy}","received_events_url":"https://api.github.com/users/SunilMohanAdapa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SunilMohanAdapa/Plinth","description":"Web UI for FreedomBox","fork":true,"url":"https://api.github.com/repos/SunilMohanAdapa/Plinth","forks_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/forks","keys_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/teams","hooks_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/hooks","issue_events_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/issues/events{/number}","events_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/events","assignees_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/assignees{/user}","branches_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/branches{/branch}","tags_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/tags","blobs_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/git/refs{/sha}","trees_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/statuses/{sha}","languages_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/languages","stargazers_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/stargazers","contributors_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/contributors","subscribers_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/subscribers","subscription_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/subscription","commits_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/commits{/sha}","git_commits_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/git/commits{/sha}","comments_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/comments{/number}","issue_comment_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/issues/comments{/number}","contents_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/contents/{+path}","compare_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/merges","archive_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/downloads","issues_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/issues{/number}","pulls_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/pulls{/number}","milestones_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/milestones{/number}","notifications_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/labels{/name}","releases_url":"https://api.github.com/repos/SunilMohanAdapa/Plinth/releases{/id}","created_at":"2014-08-31T11:53:01Z","updated_at":"2015-03-29T20:26:06Z","pushed_at":"2015-04-01T17:49:53Z","git_url":"git://github.com/SunilMohanAdapa/Plinth.git","ssh_url":"git@github.com:SunilMohanAdapa/Plinth.git","clone_url":"https://github.com/SunilMohanAdapa/Plinth.git","svn_url":"https://github.com/SunilMohanAdapa/Plinth","homepage":"https://freedomboxfoundation.org/","size":4838,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"freedombox:master","ref":"master","sha":"a4b33e07c8c29c1e772c339f3088898b317f00fe","user":{"login":"freedombox","id":5255604,"avatar_url":"https://avatars.githubusercontent.com/u/5255604?v=3","gravatar_id":"","url":"https://api.github.com/users/freedombox","html_url":"https://github.com/freedombox","followers_url":"https://api.github.com/users/freedombox/followers","following_url":"https://api.github.com/users/freedombox/following{/other_user}","gists_url":"https://api.github.com/users/freedombox/gists{/gist_id}","starred_url":"https://api.github.com/users/freedombox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freedombox/subscriptions","organizations_url":"https://api.github.com/users/freedombox/orgs","repos_url":"https://api.github.com/users/freedombox/repos","events_url":"https://api.github.com/users/freedombox/events{/privacy}","received_events_url":"https://api.github.com/users/freedombox/received_events","type":"Organization","site_admin":false},"repo":{"id":12196957,"name":"Plinth","full_name":"freedombox/Plinth","owner":{"login":"freedombox","id":5255604,"avatar_url":"https://avatars.githubusercontent.com/u/5255604?v=3","gravatar_id":"","url":"https://api.github.com/users/freedombox","html_url":"https://github.com/freedombox","followers_url":"https://api.github.com/users/freedombox/followers","following_url":"https://api.github.com/users/freedombox/following{/other_user}","gists_url":"https://api.github.com/users/freedombox/gists{/gist_id}","starred_url":"https://api.github.com/users/freedombox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freedombox/subscriptions","organizations_url":"https://api.github.com/users/freedombox/orgs","repos_url":"https://api.github.com/users/freedombox/repos","events_url":"https://api.github.com/users/freedombox/events{/privacy}","received_events_url":"https://api.github.com/users/freedombox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/freedombox/Plinth","description":"Web UI for FreedomBox","fork":true,"url":"https://api.github.com/repos/freedombox/Plinth","forks_url":"https://api.github.com/repos/freedombox/Plinth/forks","keys_url":"https://api.github.com/repos/freedombox/Plinth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/freedombox/Plinth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/freedombox/Plinth/teams","hooks_url":"https://api.github.com/repos/freedombox/Plinth/hooks","issue_events_url":"https://api.github.com/repos/freedombox/Plinth/issues/events{/number}","events_url":"https://api.github.com/repos/freedombox/Plinth/events","assignees_url":"https://api.github.com/repos/freedombox/Plinth/assignees{/user}","branches_url":"https://api.github.com/repos/freedombox/Plinth/branches{/branch}","tags_url":"https://api.github.com/repos/freedombox/Plinth/tags","blobs_url":"https://api.github.com/repos/freedombox/Plinth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/freedombox/Plinth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/freedombox/Plinth/git/refs{/sha}","trees_url":"https://api.github.com/repos/freedombox/Plinth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/freedombox/Plinth/statuses/{sha}","languages_url":"https://api.github.com/repos/freedombox/Plinth/languages","stargazers_url":"https://api.github.com/repos/freedombox/Plinth/stargazers","contributors_url":"https://api.github.com/repos/freedombox/Plinth/contributors","subscribers_url":"https://api.github.com/repos/freedombox/Plinth/subscribers","subscription_url":"https://api.github.com/repos/freedombox/Plinth/subscription","commits_url":"https://api.github.com/repos/freedombox/Plinth/commits{/sha}","git_commits_url":"https://api.github.com/repos/freedombox/Plinth/git/commits{/sha}","comments_url":"https://api.github.com/repos/freedombox/Plinth/comments{/number}","issue_comment_url":"https://api.github.com/repos/freedombox/Plinth/issues/comments{/number}","contents_url":"https://api.github.com/repos/freedombox/Plinth/contents/{+path}","compare_url":"https://api.github.com/repos/freedombox/Plinth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/freedombox/Plinth/merges","archive_url":"https://api.github.com/repos/freedombox/Plinth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/freedombox/Plinth/downloads","issues_url":"https://api.github.com/repos/freedombox/Plinth/issues{/number}","pulls_url":"https://api.github.com/repos/freedombox/Plinth/pulls{/number}","milestones_url":"https://api.github.com/repos/freedombox/Plinth/milestones{/number}","notifications_url":"https://api.github.com/repos/freedombox/Plinth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/freedombox/Plinth/labels{/name}","releases_url":"https://api.github.com/repos/freedombox/Plinth/releases{/id}","created_at":"2013-08-18T15:10:42Z","updated_at":"2015-03-29T20:34:23Z","pushed_at":"2015-03-29T20:34:23Z","git_url":"git://github.com/freedombox/Plinth.git","ssh_url":"git@github.com:freedombox/Plinth.git","clone_url":"https://github.com/freedombox/Plinth.git","svn_url":"https://github.com/freedombox/Plinth","homepage":"https://freedomboxfoundation.org/","size":5463,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":60,"forks":11,"open_issues":60,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/freedombox/Plinth/pulls/120"},"html":{"href":"https://github.com/freedombox/Plinth/pull/120"},"issue":{"href":"https://api.github.com/repos/freedombox/Plinth/issues/120"},"comments":{"href":"https://api.github.com/repos/freedombox/Plinth/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/freedombox/Plinth/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/freedombox/Plinth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/freedombox/Plinth/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/freedombox/Plinth/statuses/bca79fcfae826769631dac85b4dba905011e4ff6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":130,"deletions":18,"changed_files":3}}