{"action":"created","comment":{"url":"https://api.github.com/repos/appc/spec/pulls/comments/29070554","id":29070554,"diff_hunk":"@@ -0,0 +1,41 @@\n+package device","path":"pkg/device/device.go","position":1,"original_position":1,"commit_id":"af4d4962caaf973c628c1ea6ba75e39aa8eb68a6","original_commit_id":"af4d4962caaf973c628c1ea6ba75e39aa8eb68a6","user":{"login":"vbatts","id":67049,"avatar_url":"https://avatars.githubusercontent.com/u/67049?v=3","gravatar_id":"","url":"https://api.github.com/users/vbatts","html_url":"https://github.com/vbatts","followers_url":"https://api.github.com/users/vbatts/followers","following_url":"https://api.github.com/users/vbatts/following{/other_user}","gists_url":"https://api.github.com/users/vbatts/gists{/gist_id}","starred_url":"https://api.github.com/users/vbatts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbatts/subscriptions","organizations_url":"https://api.github.com/users/vbatts/orgs","repos_url":"https://api.github.com/users/vbatts/repos","events_url":"https://api.github.com/users/vbatts/events{/privacy}","received_events_url":"https://api.github.com/users/vbatts/received_events","type":"User","site_admin":false},"body":"is this linux/posix only? might need to make build tags for unix and non-unix here","created_at":"2015-04-24T17:57:45Z","updated_at":"2015-04-24T17:57:45Z","html_url":"https://github.com/appc/spec/pull/320#discussion_r29070554","pull_request_url":"https://api.github.com/repos/appc/spec/pulls/320","_links":{"self":{"href":"https://api.github.com/repos/appc/spec/pulls/comments/29070554"},"html":{"href":"https://github.com/appc/spec/pull/320#discussion_r29070554"},"pull_request":{"href":"https://api.github.com/repos/appc/spec/pulls/320"}}},"pull_request":{"url":"https://api.github.com/repos/appc/spec/pulls/320","id":34056149,"html_url":"https://github.com/appc/spec/pull/320","diff_url":"https://github.com/appc/spec/pull/320.diff","patch_url":"https://github.com/appc/spec/pull/320.patch","issue_url":"https://api.github.com/repos/appc/spec/issues/320","number":320,"state":"open","locked":false,"title":"Iaguis/export add makedev","user":{"login":"iaguis","id":507354,"avatar_url":"https://avatars.githubusercontent.com/u/507354?v=3","gravatar_id":"","url":"https://api.github.com/users/iaguis","html_url":"https://github.com/iaguis","followers_url":"https://api.github.com/users/iaguis/followers","following_url":"https://api.github.com/users/iaguis/following{/other_user}","gists_url":"https://api.github.com/users/iaguis/gists{/gist_id}","starred_url":"https://api.github.com/users/iaguis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaguis/subscriptions","organizations_url":"https://api.github.com/users/iaguis/orgs","repos_url":"https://api.github.com/users/iaguis/repos","events_url":"https://api.github.com/users/iaguis/events{/privacy}","received_events_url":"https://api.github.com/users/iaguis/received_events","type":"User","site_admin":false},"body":"Move them from tarheader to device package and export go functions. This\r\nallows the use of these functions by other packages.\r\n\r\nAdd makedev function.\r\n\r\nThis will be used by the CopyTree function I talk about in [coreos/rkt#693 (comment)](https://github.com/coreos/rkt/issues/693#issuecomment-95625786).","created_at":"2015-04-24T14:59:16Z","updated_at":"2015-04-24T17:57:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8a34b6db864983895e14a2c7b45fb4ab07d4270","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appc/spec/pulls/320/commits","review_comments_url":"https://api.github.com/repos/appc/spec/pulls/320/comments","review_comment_url":"https://api.github.com/repos/appc/spec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appc/spec/issues/320/comments","statuses_url":"https://api.github.com/repos/appc/spec/statuses/af4d4962caaf973c628c1ea6ba75e39aa8eb68a6","head":{"label":"endocode:iaguis/export-add-makedev","ref":"iaguis/export-add-makedev","sha":"af4d4962caaf973c628c1ea6ba75e39aa8eb68a6","user":{"login":"endocode","id":4068543,"avatar_url":"https://avatars.githubusercontent.com/u/4068543?v=3","gravatar_id":"","url":"https://api.github.com/users/endocode","html_url":"https://github.com/endocode","followers_url":"https://api.github.com/users/endocode/followers","following_url":"https://api.github.com/users/endocode/following{/other_user}","gists_url":"https://api.github.com/users/endocode/gists{/gist_id}","starred_url":"https://api.github.com/users/endocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endocode/subscriptions","organizations_url":"https://api.github.com/users/endocode/orgs","repos_url":"https://api.github.com/users/endocode/repos","events_url":"https://api.github.com/users/endocode/events{/privacy}","received_events_url":"https://api.github.com/users/endocode/received_events","type":"Organization","site_admin":false},"repo":{"id":28098013,"name":"appc-spec","full_name":"endocode/appc-spec","owner":{"login":"endocode","id":4068543,"avatar_url":"https://avatars.githubusercontent.com/u/4068543?v=3","gravatar_id":"","url":"https://api.github.com/users/endocode","html_url":"https://github.com/endocode","followers_url":"https://api.github.com/users/endocode/followers","following_url":"https://api.github.com/users/endocode/following{/other_user}","gists_url":"https://api.github.com/users/endocode/gists{/gist_id}","starred_url":"https://api.github.com/users/endocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endocode/subscriptions","organizations_url":"https://api.github.com/users/endocode/orgs","repos_url":"https://api.github.com/users/endocode/repos","events_url":"https://api.github.com/users/endocode/events{/privacy}","received_events_url":"https://api.github.com/users/endocode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/endocode/appc-spec","description":"App Container Specification and Tooling","fork":true,"url":"https://api.github.com/repos/endocode/appc-spec","forks_url":"https://api.github.com/repos/endocode/appc-spec/forks","keys_url":"https://api.github.com/repos/endocode/appc-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/endocode/appc-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/endocode/appc-spec/teams","hooks_url":"https://api.github.com/repos/endocode/appc-spec/hooks","issue_events_url":"https://api.github.com/repos/endocode/appc-spec/issues/events{/number}","events_url":"https://api.github.com/repos/endocode/appc-spec/events","assignees_url":"https://api.github.com/repos/endocode/appc-spec/assignees{/user}","branches_url":"https://api.github.com/repos/endocode/appc-spec/branches{/branch}","tags_url":"https://api.github.com/repos/endocode/appc-spec/tags","blobs_url":"https://api.github.com/repos/endocode/appc-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/endocode/appc-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/endocode/appc-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/endocode/appc-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/endocode/appc-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/endocode/appc-spec/languages","stargazers_url":"https://api.github.com/repos/endocode/appc-spec/stargazers","contributors_url":"https://api.github.com/repos/endocode/appc-spec/contributors","subscribers_url":"https://api.github.com/repos/endocode/appc-spec/subscribers","subscription_url":"https://api.github.com/repos/endocode/appc-spec/subscription","commits_url":"https://api.github.com/repos/endocode/appc-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/endocode/appc-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/endocode/appc-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/endocode/appc-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/endocode/appc-spec/contents/{+path}","compare_url":"https://api.github.com/repos/endocode/appc-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/endocode/appc-spec/merges","archive_url":"https://api.github.com/repos/endocode/appc-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/endocode/appc-spec/downloads","issues_url":"https://api.github.com/repos/endocode/appc-spec/issues{/number}","pulls_url":"https://api.github.com/repos/endocode/appc-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/endocode/appc-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/endocode/appc-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/endocode/appc-spec/labels{/name}","releases_url":"https://api.github.com/repos/endocode/appc-spec/releases{/id}","created_at":"2014-12-16T17:26:59Z","updated_at":"2015-04-01T08:31:33Z","pushed_at":"2015-04-24T15:12:02Z","git_url":"git://github.com/endocode/appc-spec.git","ssh_url":"git@github.com:endocode/appc-spec.git","clone_url":"https://github.com/endocode/appc-spec.git","svn_url":"https://github.com/endocode/appc-spec","homepage":null,"size":1230,"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":"appc:master","ref":"master","sha":"537fe4fe51314092ea5b2b926c26aced56f6f818","user":{"login":"appc","id":10080092,"avatar_url":"https://avatars.githubusercontent.com/u/10080092?v=3","gravatar_id":"","url":"https://api.github.com/users/appc","html_url":"https://github.com/appc","followers_url":"https://api.github.com/users/appc/followers","following_url":"https://api.github.com/users/appc/following{/other_user}","gists_url":"https://api.github.com/users/appc/gists{/gist_id}","starred_url":"https://api.github.com/users/appc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appc/subscriptions","organizations_url":"https://api.github.com/users/appc/orgs","repos_url":"https://api.github.com/users/appc/repos","events_url":"https://api.github.com/users/appc/events{/privacy}","received_events_url":"https://api.github.com/users/appc/received_events","type":"Organization","site_admin":false},"repo":{"id":27782596,"name":"spec","full_name":"appc/spec","owner":{"login":"appc","id":10080092,"avatar_url":"https://avatars.githubusercontent.com/u/10080092?v=3","gravatar_id":"","url":"https://api.github.com/users/appc","html_url":"https://github.com/appc","followers_url":"https://api.github.com/users/appc/followers","following_url":"https://api.github.com/users/appc/following{/other_user}","gists_url":"https://api.github.com/users/appc/gists{/gist_id}","starred_url":"https://api.github.com/users/appc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appc/subscriptions","organizations_url":"https://api.github.com/users/appc/orgs","repos_url":"https://api.github.com/users/appc/repos","events_url":"https://api.github.com/users/appc/events{/privacy}","received_events_url":"https://api.github.com/users/appc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appc/spec","description":"App Container Specification and Tooling","fork":false,"url":"https://api.github.com/repos/appc/spec","forks_url":"https://api.github.com/repos/appc/spec/forks","keys_url":"https://api.github.com/repos/appc/spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appc/spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appc/spec/teams","hooks_url":"https://api.github.com/repos/appc/spec/hooks","issue_events_url":"https://api.github.com/repos/appc/spec/issues/events{/number}","events_url":"https://api.github.com/repos/appc/spec/events","assignees_url":"https://api.github.com/repos/appc/spec/assignees{/user}","branches_url":"https://api.github.com/repos/appc/spec/branches{/branch}","tags_url":"https://api.github.com/repos/appc/spec/tags","blobs_url":"https://api.github.com/repos/appc/spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appc/spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appc/spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/appc/spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appc/spec/statuses/{sha}","languages_url":"https://api.github.com/repos/appc/spec/languages","stargazers_url":"https://api.github.com/repos/appc/spec/stargazers","contributors_url":"https://api.github.com/repos/appc/spec/contributors","subscribers_url":"https://api.github.com/repos/appc/spec/subscribers","subscription_url":"https://api.github.com/repos/appc/spec/subscription","commits_url":"https://api.github.com/repos/appc/spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/appc/spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/appc/spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/appc/spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/appc/spec/contents/{+path}","compare_url":"https://api.github.com/repos/appc/spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appc/spec/merges","archive_url":"https://api.github.com/repos/appc/spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appc/spec/downloads","issues_url":"https://api.github.com/repos/appc/spec/issues{/number}","pulls_url":"https://api.github.com/repos/appc/spec/pulls{/number}","milestones_url":"https://api.github.com/repos/appc/spec/milestones{/number}","notifications_url":"https://api.github.com/repos/appc/spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appc/spec/labels{/name}","releases_url":"https://api.github.com/repos/appc/spec/releases{/id}","created_at":"2014-12-09T19:17:54Z","updated_at":"2015-04-24T15:17:33Z","pushed_at":"2015-04-24T17:52:53Z","git_url":"git://github.com/appc/spec.git","ssh_url":"git@github.com:appc/spec.git","clone_url":"https://github.com/appc/spec.git","svn_url":"https://github.com/appc/spec","homepage":null,"size":4122,"stargazers_count":499,"watchers_count":499,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":77,"forks":60,"open_issues":77,"watchers":499,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appc/spec/pulls/320"},"html":{"href":"https://github.com/appc/spec/pull/320"},"issue":{"href":"https://api.github.com/repos/appc/spec/issues/320"},"comments":{"href":"https://api.github.com/repos/appc/spec/issues/320/comments"},"review_comments":{"href":"https://api.github.com/repos/appc/spec/pulls/320/comments"},"review_comment":{"href":"https://api.github.com/repos/appc/spec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appc/spec/pulls/320/commits"},"statuses":{"href":"https://api.github.com/repos/appc/spec/statuses/af4d4962caaf973c628c1ea6ba75e39aa8eb68a6"}}}}