{"action":"created","comment":{"url":"https://api.github.com/repos/hyperhq/hyperstart/pulls/comments/92323859","pull_request_review_id":12836554,"id":92323859,"diff_hunk":"@@ -692,6 +692,19 @@ static int hyper_release_exec(struct hyper_exec *exec)\n \treturn 0;\n }\n \n+struct hyper_exec *hyper_find_exec_by_name(struct hyper_pod *pod, const char *process)\n+{\n+\tstruct hyper_exec *exec;\n+\n+\tlist_for_each_entry(exec, &pod->exec_head, list) {\n+\t\tif (strcmp(exec->id, process) == 0) {","path":"src/exec.c","position":52,"original_position":9,"commit_id":"df52cfb916c0065024e3dcd9e2e8b52b3443773a","original_commit_id":"42524a38649163b7358d54da1967c8ad0749b7f1","user":{"login":"laijs","id":125671,"avatar_url":"https://avatars.githubusercontent.com/u/125671?v=3","gravatar_id":"","url":"https://api.github.com/users/laijs","html_url":"https://github.com/laijs","followers_url":"https://api.github.com/users/laijs/followers","following_url":"https://api.github.com/users/laijs/following{/other_user}","gists_url":"https://api.github.com/users/laijs/gists{/gist_id}","starred_url":"https://api.github.com/users/laijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laijs/subscriptions","organizations_url":"https://api.github.com/users/laijs/orgs","repos_url":"https://api.github.com/users/laijs/repos","events_url":"https://api.github.com/users/laijs/events{/privacy}","received_events_url":"https://api.github.com/users/laijs/received_events","type":"User","site_admin":false},"body":"\"init\" is used as execid for container in runv. runv can use any id for it, hyperstart has no assumption about it","created_at":"2016-12-14T05:14:35Z","updated_at":"2016-12-14T05:14:35Z","html_url":"https://github.com/hyperhq/hyperstart/pull/235#discussion_r92323859","pull_request_url":"https://api.github.com/repos/hyperhq/hyperstart/pulls/235","_links":{"self":{"href":"https://api.github.com/repos/hyperhq/hyperstart/pulls/comments/92323859"},"html":{"href":"https://github.com/hyperhq/hyperstart/pull/235#discussion_r92323859"},"pull_request":{"href":"https://api.github.com/repos/hyperhq/hyperstart/pulls/235"}}},"pull_request":{"url":"https://api.github.com/repos/hyperhq/hyperstart/pulls/235","id":97741490,"html_url":"https://github.com/hyperhq/hyperstart/pull/235","diff_url":"https://github.com/hyperhq/hyperstart/pull/235.diff","patch_url":"https://github.com/hyperhq/hyperstart/pull/235.patch","issue_url":"https://api.github.com/repos/hyperhq/hyperstart/issues/235","number":235,"state":"open","locked":false,"title":"Update hyperstart api","user":{"login":"laijs","id":125671,"avatar_url":"https://avatars.githubusercontent.com/u/125671?v=3","gravatar_id":"","url":"https://api.github.com/users/laijs","html_url":"https://github.com/laijs","followers_url":"https://api.github.com/users/laijs/followers","following_url":"https://api.github.com/users/laijs/following{/other_user}","gists_url":"https://api.github.com/users/laijs/gists{/gist_id}","starred_url":"https://api.github.com/users/laijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laijs/subscriptions","organizations_url":"https://api.github.com/users/laijs/orgs","repos_url":"https://api.github.com/users/laijs/repos","events_url":"https://api.github.com/users/laijs/events{/privacy}","received_events_url":"https://api.github.com/users/laijs/received_events","type":"User","site_admin":false},"body":"use container/process id (instead of seqnumber) for tty-set-winsize & reporting-exit-code.","created_at":"2016-12-13T12:27:33Z","updated_at":"2016-12-14T05:14:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef82b20bf6b58726abcd940ddadabe15aab7bd1d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hyperhq/hyperstart/pulls/235/commits","review_comments_url":"https://api.github.com/repos/hyperhq/hyperstart/pulls/235/comments","review_comment_url":"https://api.github.com/repos/hyperhq/hyperstart/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperhq/hyperstart/issues/235/comments","statuses_url":"https://api.github.com/repos/hyperhq/hyperstart/statuses/df52cfb916c0065024e3dcd9e2e8b52b3443773a","head":{"label":"laijs:update-hyperstart-api","ref":"update-hyperstart-api","sha":"df52cfb916c0065024e3dcd9e2e8b52b3443773a","user":{"login":"laijs","id":125671,"avatar_url":"https://avatars.githubusercontent.com/u/125671?v=3","gravatar_id":"","url":"https://api.github.com/users/laijs","html_url":"https://github.com/laijs","followers_url":"https://api.github.com/users/laijs/followers","following_url":"https://api.github.com/users/laijs/following{/other_user}","gists_url":"https://api.github.com/users/laijs/gists{/gist_id}","starred_url":"https://api.github.com/users/laijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laijs/subscriptions","organizations_url":"https://api.github.com/users/laijs/orgs","repos_url":"https://api.github.com/users/laijs/repos","events_url":"https://api.github.com/users/laijs/events{/privacy}","received_events_url":"https://api.github.com/users/laijs/received_events","type":"User","site_admin":false},"repo":{"id":43370358,"name":"hyperstart","full_name":"laijs/hyperstart","owner":{"login":"laijs","id":125671,"avatar_url":"https://avatars.githubusercontent.com/u/125671?v=3","gravatar_id":"","url":"https://api.github.com/users/laijs","html_url":"https://github.com/laijs","followers_url":"https://api.github.com/users/laijs/followers","following_url":"https://api.github.com/users/laijs/following{/other_user}","gists_url":"https://api.github.com/users/laijs/gists{/gist_id}","starred_url":"https://api.github.com/users/laijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laijs/subscriptions","organizations_url":"https://api.github.com/users/laijs/orgs","repos_url":"https://api.github.com/users/laijs/repos","events_url":"https://api.github.com/users/laijs/events{/privacy}","received_events_url":"https://api.github.com/users/laijs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/laijs/hyperstart","description":"The tiny Init service for Hyper","fork":true,"url":"https://api.github.com/repos/laijs/hyperstart","forks_url":"https://api.github.com/repos/laijs/hyperstart/forks","keys_url":"https://api.github.com/repos/laijs/hyperstart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laijs/hyperstart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laijs/hyperstart/teams","hooks_url":"https://api.github.com/repos/laijs/hyperstart/hooks","issue_events_url":"https://api.github.com/repos/laijs/hyperstart/issues/events{/number}","events_url":"https://api.github.com/repos/laijs/hyperstart/events","assignees_url":"https://api.github.com/repos/laijs/hyperstart/assignees{/user}","branches_url":"https://api.github.com/repos/laijs/hyperstart/branches{/branch}","tags_url":"https://api.github.com/repos/laijs/hyperstart/tags","blobs_url":"https://api.github.com/repos/laijs/hyperstart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laijs/hyperstart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laijs/hyperstart/git/refs{/sha}","trees_url":"https://api.github.com/repos/laijs/hyperstart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laijs/hyperstart/statuses/{sha}","languages_url":"https://api.github.com/repos/laijs/hyperstart/languages","stargazers_url":"https://api.github.com/repos/laijs/hyperstart/stargazers","contributors_url":"https://api.github.com/repos/laijs/hyperstart/contributors","subscribers_url":"https://api.github.com/repos/laijs/hyperstart/subscribers","subscription_url":"https://api.github.com/repos/laijs/hyperstart/subscription","commits_url":"https://api.github.com/repos/laijs/hyperstart/commits{/sha}","git_commits_url":"https://api.github.com/repos/laijs/hyperstart/git/commits{/sha}","comments_url":"https://api.github.com/repos/laijs/hyperstart/comments{/number}","issue_comment_url":"https://api.github.com/repos/laijs/hyperstart/issues/comments{/number}","contents_url":"https://api.github.com/repos/laijs/hyperstart/contents/{+path}","compare_url":"https://api.github.com/repos/laijs/hyperstart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laijs/hyperstart/merges","archive_url":"https://api.github.com/repos/laijs/hyperstart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laijs/hyperstart/downloads","issues_url":"https://api.github.com/repos/laijs/hyperstart/issues{/number}","pulls_url":"https://api.github.com/repos/laijs/hyperstart/pulls{/number}","milestones_url":"https://api.github.com/repos/laijs/hyperstart/milestones{/number}","notifications_url":"https://api.github.com/repos/laijs/hyperstart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laijs/hyperstart/labels{/name}","releases_url":"https://api.github.com/repos/laijs/hyperstart/releases{/id}","deployments_url":"https://api.github.com/repos/laijs/hyperstart/deployments","created_at":"2015-09-29T13:50:38Z","updated_at":"2016-01-11T03:37:13Z","pushed_at":"2016-12-14T03:14:10Z","git_url":"git://github.com/laijs/hyperstart.git","ssh_url":"git@github.com:laijs/hyperstart.git","clone_url":"https://github.com/laijs/hyperstart.git","svn_url":"https://github.com/laijs/hyperstart","homepage":"https://www.hyper.sh","size":54978,"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":"hyperhq:master","ref":"master","sha":"2f3040a82e71ff25260313cc0673cafa70cf9196","user":{"login":"hyperhq","id":12324138,"avatar_url":"https://avatars.githubusercontent.com/u/12324138?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperhq","html_url":"https://github.com/hyperhq","followers_url":"https://api.github.com/users/hyperhq/followers","following_url":"https://api.github.com/users/hyperhq/following{/other_user}","gists_url":"https://api.github.com/users/hyperhq/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperhq/subscriptions","organizations_url":"https://api.github.com/users/hyperhq/orgs","repos_url":"https://api.github.com/users/hyperhq/repos","events_url":"https://api.github.com/users/hyperhq/events{/privacy}","received_events_url":"https://api.github.com/users/hyperhq/received_events","type":"Organization","site_admin":false},"repo":{"id":36213972,"name":"hyperstart","full_name":"hyperhq/hyperstart","owner":{"login":"hyperhq","id":12324138,"avatar_url":"https://avatars.githubusercontent.com/u/12324138?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperhq","html_url":"https://github.com/hyperhq","followers_url":"https://api.github.com/users/hyperhq/followers","following_url":"https://api.github.com/users/hyperhq/following{/other_user}","gists_url":"https://api.github.com/users/hyperhq/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperhq/subscriptions","organizations_url":"https://api.github.com/users/hyperhq/orgs","repos_url":"https://api.github.com/users/hyperhq/repos","events_url":"https://api.github.com/users/hyperhq/events{/privacy}","received_events_url":"https://api.github.com/users/hyperhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperhq/hyperstart","description":"The tiny Init service for HyperContainer","fork":false,"url":"https://api.github.com/repos/hyperhq/hyperstart","forks_url":"https://api.github.com/repos/hyperhq/hyperstart/forks","keys_url":"https://api.github.com/repos/hyperhq/hyperstart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperhq/hyperstart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperhq/hyperstart/teams","hooks_url":"https://api.github.com/repos/hyperhq/hyperstart/hooks","issue_events_url":"https://api.github.com/repos/hyperhq/hyperstart/issues/events{/number}","events_url":"https://api.github.com/repos/hyperhq/hyperstart/events","assignees_url":"https://api.github.com/repos/hyperhq/hyperstart/assignees{/user}","branches_url":"https://api.github.com/repos/hyperhq/hyperstart/branches{/branch}","tags_url":"https://api.github.com/repos/hyperhq/hyperstart/tags","blobs_url":"https://api.github.com/repos/hyperhq/hyperstart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperhq/hyperstart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperhq/hyperstart/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperhq/hyperstart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperhq/hyperstart/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperhq/hyperstart/languages","stargazers_url":"https://api.github.com/repos/hyperhq/hyperstart/stargazers","contributors_url":"https://api.github.com/repos/hyperhq/hyperstart/contributors","subscribers_url":"https://api.github.com/repos/hyperhq/hyperstart/subscribers","subscription_url":"https://api.github.com/repos/hyperhq/hyperstart/subscription","commits_url":"https://api.github.com/repos/hyperhq/hyperstart/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperhq/hyperstart/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperhq/hyperstart/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperhq/hyperstart/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperhq/hyperstart/contents/{+path}","compare_url":"https://api.github.com/repos/hyperhq/hyperstart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperhq/hyperstart/merges","archive_url":"https://api.github.com/repos/hyperhq/hyperstart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperhq/hyperstart/downloads","issues_url":"https://api.github.com/repos/hyperhq/hyperstart/issues{/number}","pulls_url":"https://api.github.com/repos/hyperhq/hyperstart/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperhq/hyperstart/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperhq/hyperstart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperhq/hyperstart/labels{/name}","releases_url":"https://api.github.com/repos/hyperhq/hyperstart/releases{/id}","deployments_url":"https://api.github.com/repos/hyperhq/hyperstart/deployments","created_at":"2015-05-25T06:24:46Z","updated_at":"2016-12-13T10:13:21Z","pushed_at":"2016-12-14T03:19:23Z","git_url":"git://github.com/hyperhq/hyperstart.git","ssh_url":"git@github.com:hyperhq/hyperstart.git","clone_url":"https://github.com/hyperhq/hyperstart.git","svn_url":"https://github.com/hyperhq/hyperstart","homepage":"https://www.hypercontainer.io","size":54979,"stargazers_count":71,"watchers_count":71,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":31,"forks":34,"open_issues":31,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperhq/hyperstart/pulls/235"},"html":{"href":"https://github.com/hyperhq/hyperstart/pull/235"},"issue":{"href":"https://api.github.com/repos/hyperhq/hyperstart/issues/235"},"comments":{"href":"https://api.github.com/repos/hyperhq/hyperstart/issues/235/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperhq/hyperstart/pulls/235/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperhq/hyperstart/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperhq/hyperstart/pulls/235/commits"},"statuses":{"href":"https://api.github.com/repos/hyperhq/hyperstart/statuses/df52cfb916c0065024e3dcd9e2e8b52b3443773a"}}}}
{"actor":{"display_login":"laijs"}}