GitHub PullRequestReviewCommentEvent at 2014-10-30 08:36:55
Repository: cat
Actor: demmys
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/sfc-arch/cat/pulls/comments/19592201","id":19592201,"diff_hunk":"@@ -0,0 +1,47 @@\n+#include <io.h>\n+#include <fcntl.h>\n+\n+int main(int argc,char *argv[])\n+{\n+\tchar buf[1024];\n+\tint fd;\n+\tint rc;\n+\tint kc;\n+\tchar keydata[1];\n+\tchar dispdata[1024];\n+\tint count=0;\n+\n+\tif(argc==1)\n+\t{\n+\t\twhile(1){\n+\t\t\tif((kc = read(0,keydata,1)) != -1){\n+\t\t\t\tdispdata[count] = keydata[0];\n+\t\t\t\tcount++;\n+\t\t\t\tif(keydata[0] == '\\n'){\n+\t\t\t\t\twrite(1,dispdata,count);\n+\t\t\t\t\tcount=0;\n+\t\t\t\t}\n+\t\t\t}\n+\t\t\t\n+\t\t}\n+\t}//*/","path":"mycat2.c","position":27,"original_position":27,"commit_id":"e2919574ba1ea4d0cd716006b1b08c72ada1036f","original_commit_id":"e2919574ba1ea4d0cd716006b1b08c72ada1036f","user":{"login":"demmys","id":2297122,"avatar_url":"https://avatars.githubusercontent.com/u/2297122?v=2","gravatar_id":"","url":"https://api.github.com/users/demmys","html_url":"https://github.com/demmys","followers_url":"https://api.github.com/users/demmys/followers","following_url":"https://api.github.com/users/demmys/following{/other_user}","gists_url":"https://api.github.com/users/demmys/gists{/gist_id}","starred_url":"https://api.github.com/users/demmys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demmys/subscriptions","organizations_url":"https://api.github.com/users/demmys/orgs","repos_url":"https://api.github.com/users/demmys/repos","events_url":"https://api.github.com/users/demmys/events{/privacy}","received_events_url":"https://api.github.com/users/demmys/received_events","type":"User","site_admin":false},"body":"なにこれ","created_at":"2014-10-30T08:36:55Z","updated_at":"2014-10-30T08:36:55Z","html_url":"https://github.com/sfc-arch/cat/pull/1#discussion_r19592201","pull_request_url":"https://api.github.com/repos/sfc-arch/cat/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/sfc-arch/cat/pulls/comments/19592201"},"html":{"href":"https://github.com/sfc-arch/cat/pull/1#discussion_r19592201"},"pull_request":{"href":"https://api.github.com/repos/sfc-arch/cat/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/sfc-arch/cat/pulls/1","id":23583569,"html_url":"https://github.com/sfc-arch/cat/pull/1","diff_url":"https://github.com/sfc-arch/cat/pull/1.diff","patch_url":"https://github.com/sfc-arch/cat/pull/1.patch","issue_url":"https://api.github.com/repos/sfc-arch/cat/issues/1","number":1,"state":"open","locked":false,"title":"submit","user":{"login":"Phi-phi","id":9004204,"avatar_url":"https://avatars.githubusercontent.com/u/9004204?v=2","gravatar_id":"","url":"https://api.github.com/users/Phi-phi","html_url":"https://github.com/Phi-phi","followers_url":"https://api.github.com/users/Phi-phi/followers","following_url":"https://api.github.com/users/Phi-phi/following{/other_user}","gists_url":"https://api.github.com/users/Phi-phi/gists{/gist_id}","starred_url":"https://api.github.com/users/Phi-phi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phi-phi/subscriptions","organizations_url":"https://api.github.com/users/Phi-phi/orgs","repos_url":"https://api.github.com/users/Phi-phi/repos","events_url":"https://api.github.com/users/Phi-phi/events{/privacy}","received_events_url":"https://api.github.com/users/Phi-phi/received_events","type":"User","site_admin":false},"body":"catコマンドの実装完了しました。\r\n引数なしで実行した場合の入力された文字列をそのまま出力する機能も追加しました。\r\nレビューをお願いします。","created_at":"2014-10-30T05:27:19Z","updated_at":"2014-10-30T08:36:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a813c851e693faf30c1510f2eed0985f4bd7a338","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sfc-arch/cat/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sfc-arch/cat/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sfc-arch/cat/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sfc-arch/cat/issues/1/comments","statuses_url":"https://api.github.com/repos/sfc-arch/cat/statuses/e2919574ba1ea4d0cd716006b1b08c72ada1036f","head":{"label":"Phi-phi:master","ref":"master","sha":"e2919574ba1ea4d0cd716006b1b08c72ada1036f","user":{"login":"Phi-phi","id":9004204,"avatar_url":"https://avatars.githubusercontent.com/u/9004204?v=2","gravatar_id":"","url":"https://api.github.com/users/Phi-phi","html_url":"https://github.com/Phi-phi","followers_url":"https://api.github.com/users/Phi-phi/followers","following_url":"https://api.github.com/users/Phi-phi/following{/other_user}","gists_url":"https://api.github.com/users/Phi-phi/gists{/gist_id}","starred_url":"https://api.github.com/users/Phi-phi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phi-phi/subscriptions","organizations_url":"https://api.github.com/users/Phi-phi/orgs","repos_url":"https://api.github.com/users/Phi-phi/repos","events_url":"https://api.github.com/users/Phi-phi/events{/privacy}","received_events_url":"https://api.github.com/users/Phi-phi/received_events","type":"User","site_admin":false},"repo":{"id":25955933,"name":"cat","full_name":"Phi-phi/cat","owner":{"login":"Phi-phi","id":9004204,"avatar_url":"https://avatars.githubusercontent.com/u/9004204?v=2","gravatar_id":"","url":"https://api.github.com/users/Phi-phi","html_url":"https://github.com/Phi-phi","followers_url":"https://api.github.com/users/Phi-phi/followers","following_url":"https://api.github.com/users/Phi-phi/following{/other_user}","gists_url":"https://api.github.com/users/Phi-phi/gists{/gist_id}","starred_url":"https://api.github.com/users/Phi-phi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phi-phi/subscriptions","organizations_url":"https://api.github.com/users/Phi-phi/orgs","repos_url":"https://api.github.com/users/Phi-phi/repos","events_url":"https://api.github.com/users/Phi-phi/events{/privacy}","received_events_url":"https://api.github.com/users/Phi-phi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Phi-phi/cat","description":"Arch C言語 課題No.1 catコマンドの実装","fork":true,"url":"https://api.github.com/repos/Phi-phi/cat","forks_url":"https://api.github.com/repos/Phi-phi/cat/forks","keys_url":"https://api.github.com/repos/Phi-phi/cat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Phi-phi/cat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Phi-phi/cat/teams","hooks_url":"https://api.github.com/repos/Phi-phi/cat/hooks","issue_events_url":"https://api.github.com/repos/Phi-phi/cat/issues/events{/number}","events_url":"https://api.github.com/repos/Phi-phi/cat/events","assignees_url":"https://api.github.com/repos/Phi-phi/cat/assignees{/user}","branches_url":"https://api.github.com/repos/Phi-phi/cat/branches{/branch}","tags_url":"https://api.github.com/repos/Phi-phi/cat/tags","blobs_url":"https://api.github.com/repos/Phi-phi/cat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Phi-phi/cat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Phi-phi/cat/git/refs{/sha}","trees_url":"https://api.github.com/repos/Phi-phi/cat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Phi-phi/cat/statuses/{sha}","languages_url":"https://api.github.com/repos/Phi-phi/cat/languages","stargazers_url":"https://api.github.com/repos/Phi-phi/cat/stargazers","contributors_url":"https://api.github.com/repos/Phi-phi/cat/contributors","subscribers_url":"https://api.github.com/repos/Phi-phi/cat/subscribers","subscription_url":"https://api.github.com/repos/Phi-phi/cat/subscription","commits_url":"https://api.github.com/repos/Phi-phi/cat/commits{/sha}","git_commits_url":"https://api.github.com/repos/Phi-phi/cat/git/commits{/sha}","comments_url":"https://api.github.com/repos/Phi-phi/cat/comments{/number}","issue_comment_url":"https://api.github.com/repos/Phi-phi/cat/issues/comments/{number}","contents_url":"https://api.github.com/repos/Phi-phi/cat/contents/{+path}","compare_url":"https://api.github.com/repos/Phi-phi/cat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Phi-phi/cat/merges","archive_url":"https://api.github.com/repos/Phi-phi/cat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Phi-phi/cat/downloads","issues_url":"https://api.github.com/repos/Phi-phi/cat/issues{/number}","pulls_url":"https://api.github.com/repos/Phi-phi/cat/pulls{/number}","milestones_url":"https://api.github.com/repos/Phi-phi/cat/milestones{/number}","notifications_url":"https://api.github.com/repos/Phi-phi/cat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Phi-phi/cat/labels{/name}","releases_url":"https://api.github.com/repos/Phi-phi/cat/releases{/id}","created_at":"2014-10-30T05:20:43Z","updated_at":"2014-10-30T05:24:16Z","pushed_at":"2014-10-30T05:24:15Z","git_url":"git://github.com/Phi-phi/cat.git","ssh_url":"git@github.com:Phi-phi/cat.git","clone_url":"https://github.com/Phi-phi/cat.git","svn_url":"https://github.com/Phi-phi/cat","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"C","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":"sfc-arch:master","ref":"master","sha":"e62c45dceeda9ae90da85708f70acc3bf0f475a0","user":{"login":"sfc-arch","id":9364955,"avatar_url":"https://avatars.githubusercontent.com/u/9364955?v=2","gravatar_id":"","url":"https://api.github.com/users/sfc-arch","html_url":"https://github.com/sfc-arch","followers_url":"https://api.github.com/users/sfc-arch/followers","following_url":"https://api.github.com/users/sfc-arch/following{/other_user}","gists_url":"https://api.github.com/users/sfc-arch/gists{/gist_id}","starred_url":"https://api.github.com/users/sfc-arch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfc-arch/subscriptions","organizations_url":"https://api.github.com/users/sfc-arch/orgs","repos_url":"https://api.github.com/users/sfc-arch/repos","events_url":"https://api.github.com/users/sfc-arch/events{/privacy}","received_events_url":"https://api.github.com/users/sfc-arch/received_events","type":"Organization","site_admin":false},"repo":{"id":25800504,"name":"cat","full_name":"sfc-arch/cat","owner":{"login":"sfc-arch","id":9364955,"avatar_url":"https://avatars.githubusercontent.com/u/9364955?v=2","gravatar_id":"","url":"https://api.github.com/users/sfc-arch","html_url":"https://github.com/sfc-arch","followers_url":"https://api.github.com/users/sfc-arch/followers","following_url":"https://api.github.com/users/sfc-arch/following{/other_user}","gists_url":"https://api.github.com/users/sfc-arch/gists{/gist_id}","starred_url":"https://api.github.com/users/sfc-arch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfc-arch/subscriptions","organizations_url":"https://api.github.com/users/sfc-arch/orgs","repos_url":"https://api.github.com/users/sfc-arch/repos","events_url":"https://api.github.com/users/sfc-arch/events{/privacy}","received_events_url":"https://api.github.com/users/sfc-arch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sfc-arch/cat","description":"Arch C言語 課題No.1 catコマンドの実装","fork":false,"url":"https://api.github.com/repos/sfc-arch/cat","forks_url":"https://api.github.com/repos/sfc-arch/cat/forks","keys_url":"https://api.github.com/repos/sfc-arch/cat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfc-arch/cat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfc-arch/cat/teams","hooks_url":"https://api.github.com/repos/sfc-arch/cat/hooks","issue_events_url":"https://api.github.com/repos/sfc-arch/cat/issues/events{/number}","events_url":"https://api.github.com/repos/sfc-arch/cat/events","assignees_url":"https://api.github.com/repos/sfc-arch/cat/assignees{/user}","branches_url":"https://api.github.com/repos/sfc-arch/cat/branches{/branch}","tags_url":"https://api.github.com/repos/sfc-arch/cat/tags","blobs_url":"https://api.github.com/repos/sfc-arch/cat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfc-arch/cat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfc-arch/cat/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfc-arch/cat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfc-arch/cat/statuses/{sha}","languages_url":"https://api.github.com/repos/sfc-arch/cat/languages","stargazers_url":"https://api.github.com/repos/sfc-arch/cat/stargazers","contributors_url":"https://api.github.com/repos/sfc-arch/cat/contributors","subscribers_url":"https://api.github.com/repos/sfc-arch/cat/subscribers","subscription_url":"https://api.github.com/repos/sfc-arch/cat/subscription","commits_url":"https://api.github.com/repos/sfc-arch/cat/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfc-arch/cat/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfc-arch/cat/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfc-arch/cat/issues/comments/{number}","contents_url":"https://api.github.com/repos/sfc-arch/cat/contents/{+path}","compare_url":"https://api.github.com/repos/sfc-arch/cat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfc-arch/cat/merges","archive_url":"https://api.github.com/repos/sfc-arch/cat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfc-arch/cat/downloads","issues_url":"https://api.github.com/repos/sfc-arch/cat/issues{/number}","pulls_url":"https://api.github.com/repos/sfc-arch/cat/pulls{/number}","milestones_url":"https://api.github.com/repos/sfc-arch/cat/milestones{/number}","notifications_url":"https://api.github.com/repos/sfc-arch/cat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfc-arch/cat/labels{/name}","releases_url":"https://api.github.com/repos/sfc-arch/cat/releases{/id}","created_at":"2014-10-27T02:48:32Z","updated_at":"2014-10-27T04:52:26Z","pushed_at":"2014-10-27T04:55:56Z","git_url":"git://github.com/sfc-arch/cat.git","ssh_url":"git@github.com:sfc-arch/cat.git","clone_url":"https://github.com/sfc-arch/cat.git","svn_url":"https://github.com/sfc-arch/cat","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sfc-arch/cat/pulls/1"},"html":{"href":"https://github.com/sfc-arch/cat/pull/1"},"issue":{"href":"https://api.github.com/repos/sfc-arch/cat/issues/1"},"comments":{"href":"https://api.github.com/repos/sfc-arch/cat/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sfc-arch/cat/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sfc-arch/cat/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sfc-arch/cat/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sfc-arch/cat/statuses/e2919574ba1ea4d0cd716006b1b08c72ada1036f"}}}}