{"action":"created","comment":{"url":"https://api.github.com/repos/snapcore/snapd/pulls/comments/74803410","id":74803410,"diff_hunk":"@@ -1,4 +1,5 @@\n /usr/bin/snap\n+/usr/bin/snapctl","path":"debian/snapd.install","position":null,"original_position":2,"commit_id":"c5e900def7bd200455995c0594ff4d6b3869c5f8","original_commit_id":"793fda2ef648eace3800062044c30da2f672e3a2","user":{"login":"kyrofa","id":946674,"avatar_url":"https://avatars.githubusercontent.com/u/946674?v=3","gravatar_id":"","url":"https://api.github.com/users/kyrofa","html_url":"https://github.com/kyrofa","followers_url":"https://api.github.com/users/kyrofa/followers","following_url":"https://api.github.com/users/kyrofa/following{/other_user}","gists_url":"https://api.github.com/users/kyrofa/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrofa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrofa/subscriptions","organizations_url":"https://api.github.com/users/kyrofa/orgs","repos_url":"https://api.github.com/users/kyrofa/repos","events_url":"https://api.github.com/users/kyrofa/events{/privacy}","received_events_url":"https://api.github.com/users/kyrofa/received_events","type":"User","site_admin":false},"body":"After discussion on telegram, scratched that-- just put it in `/usr/lib/snapd`.","created_at":"2016-08-15T17:56:43Z","updated_at":"2016-08-15T17:56:43Z","html_url":"https://github.com/snapcore/snapd/pull/1667#discussion_r74803410","pull_request_url":"https://api.github.com/repos/snapcore/snapd/pulls/1667","_links":{"self":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/comments/74803410"},"html":{"href":"https://github.com/snapcore/snapd/pull/1667#discussion_r74803410"},"pull_request":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/1667"}}},"pull_request":{"url":"https://api.github.com/repos/snapcore/snapd/pulls/1667","id":80866505,"html_url":"https://github.com/snapcore/snapd/pull/1667","diff_url":"https://github.com/snapcore/snapd/pull/1667.diff","patch_url":"https://github.com/snapcore/snapd/pull/1667.patch","issue_url":"https://api.github.com/repos/snapcore/snapd/issues/1667","number":1667,"state":"open","locked":false,"title":"many: implement snapctl command.","user":{"login":"kyrofa","id":946674,"avatar_url":"https://avatars.githubusercontent.com/u/946674?v=3","gravatar_id":"","url":"https://api.github.com/users/kyrofa","html_url":"https://github.com/kyrofa","followers_url":"https://api.github.com/users/kyrofa/followers","following_url":"https://api.github.com/users/kyrofa/following{/other_user}","gists_url":"https://api.github.com/users/kyrofa/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrofa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrofa/subscriptions","organizations_url":"https://api.github.com/users/kyrofa/orgs","repos_url":"https://api.github.com/users/kyrofa/repos","events_url":"https://api.github.com/users/kyrofa/events{/privacy}","received_events_url":"https://api.github.com/users/kyrofa/received_events","type":"User","site_admin":false},"body":"The `snapctl` command is the method of communication between hooks and snapd. This PR makes more progress on LP: [#1586465](https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1586465) by adding the command as well as relevant sections of the REST API, all the way down to the HookManager. The relevant HookManager functionality will be completed in a subsequent PR.","created_at":"2016-08-10T20:58:44Z","updated_at":"2016-08-15T17:56:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a63b8d530fd243579a59d42edf29282c9013041b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/snapcore/snapd/pulls/1667/commits","review_comments_url":"https://api.github.com/repos/snapcore/snapd/pulls/1667/comments","review_comment_url":"https://api.github.com/repos/snapcore/snapd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/snapcore/snapd/issues/1667/comments","statuses_url":"https://api.github.com/repos/snapcore/snapd/statuses/c5e900def7bd200455995c0594ff4d6b3869c5f8","head":{"label":"kyrofa:feature/1586465/snaptool","ref":"feature/1586465/snaptool","sha":"c5e900def7bd200455995c0594ff4d6b3869c5f8","user":{"login":"kyrofa","id":946674,"avatar_url":"https://avatars.githubusercontent.com/u/946674?v=3","gravatar_id":"","url":"https://api.github.com/users/kyrofa","html_url":"https://github.com/kyrofa","followers_url":"https://api.github.com/users/kyrofa/followers","following_url":"https://api.github.com/users/kyrofa/following{/other_user}","gists_url":"https://api.github.com/users/kyrofa/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrofa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrofa/subscriptions","organizations_url":"https://api.github.com/users/kyrofa/orgs","repos_url":"https://api.github.com/users/kyrofa/repos","events_url":"https://api.github.com/users/kyrofa/events{/privacy}","received_events_url":"https://api.github.com/users/kyrofa/received_events","type":"User","site_admin":false},"repo":{"id":59755219,"name":"snapd","full_name":"kyrofa/snapd","owner":{"login":"kyrofa","id":946674,"avatar_url":"https://avatars.githubusercontent.com/u/946674?v=3","gravatar_id":"","url":"https://api.github.com/users/kyrofa","html_url":"https://github.com/kyrofa","followers_url":"https://api.github.com/users/kyrofa/followers","following_url":"https://api.github.com/users/kyrofa/following{/other_user}","gists_url":"https://api.github.com/users/kyrofa/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrofa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrofa/subscriptions","organizations_url":"https://api.github.com/users/kyrofa/orgs","repos_url":"https://api.github.com/users/kyrofa/repos","events_url":"https://api.github.com/users/kyrofa/events{/privacy}","received_events_url":"https://api.github.com/users/kyrofa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kyrofa/snapd","description":"The snapd and snap tools enable systems to work with .snap files.","fork":true,"url":"https://api.github.com/repos/kyrofa/snapd","forks_url":"https://api.github.com/repos/kyrofa/snapd/forks","keys_url":"https://api.github.com/repos/kyrofa/snapd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kyrofa/snapd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kyrofa/snapd/teams","hooks_url":"https://api.github.com/repos/kyrofa/snapd/hooks","issue_events_url":"https://api.github.com/repos/kyrofa/snapd/issues/events{/number}","events_url":"https://api.github.com/repos/kyrofa/snapd/events","assignees_url":"https://api.github.com/repos/kyrofa/snapd/assignees{/user}","branches_url":"https://api.github.com/repos/kyrofa/snapd/branches{/branch}","tags_url":"https://api.github.com/repos/kyrofa/snapd/tags","blobs_url":"https://api.github.com/repos/kyrofa/snapd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kyrofa/snapd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kyrofa/snapd/git/refs{/sha}","trees_url":"https://api.github.com/repos/kyrofa/snapd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kyrofa/snapd/statuses/{sha}","languages_url":"https://api.github.com/repos/kyrofa/snapd/languages","stargazers_url":"https://api.github.com/repos/kyrofa/snapd/stargazers","contributors_url":"https://api.github.com/repos/kyrofa/snapd/contributors","subscribers_url":"https://api.github.com/repos/kyrofa/snapd/subscribers","subscription_url":"https://api.github.com/repos/kyrofa/snapd/subscription","commits_url":"https://api.github.com/repos/kyrofa/snapd/commits{/sha}","git_commits_url":"https://api.github.com/repos/kyrofa/snapd/git/commits{/sha}","comments_url":"https://api.github.com/repos/kyrofa/snapd/comments{/number}","issue_comment_url":"https://api.github.com/repos/kyrofa/snapd/issues/comments{/number}","contents_url":"https://api.github.com/repos/kyrofa/snapd/contents/{+path}","compare_url":"https://api.github.com/repos/kyrofa/snapd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kyrofa/snapd/merges","archive_url":"https://api.github.com/repos/kyrofa/snapd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kyrofa/snapd/downloads","issues_url":"https://api.github.com/repos/kyrofa/snapd/issues{/number}","pulls_url":"https://api.github.com/repos/kyrofa/snapd/pulls{/number}","milestones_url":"https://api.github.com/repos/kyrofa/snapd/milestones{/number}","notifications_url":"https://api.github.com/repos/kyrofa/snapd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kyrofa/snapd/labels{/name}","releases_url":"https://api.github.com/repos/kyrofa/snapd/releases{/id}","deployments_url":"https://api.github.com/repos/kyrofa/snapd/deployments","created_at":"2016-05-26T14:05:43Z","updated_at":"2016-05-26T14:05:46Z","pushed_at":"2016-08-15T17:56:14Z","git_url":"git://github.com/kyrofa/snapd.git","ssh_url":"git@github.com:kyrofa/snapd.git","clone_url":"https://github.com/kyrofa/snapd.git","svn_url":"https://github.com/kyrofa/snapd","homepage":"","size":33770,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"snapcore:master","ref":"master","sha":"67c099cbd4278ee195d9873339a2229bbf2e144e","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":44672744,"name":"snapd","full_name":"snapcore/snapd","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/snapd","description":"The snapd and snap tools enable systems to work with .snap files.","fork":false,"url":"https://api.github.com/repos/snapcore/snapd","forks_url":"https://api.github.com/repos/snapcore/snapd/forks","keys_url":"https://api.github.com/repos/snapcore/snapd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snapcore/snapd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snapcore/snapd/teams","hooks_url":"https://api.github.com/repos/snapcore/snapd/hooks","issue_events_url":"https://api.github.com/repos/snapcore/snapd/issues/events{/number}","events_url":"https://api.github.com/repos/snapcore/snapd/events","assignees_url":"https://api.github.com/repos/snapcore/snapd/assignees{/user}","branches_url":"https://api.github.com/repos/snapcore/snapd/branches{/branch}","tags_url":"https://api.github.com/repos/snapcore/snapd/tags","blobs_url":"https://api.github.com/repos/snapcore/snapd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snapcore/snapd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snapcore/snapd/git/refs{/sha}","trees_url":"https://api.github.com/repos/snapcore/snapd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snapcore/snapd/statuses/{sha}","languages_url":"https://api.github.com/repos/snapcore/snapd/languages","stargazers_url":"https://api.github.com/repos/snapcore/snapd/stargazers","contributors_url":"https://api.github.com/repos/snapcore/snapd/contributors","subscribers_url":"https://api.github.com/repos/snapcore/snapd/subscribers","subscription_url":"https://api.github.com/repos/snapcore/snapd/subscription","commits_url":"https://api.github.com/repos/snapcore/snapd/commits{/sha}","git_commits_url":"https://api.github.com/repos/snapcore/snapd/git/commits{/sha}","comments_url":"https://api.github.com/repos/snapcore/snapd/comments{/number}","issue_comment_url":"https://api.github.com/repos/snapcore/snapd/issues/comments{/number}","contents_url":"https://api.github.com/repos/snapcore/snapd/contents/{+path}","compare_url":"https://api.github.com/repos/snapcore/snapd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snapcore/snapd/merges","archive_url":"https://api.github.com/repos/snapcore/snapd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snapcore/snapd/downloads","issues_url":"https://api.github.com/repos/snapcore/snapd/issues{/number}","pulls_url":"https://api.github.com/repos/snapcore/snapd/pulls{/number}","milestones_url":"https://api.github.com/repos/snapcore/snapd/milestones{/number}","notifications_url":"https://api.github.com/repos/snapcore/snapd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snapcore/snapd/labels{/name}","releases_url":"https://api.github.com/repos/snapcore/snapd/releases{/id}","deployments_url":"https://api.github.com/repos/snapcore/snapd/deployments","created_at":"2015-10-21T11:51:46Z","updated_at":"2016-08-12T23:50:37Z","pushed_at":"2016-08-15T17:56:15Z","git_url":"git://github.com/snapcore/snapd.git","ssh_url":"git@github.com:snapcore/snapd.git","clone_url":"https://github.com/snapcore/snapd.git","svn_url":"https://github.com/snapcore/snapd","homepage":"","size":35562,"stargazers_count":375,"watchers_count":375,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":90,"mirror_url":null,"open_issues_count":22,"forks":90,"open_issues":22,"watchers":375,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/1667"},"html":{"href":"https://github.com/snapcore/snapd/pull/1667"},"issue":{"href":"https://api.github.com/repos/snapcore/snapd/issues/1667"},"comments":{"href":"https://api.github.com/repos/snapcore/snapd/issues/1667/comments"},"review_comments":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/1667/comments"},"review_comment":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/1667/commits"},"statuses":{"href":"https://api.github.com/repos/snapcore/snapd/statuses/c5e900def7bd200455995c0594ff4d6b3869c5f8"}}}}
{"actor":{"display_login":"kyrofa"}}