{"action":"created","issue":{"url":"https://api.github.com/repos/alibaba/pouch/issues/2640","repository_url":"https://api.github.com/repos/alibaba/pouch","labels_url":"https://api.github.com/repos/alibaba/pouch/issues/2640/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/pouch/issues/2640/comments","events_url":"https://api.github.com/repos/alibaba/pouch/issues/2640/events","html_url":"https://github.com/alibaba/pouch/pull/2640","id":395135194,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNjYyOTIz","number":2640,"title":"[WIP]feature: add stats cli command","user":{"login":"ZYecho","id":6614526,"node_id":"MDQ6VXNlcjY2MTQ1MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/6614526?v=4","gravatar_id":"","url":"https://api.github.com/users/ZYecho","html_url":"https://github.com/ZYecho","followers_url":"https://api.github.com/users/ZYecho/followers","following_url":"https://api.github.com/users/ZYecho/following{/other_user}","gists_url":"https://api.github.com/users/ZYecho/gists{/gist_id}","starred_url":"https://api.github.com/users/ZYecho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZYecho/subscriptions","organizations_url":"https://api.github.com/users/ZYecho/orgs","repos_url":"https://api.github.com/users/ZYecho/repos","events_url":"https://api.github.com/users/ZYecho/events{/privacy}","received_events_url":"https://api.github.com/users/ZYecho/received_events","type":"User","site_admin":false},"labels":[{"id":722340232,"node_id":"MDU6TGFiZWw3MjIzNDAyMzI=","url":"https://api.github.com/repos/alibaba/pouch/labels/areas/cli","name":"areas/cli","color":"1d76db","default":false},{"id":722348097,"node_id":"MDU6TGFiZWw3MjIzNDgwOTc=","url":"https://api.github.com/repos/alibaba/pouch/labels/kind/feature","name":"kind/feature","color":"1d76db","default":false},{"id":729586101,"node_id":"MDU6TGFiZWw3Mjk1ODYxMDE=","url":"https://api.github.com/repos/alibaba/pouch/labels/size/M","name":"size/M","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-01-02T02:19:45Z","updated_at":"2019-01-02T02:41:59Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/alibaba/pouch/pulls/2640","html_url":"https://github.com/alibaba/pouch/pull/2640","diff_url":"https://github.com/alibaba/pouch/pull/2640.diff","patch_url":"https://github.com/alibaba/pouch/pull/2640.patch"},"body":"Signed-off-by: zhangyue <zy675793960@yeah.net>\r\n\r\n<!-- \r\nPlease make sure you have read and understood the contributing guidelines;\r\nhttps://github.com/alibaba/pouch/blob/master/CONTRIBUTING.md -->\r\n\r\n### Ⅰ. Describe what this PR did\r\nsince we have stats api support both daemon and client side, so we can add this command.\r\n\r\n### Ⅱ. Does this pull request fix one issue?\r\n<!--If that, add \"fixes #xxxx\" below in the next line, for example, fixes #15. Otherwise, add \"NONE\" -->\r\nfix #637 #2086\r\n\r\n### Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)\r\nadded in the following patch\r\n\r\n### Ⅳ. Describe how to verify it\r\nwait for CI\r\n\r\n### Ⅴ. Special notes for reviews\r\nNone.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/alibaba/pouch/issues/comments/450778466","html_url":"https://github.com/alibaba/pouch/pull/2640#issuecomment-450778466","issue_url":"https://api.github.com/repos/alibaba/pouch/issues/2640","id":450778466,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDc3ODQ2Ng==","user":{"login":"chuanchang","id":1122023,"node_id":"MDQ6VXNlcjExMjIwMjM=","avatar_url":"https://avatars1.githubusercontent.com/u/1122023?v=4","gravatar_id":"","url":"https://api.github.com/users/chuanchang","html_url":"https://github.com/chuanchang","followers_url":"https://api.github.com/users/chuanchang/followers","following_url":"https://api.github.com/users/chuanchang/following{/other_user}","gists_url":"https://api.github.com/users/chuanchang/gists{/gist_id}","starred_url":"https://api.github.com/users/chuanchang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuanchang/subscriptions","organizations_url":"https://api.github.com/users/chuanchang/orgs","repos_url":"https://api.github.com/users/chuanchang/repos","events_url":"https://api.github.com/users/chuanchang/events{/privacy}","received_events_url":"https://api.github.com/users/chuanchang/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T02:41:59Z","updated_at":"2019-01-02T02:41:59Z","author_association":"COLLABORATOR","body":"```shell\r\nDEBUG: [Jan  2 02:20:31.415] [deadcode.1]: warning: /go/bin/deadcode returned exit status 2: deadcode: cli/stats.go:11:1: StatsCommand is unused\r\ndeadcode: cri/apis/v1alpha2/api.pb.go:9922:1: encodeFixed64Api is unused\r\ndeadcode: cri/apis/v1alpha2/api.pb.go:9933:1: encodeFixed32Api is unused\r\ndeadcode: cri/apis/v1alpha2/api.pb.go:11901:1: sozApi is unused\r\ndeadcode: cri/apis/v1alpha2/api.pb.go:13437:1: valueToStringApi is unused\r\n\r\nDEBUG: [Jan  2 02:20:31.415] [deadcode.1]: deadcode hits 5: ^deadcode: (?P<path>.*?\\.go):(?P<line>\\d+):(?P<col>\\d+):\\s*(?P<message>.*)$\r\nDEBUG: [Jan  2 02:20:31.416] [deadcode.1]: deadcode linter took 284.761253ms\r\ncli/stats.go:11:1:warning: StatsCommand is unused (deadcode)\r\nDEBUG: [Jan  2 02:20:31.416] total elapsed time 660.707367ms\r\nExited with code 1\r\n```"}}
{"actor":{"display_login":"chuanchang"}}