{"action":"created","issue":{"url":"https://api.github.com/repos/kata-containers/runtime/issues/416","repository_url":"https://api.github.com/repos/kata-containers/runtime","labels_url":"https://api.github.com/repos/kata-containers/runtime/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/kata-containers/runtime/issues/416/comments","events_url":"https://api.github.com/repos/kata-containers/runtime/issues/416/events","html_url":"https://github.com/kata-containers/runtime/pull/416","id":333653169,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1ODEzMjY0","number":416,"title":"[WIP] Refactor cgroup handling","user":{"login":"jingxiaolu","id":13136554,"node_id":"MDQ6VXNlcjEzMTM2NTU0","avatar_url":"https://avatars2.githubusercontent.com/u/13136554?v=4","gravatar_id":"","url":"https://api.github.com/users/jingxiaolu","html_url":"https://github.com/jingxiaolu","followers_url":"https://api.github.com/users/jingxiaolu/followers","following_url":"https://api.github.com/users/jingxiaolu/following{/other_user}","gists_url":"https://api.github.com/users/jingxiaolu/gists{/gist_id}","starred_url":"https://api.github.com/users/jingxiaolu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jingxiaolu/subscriptions","organizations_url":"https://api.github.com/users/jingxiaolu/orgs","repos_url":"https://api.github.com/users/jingxiaolu/repos","events_url":"https://api.github.com/users/jingxiaolu/events{/privacy}","received_events_url":"https://api.github.com/users/jingxiaolu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-19T12:40:17Z","updated_at":"2018-07-24T02:01:08Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/kata-containers/runtime/pulls/416","html_url":"https://github.com/kata-containers/runtime/pull/416","diff_url":"https://github.com/kata-containers/runtime/pull/416.diff","patch_url":"https://github.com/kata-containers/runtime/pull/416.patch"},"body":"According to #344, this PR is trying to refactor cgroups handling in `runtime`.\r\n\r\nWhat I've done in this PR:\r\n1. introduce `libcontainer/cgroups` package for cgroups handling;\r\n2. move cgroups handlings from CLI to sandbox level; refactor the handlings by the help of `libcontainer/cgroups`;\r\n\r\nWorks to be continue:\r\n1. Add tests as @jodh-intel mentioned;\r\n2. Add handling to `UpdateContainer()`;\r\n3. Remove old cgroups handling codes\r\n\r\nFixes: #344\r\n\r\nSigned-off-by: Jingxiao Lu lujingxiao@huawei.com"},"comment":{"url":"https://api.github.com/repos/kata-containers/runtime/issues/comments/407255684","html_url":"https://github.com/kata-containers/runtime/pull/416#issuecomment-407255684","issue_url":"https://api.github.com/repos/kata-containers/runtime/issues/416","id":407255684,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzI1NTY4NA==","user":{"login":"WeiZhang555","id":1203611,"node_id":"MDQ6VXNlcjEyMDM2MTE=","avatar_url":"https://avatars2.githubusercontent.com/u/1203611?v=4","gravatar_id":"","url":"https://api.github.com/users/WeiZhang555","html_url":"https://github.com/WeiZhang555","followers_url":"https://api.github.com/users/WeiZhang555/followers","following_url":"https://api.github.com/users/WeiZhang555/following{/other_user}","gists_url":"https://api.github.com/users/WeiZhang555/gists{/gist_id}","starred_url":"https://api.github.com/users/WeiZhang555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeiZhang555/subscriptions","organizations_url":"https://api.github.com/users/WeiZhang555/orgs","repos_url":"https://api.github.com/users/WeiZhang555/repos","events_url":"https://api.github.com/users/WeiZhang555/events{/privacy}","received_events_url":"https://api.github.com/users/WeiZhang555/received_events","type":"User","site_admin":false},"created_at":"2018-07-24T02:01:08Z","updated_at":"2018-07-24T02:01:08Z","author_association":"CONTRIBUTOR","body":"@jingxiaolu is currently too busy and can't get enough time on this. I'll carry his work and take over the process."}}
{"actor":{"display_login":"WeiZhang555"}}