{"action":"opened","number":888,"pull_request":{"url":"https://api.github.com/repos/kata-containers/runtime/pulls/888","id":228954470,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4OTU0NDcw","html_url":"https://github.com/kata-containers/runtime/pull/888","diff_url":"https://github.com/kata-containers/runtime/pull/888.diff","patch_url":"https://github.com/kata-containers/runtime/pull/888.patch","issue_url":"https://api.github.com/repos/kata-containers/runtime/issues/888","number":888,"state":"open","locked":false,"title":"Refactoring code to extract shim related operations to a separate package","user":{"login":"zsc-hw","id":44659013,"node_id":"MDQ6VXNlcjQ0NjU5MDEz","avatar_url":"https://avatars3.githubusercontent.com/u/44659013?v=4","gravatar_id":"","url":"https://api.github.com/users/zsc-hw","html_url":"https://github.com/zsc-hw","followers_url":"https://api.github.com/users/zsc-hw/followers","following_url":"https://api.github.com/users/zsc-hw/following{/other_user}","gists_url":"https://api.github.com/users/zsc-hw/gists{/gist_id}","starred_url":"https://api.github.com/users/zsc-hw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsc-hw/subscriptions","organizations_url":"https://api.github.com/users/zsc-hw/orgs","repos_url":"https://api.github.com/users/zsc-hw/repos","events_url":"https://api.github.com/users/zsc-hw/events{/privacy}","received_events_url":"https://api.github.com/users/zsc-hw/received_events","type":"User","site_admin":false},"body":"With the increase of code in the \"virtcontainers\" package, code coupling becomes more and more important. Therefore, I want to reconstruct the code of shim, agent, proxy, network and other related modules, decouple them and put them into a separate package.\r\n\r\nNow I will put the relevant code of \"shim\" into the independent \"shim\" package. I hope it can be perfected through your suggestions. If possible, I will continue to reconstruct agent, proxy, network and so on.\r\n\r\nSigned-off-by: Shucheng Zhang  <zhangshucheng@huawei.com>","created_at":"2018-11-07T08:47:24Z","updated_at":"2018-11-07T08:47:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kata-containers/runtime/pulls/888/commits","review_comments_url":"https://api.github.com/repos/kata-containers/runtime/pulls/888/comments","review_comment_url":"https://api.github.com/repos/kata-containers/runtime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kata-containers/runtime/issues/888/comments","statuses_url":"https://api.github.com/repos/kata-containers/runtime/statuses/6511eb425355ffc81a6102aeaec66fb7fb7e26da","head":{"label":"zsc-hw:master","ref":"master","sha":"6511eb425355ffc81a6102aeaec66fb7fb7e26da","user":{"login":"zsc-hw","id":44659013,"node_id":"MDQ6VXNlcjQ0NjU5MDEz","avatar_url":"https://avatars3.githubusercontent.com/u/44659013?v=4","gravatar_id":"","url":"https://api.github.com/users/zsc-hw","html_url":"https://github.com/zsc-hw","followers_url":"https://api.github.com/users/zsc-hw/followers","following_url":"https://api.github.com/users/zsc-hw/following{/other_user}","gists_url":"https://api.github.com/users/zsc-hw/gists{/gist_id}","starred_url":"https://api.github.com/users/zsc-hw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsc-hw/subscriptions","organizations_url":"https://api.github.com/users/zsc-hw/orgs","repos_url":"https://api.github.com/users/zsc-hw/repos","events_url":"https://api.github.com/users/zsc-hw/events{/privacy}","received_events_url":"https://api.github.com/users/zsc-hw/received_events","type":"User","site_admin":false},"repo":{"id":155651687,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU2NTE2ODc=","name":"runtime","full_name":"zsc-hw/runtime","private":false,"owner":{"login":"zsc-hw","id":44659013,"node_id":"MDQ6VXNlcjQ0NjU5MDEz","avatar_url":"https://avatars3.githubusercontent.com/u/44659013?v=4","gravatar_id":"","url":"https://api.github.com/users/zsc-hw","html_url":"https://github.com/zsc-hw","followers_url":"https://api.github.com/users/zsc-hw/followers","following_url":"https://api.github.com/users/zsc-hw/following{/other_user}","gists_url":"https://api.github.com/users/zsc-hw/gists{/gist_id}","starred_url":"https://api.github.com/users/zsc-hw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsc-hw/subscriptions","organizations_url":"https://api.github.com/users/zsc-hw/orgs","repos_url":"https://api.github.com/users/zsc-hw/repos","events_url":"https://api.github.com/users/zsc-hw/events{/privacy}","received_events_url":"https://api.github.com/users/zsc-hw/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zsc-hw/runtime","description":"Kata Containers runtime","fork":true,"url":"https://api.github.com/repos/zsc-hw/runtime","forks_url":"https://api.github.com/repos/zsc-hw/runtime/forks","keys_url":"https://api.github.com/repos/zsc-hw/runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zsc-hw/runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zsc-hw/runtime/teams","hooks_url":"https://api.github.com/repos/zsc-hw/runtime/hooks","issue_events_url":"https://api.github.com/repos/zsc-hw/runtime/issues/events{/number}","events_url":"https://api.github.com/repos/zsc-hw/runtime/events","assignees_url":"https://api.github.com/repos/zsc-hw/runtime/assignees{/user}","branches_url":"https://api.github.com/repos/zsc-hw/runtime/branches{/branch}","tags_url":"https://api.github.com/repos/zsc-hw/runtime/tags","blobs_url":"https://api.github.com/repos/zsc-hw/runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zsc-hw/runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zsc-hw/runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/zsc-hw/runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zsc-hw/runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/zsc-hw/runtime/languages","stargazers_url":"https://api.github.com/repos/zsc-hw/runtime/stargazers","contributors_url":"https://api.github.com/repos/zsc-hw/runtime/contributors","subscribers_url":"https://api.github.com/repos/zsc-hw/runtime/subscribers","subscription_url":"https://api.github.com/repos/zsc-hw/runtime/subscription","commits_url":"https://api.github.com/repos/zsc-hw/runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/zsc-hw/runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/zsc-hw/runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/zsc-hw/runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/zsc-hw/runtime/contents/{+path}","compare_url":"https://api.github.com/repos/zsc-hw/runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zsc-hw/runtime/merges","archive_url":"https://api.github.com/repos/zsc-hw/runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zsc-hw/runtime/downloads","issues_url":"https://api.github.com/repos/zsc-hw/runtime/issues{/number}","pulls_url":"https://api.github.com/repos/zsc-hw/runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/zsc-hw/runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/zsc-hw/runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zsc-hw/runtime/labels{/name}","releases_url":"https://api.github.com/repos/zsc-hw/runtime/releases{/id}","deployments_url":"https://api.github.com/repos/zsc-hw/runtime/deployments","created_at":"2018-11-01T02:37:53Z","updated_at":"2018-11-07T08:38:57Z","pushed_at":"2018-11-07T08:38:54Z","git_url":"git://github.com/zsc-hw/runtime.git","ssh_url":"git@github.com:zsc-hw/runtime.git","clone_url":"https://github.com/zsc-hw/runtime.git","svn_url":"https://github.com/zsc-hw/runtime","homepage":"","size":5687,"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,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kata-containers:master","ref":"master","sha":"d895cd0f2dec7cbabfda95846543314565acc70a","user":{"login":"kata-containers","id":33289952,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjg5OTUy","avatar_url":"https://avatars3.githubusercontent.com/u/33289952?v=4","gravatar_id":"","url":"https://api.github.com/users/kata-containers","html_url":"https://github.com/kata-containers","followers_url":"https://api.github.com/users/kata-containers/followers","following_url":"https://api.github.com/users/kata-containers/following{/other_user}","gists_url":"https://api.github.com/users/kata-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-containers/subscriptions","organizations_url":"https://api.github.com/users/kata-containers/orgs","repos_url":"https://api.github.com/users/kata-containers/repos","events_url":"https://api.github.com/users/kata-containers/events{/privacy}","received_events_url":"https://api.github.com/users/kata-containers/received_events","type":"Organization","site_admin":false},"repo":{"id":110539997,"node_id":"MDEwOlJlcG9zaXRvcnkxMTA1Mzk5OTc=","name":"runtime","full_name":"kata-containers/runtime","private":false,"owner":{"login":"kata-containers","id":33289952,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMjg5OTUy","avatar_url":"https://avatars3.githubusercontent.com/u/33289952?v=4","gravatar_id":"","url":"https://api.github.com/users/kata-containers","html_url":"https://github.com/kata-containers","followers_url":"https://api.github.com/users/kata-containers/followers","following_url":"https://api.github.com/users/kata-containers/following{/other_user}","gists_url":"https://api.github.com/users/kata-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-containers/subscriptions","organizations_url":"https://api.github.com/users/kata-containers/orgs","repos_url":"https://api.github.com/users/kata-containers/repos","events_url":"https://api.github.com/users/kata-containers/events{/privacy}","received_events_url":"https://api.github.com/users/kata-containers/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kata-containers/runtime","description":"Kata Containers runtime","fork":false,"url":"https://api.github.com/repos/kata-containers/runtime","forks_url":"https://api.github.com/repos/kata-containers/runtime/forks","keys_url":"https://api.github.com/repos/kata-containers/runtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kata-containers/runtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kata-containers/runtime/teams","hooks_url":"https://api.github.com/repos/kata-containers/runtime/hooks","issue_events_url":"https://api.github.com/repos/kata-containers/runtime/issues/events{/number}","events_url":"https://api.github.com/repos/kata-containers/runtime/events","assignees_url":"https://api.github.com/repos/kata-containers/runtime/assignees{/user}","branches_url":"https://api.github.com/repos/kata-containers/runtime/branches{/branch}","tags_url":"https://api.github.com/repos/kata-containers/runtime/tags","blobs_url":"https://api.github.com/repos/kata-containers/runtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kata-containers/runtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kata-containers/runtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/kata-containers/runtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kata-containers/runtime/statuses/{sha}","languages_url":"https://api.github.com/repos/kata-containers/runtime/languages","stargazers_url":"https://api.github.com/repos/kata-containers/runtime/stargazers","contributors_url":"https://api.github.com/repos/kata-containers/runtime/contributors","subscribers_url":"https://api.github.com/repos/kata-containers/runtime/subscribers","subscription_url":"https://api.github.com/repos/kata-containers/runtime/subscription","commits_url":"https://api.github.com/repos/kata-containers/runtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/kata-containers/runtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/kata-containers/runtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/kata-containers/runtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/kata-containers/runtime/contents/{+path}","compare_url":"https://api.github.com/repos/kata-containers/runtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kata-containers/runtime/merges","archive_url":"https://api.github.com/repos/kata-containers/runtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kata-containers/runtime/downloads","issues_url":"https://api.github.com/repos/kata-containers/runtime/issues{/number}","pulls_url":"https://api.github.com/repos/kata-containers/runtime/pulls{/number}","milestones_url":"https://api.github.com/repos/kata-containers/runtime/milestones{/number}","notifications_url":"https://api.github.com/repos/kata-containers/runtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kata-containers/runtime/labels{/name}","releases_url":"https://api.github.com/repos/kata-containers/runtime/releases{/id}","deployments_url":"https://api.github.com/repos/kata-containers/runtime/deployments","created_at":"2017-11-13T11:29:03Z","updated_at":"2018-11-07T07:04:57Z","pushed_at":"2018-11-07T07:39:50Z","git_url":"git://github.com/kata-containers/runtime.git","ssh_url":"git@github.com:kata-containers/runtime.git","clone_url":"https://github.com/kata-containers/runtime.git","svn_url":"https://github.com/kata-containers/runtime","homepage":"","size":5694,"stargazers_count":574,"watchers_count":574,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":124,"mirror_url":null,"archived":false,"open_issues_count":184,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":124,"open_issues":184,"watchers":574,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kata-containers/runtime/pulls/888"},"html":{"href":"https://github.com/kata-containers/runtime/pull/888"},"issue":{"href":"https://api.github.com/repos/kata-containers/runtime/issues/888"},"comments":{"href":"https://api.github.com/repos/kata-containers/runtime/issues/888/comments"},"review_comments":{"href":"https://api.github.com/repos/kata-containers/runtime/pulls/888/comments"},"review_comment":{"href":"https://api.github.com/repos/kata-containers/runtime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kata-containers/runtime/pulls/888/commits"},"statuses":{"href":"https://api.github.com/repos/kata-containers/runtime/statuses/6511eb425355ffc81a6102aeaec66fb7fb7e26da"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":244,"deletions":207,"changed_files":27}}
{"actor":{"display_login":"zsc-hw"}}