GitHub PullRequestReviewCommentEvent at 2014-07-10 03:46:15
Repository: rho
Actor: alikins
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/candlepin/rho/pulls/comments/14748521","id":14748521,"diff_hunk":"@@ -173,6 +212,8 @@ def parse_data_cpu(self, results):\n             if line.find(\"processor\") == 0:\n                 cpu_count = cpu_count + 1\n         data[\"cpu.count\"] = cpu_count\n+        data['cpu.socket_count'] = results[1][1] if results[1][1] else \\\n+        len(re.findall('Socket Designation', results[1][0]))","path":"src/rho/rho_cmds.py","position":88,"original_position":88,"commit_id":"fba170c3777e7f8018263984bf198131a7f69120","original_commit_id":"fba170c3777e7f8018263984bf198131a7f69120","user":{"login":"alikins","id":15162,"avatar_url":"https://avatars.githubusercontent.com/u/15162?","gravatar_id":"81877b32b5fac41db3207c94ecc26173","url":"https://api.github.com/users/alikins","html_url":"https://github.com/alikins","followers_url":"https://api.github.com/users/alikins/followers","following_url":"https://api.github.com/users/alikins/following{/other_user}","gists_url":"https://api.github.com/users/alikins/gists{/gist_id}","starred_url":"https://api.github.com/users/alikins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alikins/subscriptions","organizations_url":"https://api.github.com/users/alikins/orgs","repos_url":"https://api.github.com/users/alikins/repos","events_url":"https://api.github.com/users/alikins/events{/privacy}","received_events_url":"https://api.github.com/users/alikins/received_events","type":"User","site_admin":false},"body":"re results array becoming a dict. I don't think self.cmd_results entries map 1:1 with field names. ie CpuRhoCmd has two values in self.cmd_results, but multiple fields.","created_at":"2014-07-10T03:46:15Z","updated_at":"2014-07-10T03:46:15Z","html_url":"https://github.com/candlepin/rho/pull/12#discussion_r14748521","pull_request_url":"https://api.github.com/repos/candlepin/rho/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/candlepin/rho/pulls/comments/14748521"},"html":{"href":"https://github.com/candlepin/rho/pull/12#discussion_r14748521"},"pull_request":{"href":"https://api.github.com/repos/candlepin/rho/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/candlepin/rho/pulls/12","id":18068222,"html_url":"https://github.com/candlepin/rho/pull/12","diff_url":"https://github.com/candlepin/rho/pull/12.diff","patch_url":"https://github.com/candlepin/rho/pull/12.patch","issue_url":"https://api.github.com/repos/candlepin/rho/issues/12","number":12,"state":"open","title":"Pack-scan changes","user":{"login":"cnsnyder","id":7536566,"avatar_url":"https://avatars.githubusercontent.com/u/7536566?","gravatar_id":"85b6f6ee4225f24a8d91d18f8b0f8e95","url":"https://api.github.com/users/cnsnyder","html_url":"https://github.com/cnsnyder","followers_url":"https://api.github.com/users/cnsnyder/followers","following_url":"https://api.github.com/users/cnsnyder/following{/other_user}","gists_url":"https://api.github.com/users/cnsnyder/gists{/gist_id}","starred_url":"https://api.github.com/users/cnsnyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnsnyder/subscriptions","organizations_url":"https://api.github.com/users/cnsnyder/orgs","repos_url":"https://api.github.com/users/cnsnyder/repos","events_url":"https://api.github.com/users/cnsnyder/events{/privacy}","received_events_url":"https://api.github.com/users/cnsnyder/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-07-07T20:49:11Z","updated_at":"2014-07-10T03:46:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee8f37308d8368a57e6b9efea427e5da4f17e2a9","assignee":{"login":"jmrodri","id":17137,"avatar_url":"https://avatars.githubusercontent.com/u/17137?","gravatar_id":"9b8b8a3f02a847f77a37ff41fc510ce6","url":"https://api.github.com/users/jmrodri","html_url":"https://github.com/jmrodri","followers_url":"https://api.github.com/users/jmrodri/followers","following_url":"https://api.github.com/users/jmrodri/following{/other_user}","gists_url":"https://api.github.com/users/jmrodri/gists{/gist_id}","starred_url":"https://api.github.com/users/jmrodri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmrodri/subscriptions","organizations_url":"https://api.github.com/users/jmrodri/orgs","repos_url":"https://api.github.com/users/jmrodri/repos","events_url":"https://api.github.com/users/jmrodri/events{/privacy}","received_events_url":"https://api.github.com/users/jmrodri/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/candlepin/rho/pulls/12/commits","review_comments_url":"https://api.github.com/repos/candlepin/rho/pulls/12/comments","review_comment_url":"https://api.github.com/repos/candlepin/rho/pulls/comments/{number}","comments_url":"https://api.github.com/repos/candlepin/rho/issues/12/comments","statuses_url":"https://api.github.com/repos/candlepin/rho/statuses/fba170c3777e7f8018263984bf198131a7f69120","head":{"label":"candlepin:csnyder/pack_scan","ref":"csnyder/pack_scan","sha":"fba170c3777e7f8018263984bf198131a7f69120","user":{"login":"candlepin","id":1749632,"avatar_url":"https://avatars.githubusercontent.com/u/1749632?","gravatar_id":"8210547cb1a421e2100459c7690915c2","url":"https://api.github.com/users/candlepin","html_url":"https://github.com/candlepin","followers_url":"https://api.github.com/users/candlepin/followers","following_url":"https://api.github.com/users/candlepin/following{/other_user}","gists_url":"https://api.github.com/users/candlepin/gists{/gist_id}","starred_url":"https://api.github.com/users/candlepin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/candlepin/subscriptions","organizations_url":"https://api.github.com/users/candlepin/orgs","repos_url":"https://api.github.com/users/candlepin/repos","events_url":"https://api.github.com/users/candlepin/events{/privacy}","received_events_url":"https://api.github.com/users/candlepin/received_events","type":"Organization","site_admin":false},"repo":{"id":328547,"name":"rho","full_name":"candlepin/rho","owner":{"login":"candlepin","id":1749632,"avatar_url":"https://avatars.githubusercontent.com/u/1749632?","gravatar_id":"8210547cb1a421e2100459c7690915c2","url":"https://api.github.com/users/candlepin","html_url":"https://github.com/candlepin","followers_url":"https://api.github.com/users/candlepin/followers","following_url":"https://api.github.com/users/candlepin/following{/other_user}","gists_url":"https://api.github.com/users/candlepin/gists{/gist_id}","starred_url":"https://api.github.com/users/candlepin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/candlepin/subscriptions","organizations_url":"https://api.github.com/users/candlepin/orgs","repos_url":"https://api.github.com/users/candlepin/repos","events_url":"https://api.github.com/users/candlepin/events{/privacy}","received_events_url":"https://api.github.com/users/candlepin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/candlepin/rho","description":"ssh scanner for your network","fork":false,"url":"https://api.github.com/repos/candlepin/rho","forks_url":"https://api.github.com/repos/candlepin/rho/forks","keys_url":"https://api.github.com/repos/candlepin/rho/keys{/key_id}","collaborators_url":"https://api.github.com/repos/candlepin/rho/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/candlepin/rho/teams","hooks_url":"https://api.github.com/repos/candlepin/rho/hooks","issue_events_url":"https://api.github.com/repos/candlepin/rho/issues/events{/number}","events_url":"https://api.github.com/repos/candlepin/rho/events","assignees_url":"https://api.github.com/repos/candlepin/rho/assignees{/user}","branches_url":"https://api.github.com/repos/candlepin/rho/branches{/branch}","tags_url":"https://api.github.com/repos/candlepin/rho/tags","blobs_url":"https://api.github.com/repos/candlepin/rho/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/candlepin/rho/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/candlepin/rho/git/refs{/sha}","trees_url":"https://api.github.com/repos/candlepin/rho/git/trees{/sha}","statuses_url":"https://api.github.com/repos/candlepin/rho/statuses/{sha}","languages_url":"https://api.github.com/repos/candlepin/rho/languages","stargazers_url":"https://api.github.com/repos/candlepin/rho/stargazers","contributors_url":"https://api.github.com/repos/candlepin/rho/contributors","subscribers_url":"https://api.github.com/repos/candlepin/rho/subscribers","subscription_url":"https://api.github.com/repos/candlepin/rho/subscription","commits_url":"https://api.github.com/repos/candlepin/rho/commits{/sha}","git_commits_url":"https://api.github.com/repos/candlepin/rho/git/commits{/sha}","comments_url":"https://api.github.com/repos/candlepin/rho/comments{/number}","issue_comment_url":"https://api.github.com/repos/candlepin/rho/issues/comments/{number}","contents_url":"https://api.github.com/repos/candlepin/rho/contents/{+path}","compare_url":"https://api.github.com/repos/candlepin/rho/compare/{base}...{head}","merges_url":"https://api.github.com/repos/candlepin/rho/merges","archive_url":"https://api.github.com/repos/candlepin/rho/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/candlepin/rho/downloads","issues_url":"https://api.github.com/repos/candlepin/rho/issues{/number}","pulls_url":"https://api.github.com/repos/candlepin/rho/pulls{/number}","milestones_url":"https://api.github.com/repos/candlepin/rho/milestones{/number}","notifications_url":"https://api.github.com/repos/candlepin/rho/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/candlepin/rho/labels{/name}","releases_url":"https://api.github.com/repos/candlepin/rho/releases{/id}","created_at":"2009-10-06T14:29:18Z","updated_at":"2014-06-16T21:58:12Z","pushed_at":"2014-07-09T19:42:54Z","git_url":"git://github.com/candlepin/rho.git","ssh_url":"git@github.com:candlepin/rho.git","clone_url":"https://github.com/candlepin/rho.git","svn_url":"https://github.com/candlepin/rho","homepage":"","size":549,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":18,"default_branch":"master"}},"base":{"label":"candlepin:master","ref":"master","sha":"04ed50841bd7fe813974da896c0cdc42b3857f57","user":{"login":"candlepin","id":1749632,"avatar_url":"https://avatars.githubusercontent.com/u/1749632?","gravatar_id":"8210547cb1a421e2100459c7690915c2","url":"https://api.github.com/users/candlepin","html_url":"https://github.com/candlepin","followers_url":"https://api.github.com/users/candlepin/followers","following_url":"https://api.github.com/users/candlepin/following{/other_user}","gists_url":"https://api.github.com/users/candlepin/gists{/gist_id}","starred_url":"https://api.github.com/users/candlepin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/candlepin/subscriptions","organizations_url":"https://api.github.com/users/candlepin/orgs","repos_url":"https://api.github.com/users/candlepin/repos","events_url":"https://api.github.com/users/candlepin/events{/privacy}","received_events_url":"https://api.github.com/users/candlepin/received_events","type":"Organization","site_admin":false},"repo":{"id":328547,"name":"rho","full_name":"candlepin/rho","owner":{"login":"candlepin","id":1749632,"avatar_url":"https://avatars.githubusercontent.com/u/1749632?","gravatar_id":"8210547cb1a421e2100459c7690915c2","url":"https://api.github.com/users/candlepin","html_url":"https://github.com/candlepin","followers_url":"https://api.github.com/users/candlepin/followers","following_url":"https://api.github.com/users/candlepin/following{/other_user}","gists_url":"https://api.github.com/users/candlepin/gists{/gist_id}","starred_url":"https://api.github.com/users/candlepin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/candlepin/subscriptions","organizations_url":"https://api.github.com/users/candlepin/orgs","repos_url":"https://api.github.com/users/candlepin/repos","events_url":"https://api.github.com/users/candlepin/events{/privacy}","received_events_url":"https://api.github.com/users/candlepin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/candlepin/rho","description":"ssh scanner for your network","fork":false,"url":"https://api.github.com/repos/candlepin/rho","forks_url":"https://api.github.com/repos/candlepin/rho/forks","keys_url":"https://api.github.com/repos/candlepin/rho/keys{/key_id}","collaborators_url":"https://api.github.com/repos/candlepin/rho/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/candlepin/rho/teams","hooks_url":"https://api.github.com/repos/candlepin/rho/hooks","issue_events_url":"https://api.github.com/repos/candlepin/rho/issues/events{/number}","events_url":"https://api.github.com/repos/candlepin/rho/events","assignees_url":"https://api.github.com/repos/candlepin/rho/assignees{/user}","branches_url":"https://api.github.com/repos/candlepin/rho/branches{/branch}","tags_url":"https://api.github.com/repos/candlepin/rho/tags","blobs_url":"https://api.github.com/repos/candlepin/rho/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/candlepin/rho/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/candlepin/rho/git/refs{/sha}","trees_url":"https://api.github.com/repos/candlepin/rho/git/trees{/sha}","statuses_url":"https://api.github.com/repos/candlepin/rho/statuses/{sha}","languages_url":"https://api.github.com/repos/candlepin/rho/languages","stargazers_url":"https://api.github.com/repos/candlepin/rho/stargazers","contributors_url":"https://api.github.com/repos/candlepin/rho/contributors","subscribers_url":"https://api.github.com/repos/candlepin/rho/subscribers","subscription_url":"https://api.github.com/repos/candlepin/rho/subscription","commits_url":"https://api.github.com/repos/candlepin/rho/commits{/sha}","git_commits_url":"https://api.github.com/repos/candlepin/rho/git/commits{/sha}","comments_url":"https://api.github.com/repos/candlepin/rho/comments{/number}","issue_comment_url":"https://api.github.com/repos/candlepin/rho/issues/comments/{number}","contents_url":"https://api.github.com/repos/candlepin/rho/contents/{+path}","compare_url":"https://api.github.com/repos/candlepin/rho/compare/{base}...{head}","merges_url":"https://api.github.com/repos/candlepin/rho/merges","archive_url":"https://api.github.com/repos/candlepin/rho/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/candlepin/rho/downloads","issues_url":"https://api.github.com/repos/candlepin/rho/issues{/number}","pulls_url":"https://api.github.com/repos/candlepin/rho/pulls{/number}","milestones_url":"https://api.github.com/repos/candlepin/rho/milestones{/number}","notifications_url":"https://api.github.com/repos/candlepin/rho/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/candlepin/rho/labels{/name}","releases_url":"https://api.github.com/repos/candlepin/rho/releases{/id}","created_at":"2009-10-06T14:29:18Z","updated_at":"2014-06-16T21:58:12Z","pushed_at":"2014-07-09T19:42:54Z","git_url":"git://github.com/candlepin/rho.git","ssh_url":"git@github.com:candlepin/rho.git","clone_url":"https://github.com/candlepin/rho.git","svn_url":"https://github.com/candlepin/rho","homepage":"","size":549,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/candlepin/rho/pulls/12"},"html":{"href":"https://github.com/candlepin/rho/pull/12"},"issue":{"href":"https://api.github.com/repos/candlepin/rho/issues/12"},"comments":{"href":"https://api.github.com/repos/candlepin/rho/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/candlepin/rho/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/candlepin/rho/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/candlepin/rho/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/candlepin/rho/statuses/fba170c3777e7f8018263984bf198131a7f69120"}}}}