{"action":"created","comment":{"url":"https://api.github.com/repos/snapcore/snapd/pulls/comments/116466762","pull_request_review_id":38089552,"id":116466762,"diff_hunk":"@@ -0,0 +1,138 @@\n+// -*- Mode: Go; indent-tabs-mode: t -*-\n+\n+/*\n+ * Copyright (C) 2017 Canonical Ltd\n+ *\n+ * This program is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU General Public License version 3 as\n+ * published by the Free Software Foundation.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU General Public License\n+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+ *\n+ */\n+\n+package user\n+\n+import (\n+\t\"bytes\"\n+\n+\t\"github.com/godbus/dbus\"","path":"daemon/user/daemon.go","position":25,"original_position":25,"commit_id":"bc18c7c3d6b4e86f1f47c50dee6f0e4b8b4fc458","original_commit_id":"bc18c7c3d6b4e86f1f47c50dee6f0e4b8b4fc458","user":{"login":"zyga","id":784262,"avatar_url":"https://avatars3.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},"body":"Good luck a packaging that everywhere ^_^\r\n\r\nQuick question: how many dependencies does godbus itself pull in?\r\n","created_at":"2017-05-15T11:26:54Z","updated_at":"2017-05-15T11:42:06Z","html_url":"https://github.com/snapcore/snapd/pull/3260#discussion_r116466762","pull_request_url":"https://api.github.com/repos/snapcore/snapd/pulls/3260","_links":{"self":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/comments/116466762"},"html":{"href":"https://github.com/snapcore/snapd/pull/3260#discussion_r116466762"},"pull_request":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/3260"}}},"pull_request":{"url":"https://api.github.com/repos/snapcore/snapd/pulls/3260","id":118556679,"html_url":"https://github.com/snapcore/snapd/pull/3260","diff_url":"https://github.com/snapcore/snapd/pull/3260.diff","patch_url":"https://github.com/snapcore/snapd/pull/3260.patch","issue_url":"https://api.github.com/repos/snapcore/snapd/issues/3260","number":3260,"state":"open","locked":false,"title":"daemon: implement --user instance for snapd","user":{"login":"morphis","id":433752,"avatar_url":"https://avatars1.githubusercontent.com/u/433752?v=3","gravatar_id":"","url":"https://api.github.com/users/morphis","html_url":"https://github.com/morphis","followers_url":"https://api.github.com/users/morphis/followers","following_url":"https://api.github.com/users/morphis/following{/other_user}","gists_url":"https://api.github.com/users/morphis/gists{/gist_id}","starred_url":"https://api.github.com/users/morphis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morphis/subscriptions","organizations_url":"https://api.github.com/users/morphis/orgs","repos_url":"https://api.github.com/users/morphis/repos","events_url":"https://api.github.com/users/morphis/events{/privacy}","received_events_url":"https://api.github.com/users/morphis/received_events","type":"User","site_admin":false},"body":"In https://forum.snapcraft.io/t/integrate-snapd-xdg-open-into-snapd-repository/100 we decided to implement  a `snapd --user` instance which runs inside the user session and takes over the job from `snapd-xdg-open` which will be deprecated with this. \r\n\r\nBased on discussion from https://forum.snapcraft.io/t/integrate-snapd-xdg-open-into-snapd-repository/100","created_at":"2017-05-02T13:36:49Z","updated_at":"2017-05-15T11:42:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d77950fb7622e9d26b216c9bc0d3ec954d4611c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/snapcore/snapd/pulls/3260/commits","review_comments_url":"https://api.github.com/repos/snapcore/snapd/pulls/3260/comments","review_comment_url":"https://api.github.com/repos/snapcore/snapd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/snapcore/snapd/issues/3260/comments","statuses_url":"https://api.github.com/repos/snapcore/snapd/statuses/bc18c7c3d6b4e86f1f47c50dee6f0e4b8b4fc458","head":{"label":"morphis:f/snapd-user-instance","ref":"f/snapd-user-instance","sha":"bc18c7c3d6b4e86f1f47c50dee6f0e4b8b4fc458","user":{"login":"morphis","id":433752,"avatar_url":"https://avatars1.githubusercontent.com/u/433752?v=3","gravatar_id":"","url":"https://api.github.com/users/morphis","html_url":"https://github.com/morphis","followers_url":"https://api.github.com/users/morphis/followers","following_url":"https://api.github.com/users/morphis/following{/other_user}","gists_url":"https://api.github.com/users/morphis/gists{/gist_id}","starred_url":"https://api.github.com/users/morphis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morphis/subscriptions","organizations_url":"https://api.github.com/users/morphis/orgs","repos_url":"https://api.github.com/users/morphis/repos","events_url":"https://api.github.com/users/morphis/events{/privacy}","received_events_url":"https://api.github.com/users/morphis/received_events","type":"User","site_admin":false},"repo":{"id":56325721,"name":"snapd","full_name":"morphis/snapd","owner":{"login":"morphis","id":433752,"avatar_url":"https://avatars1.githubusercontent.com/u/433752?v=3","gravatar_id":"","url":"https://api.github.com/users/morphis","html_url":"https://github.com/morphis","followers_url":"https://api.github.com/users/morphis/followers","following_url":"https://api.github.com/users/morphis/following{/other_user}","gists_url":"https://api.github.com/users/morphis/gists{/gist_id}","starred_url":"https://api.github.com/users/morphis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morphis/subscriptions","organizations_url":"https://api.github.com/users/morphis/orgs","repos_url":"https://api.github.com/users/morphis/repos","events_url":"https://api.github.com/users/morphis/events{/privacy}","received_events_url":"https://api.github.com/users/morphis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/morphis/snapd","description":"Snappy is the software at the heart of Ubuntu Core.","fork":true,"url":"https://api.github.com/repos/morphis/snapd","forks_url":"https://api.github.com/repos/morphis/snapd/forks","keys_url":"https://api.github.com/repos/morphis/snapd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/morphis/snapd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/morphis/snapd/teams","hooks_url":"https://api.github.com/repos/morphis/snapd/hooks","issue_events_url":"https://api.github.com/repos/morphis/snapd/issues/events{/number}","events_url":"https://api.github.com/repos/morphis/snapd/events","assignees_url":"https://api.github.com/repos/morphis/snapd/assignees{/user}","branches_url":"https://api.github.com/repos/morphis/snapd/branches{/branch}","tags_url":"https://api.github.com/repos/morphis/snapd/tags","blobs_url":"https://api.github.com/repos/morphis/snapd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/morphis/snapd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/morphis/snapd/git/refs{/sha}","trees_url":"https://api.github.com/repos/morphis/snapd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/morphis/snapd/statuses/{sha}","languages_url":"https://api.github.com/repos/morphis/snapd/languages","stargazers_url":"https://api.github.com/repos/morphis/snapd/stargazers","contributors_url":"https://api.github.com/repos/morphis/snapd/contributors","subscribers_url":"https://api.github.com/repos/morphis/snapd/subscribers","subscription_url":"https://api.github.com/repos/morphis/snapd/subscription","commits_url":"https://api.github.com/repos/morphis/snapd/commits{/sha}","git_commits_url":"https://api.github.com/repos/morphis/snapd/git/commits{/sha}","comments_url":"https://api.github.com/repos/morphis/snapd/comments{/number}","issue_comment_url":"https://api.github.com/repos/morphis/snapd/issues/comments{/number}","contents_url":"https://api.github.com/repos/morphis/snapd/contents/{+path}","compare_url":"https://api.github.com/repos/morphis/snapd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/morphis/snapd/merges","archive_url":"https://api.github.com/repos/morphis/snapd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/morphis/snapd/downloads","issues_url":"https://api.github.com/repos/morphis/snapd/issues{/number}","pulls_url":"https://api.github.com/repos/morphis/snapd/pulls{/number}","milestones_url":"https://api.github.com/repos/morphis/snapd/milestones{/number}","notifications_url":"https://api.github.com/repos/morphis/snapd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/morphis/snapd/labels{/name}","releases_url":"https://api.github.com/repos/morphis/snapd/releases{/id}","deployments_url":"https://api.github.com/repos/morphis/snapd/deployments","created_at":"2016-04-15T14:21:22Z","updated_at":"2016-07-19T15:18:36Z","pushed_at":"2017-05-15T10:08:55Z","git_url":"git://github.com/morphis/snapd.git","ssh_url":"git@github.com:morphis/snapd.git","clone_url":"https://github.com/morphis/snapd.git","svn_url":"https://github.com/morphis/snapd","homepage":null,"size":47392,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"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":"1e05fec1c58fe73957abe3071cd7df881b699988","user":{"login":"snapcore","id":19532717,"avatar_url":"https://avatars2.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://avatars2.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":"2017-05-15T01:28:11Z","pushed_at":"2017-05-15T11:16:01Z","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":47410,"stargazers_count":716,"watchers_count":716,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":173,"mirror_url":null,"open_issues_count":19,"forks":173,"open_issues":19,"watchers":716,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/3260"},"html":{"href":"https://github.com/snapcore/snapd/pull/3260"},"issue":{"href":"https://api.github.com/repos/snapcore/snapd/issues/3260"},"comments":{"href":"https://api.github.com/repos/snapcore/snapd/issues/3260/comments"},"review_comments":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/3260/comments"},"review_comment":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/snapcore/snapd/pulls/3260/commits"},"statuses":{"href":"https://api.github.com/repos/snapcore/snapd/statuses/bc18c7c3d6b4e86f1f47c50dee6f0e4b8b4fc458"}}}}
{"actor":{"display_login":"zyga"}}