{"action":"opened","number":54,"pull_request":{"url":"https://api.github.com/repos/LCTT/Grank/pulls/54","id":225032667,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MDMyNjY3","html_url":"https://github.com/LCTT/Grank/pull/54","diff_url":"https://github.com/LCTT/Grank/pull/54.diff","patch_url":"https://github.com/LCTT/Grank/pull/54.patch","issue_url":"https://api.github.com/repos/LCTT/Grank/issues/54","number":54,"state":"open","locked":false,"title":"支持分析模式的设定","user":{"login":"LuuMing","id":23754818,"node_id":"MDQ6VXNlcjIzNzU0ODE4","avatar_url":"https://avatars1.githubusercontent.com/u/23754818?v=4","gravatar_id":"","url":"https://api.github.com/users/LuuMing","html_url":"https://github.com/LuuMing","followers_url":"https://api.github.com/users/LuuMing/followers","following_url":"https://api.github.com/users/LuuMing/following{/other_user}","gists_url":"https://api.github.com/users/LuuMing/gists{/gist_id}","starred_url":"https://api.github.com/users/LuuMing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuuMing/subscriptions","organizations_url":"https://api.github.com/users/LuuMing/orgs","repos_url":"https://api.github.com/users/LuuMing/repos","events_url":"https://api.github.com/users/LuuMing/events{/privacy}","received_events_url":"https://api.github.com/users/LuuMing/received_events","type":"User","site_admin":false},"body":"## 为 analy 增加选项，分别是 ：\r\n\r\n- activity : 仅分析活跃度\r\n- social: 仅分析社区化\r\n- all: 社区化和活跃度都需要分析，此项目为默认值。\r\n<!-- 描述一下你的 PR 中的具体内容 -->\r\n\r\n\r\n## 关联 issue\r\n<!-- 如果你的 PR 涉及到某个 issue ，请在下方注明 -->\r\n#24 \r\n\r\n## 测试\r\n<!-- 在需要标注完成的方框内加入 x -->\r\n- grank analy --social lctt grank\r\n```\r\ngrank analy --social lctt Grank\r\n========= Crawler start =========\r\n第 1 次抓取数据:lctt/Grank\r\n第 2 次抓取数据:lctt/Grank\r\n========= Email start =========\r\n\r\n@foxmail.com    104\r\n@gmail.com       90\r\n@qq.com           6\r\nName: domain, dtype: int64\r\n\r\n请输入新的社区化识别的正则规则： [corp|inc]: corp\r\n规则设置完成！\r\n\r\n========= Community start =========\r\n开始社区化分析：lctt/Grank\r\n导出 output/social/lctt/Grank.pkl\r\n导出 output/social/lctt/Grank.csv\r\nlctt/Grank 的平均社区化程度为 100.00%\r\n生成 lctt/Grank 图表\r\n生成 TOP 图表\r\n```\r\n- grank analy --activity lctt Grank\r\n```\r\ngrank analy --activity lctt Grank\r\n========= Crawler start =========\r\n第 1 次抓取数据:lctt/Grank\r\n第 2 次抓取数据:lctt/Grank\r\n========= Activity start =========\r\n分析 PR\r\n分析 Commit\r\n分析 Contributor\r\n导出 output/activity/lctt/Grank.pkl\r\n导出 output/activity/lctt/Grank.csv\r\nlctt/Grank 的平均活跃分数为 1.18\r\n生成 lctt/Grank 图表\r\n生成 TOP 图表\r\n```\r\n\r\n- [x] 我已经更新了 readme.md 中的相关代码\r\n- [x] 我已经根据上方的描述检查了我的项目\r\n\r\n","created_at":"2018-10-23T13:11:43Z","updated_at":"2018-10-23T13:11:43Z","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/LCTT/Grank/pulls/54/commits","review_comments_url":"https://api.github.com/repos/LCTT/Grank/pulls/54/comments","review_comment_url":"https://api.github.com/repos/LCTT/Grank/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LCTT/Grank/issues/54/comments","statuses_url":"https://api.github.com/repos/LCTT/Grank/statuses/e8a4b3162c56b9bf5e62fa968001f2a7e8703c7e","head":{"label":"LuuMing:dev","ref":"dev","sha":"e8a4b3162c56b9bf5e62fa968001f2a7e8703c7e","user":{"login":"LuuMing","id":23754818,"node_id":"MDQ6VXNlcjIzNzU0ODE4","avatar_url":"https://avatars1.githubusercontent.com/u/23754818?v=4","gravatar_id":"","url":"https://api.github.com/users/LuuMing","html_url":"https://github.com/LuuMing","followers_url":"https://api.github.com/users/LuuMing/followers","following_url":"https://api.github.com/users/LuuMing/following{/other_user}","gists_url":"https://api.github.com/users/LuuMing/gists{/gist_id}","starred_url":"https://api.github.com/users/LuuMing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuuMing/subscriptions","organizations_url":"https://api.github.com/users/LuuMing/orgs","repos_url":"https://api.github.com/users/LuuMing/repos","events_url":"https://api.github.com/users/LuuMing/events{/privacy}","received_events_url":"https://api.github.com/users/LuuMing/received_events","type":"User","site_admin":false},"repo":{"id":151276344,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyNzYzNDQ=","name":"Grank","full_name":"LuuMing/Grank","private":false,"owner":{"login":"LuuMing","id":23754818,"node_id":"MDQ6VXNlcjIzNzU0ODE4","avatar_url":"https://avatars1.githubusercontent.com/u/23754818?v=4","gravatar_id":"","url":"https://api.github.com/users/LuuMing","html_url":"https://github.com/LuuMing","followers_url":"https://api.github.com/users/LuuMing/followers","following_url":"https://api.github.com/users/LuuMing/following{/other_user}","gists_url":"https://api.github.com/users/LuuMing/gists{/gist_id}","starred_url":"https://api.github.com/users/LuuMing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuuMing/subscriptions","organizations_url":"https://api.github.com/users/LuuMing/orgs","repos_url":"https://api.github.com/users/LuuMing/repos","events_url":"https://api.github.com/users/LuuMing/events{/privacy}","received_events_url":"https://api.github.com/users/LuuMing/received_events","type":"User","site_admin":false},"html_url":"https://github.com/LuuMing/Grank","description":"Github 项目活跃度分析工具","fork":true,"url":"https://api.github.com/repos/LuuMing/Grank","forks_url":"https://api.github.com/repos/LuuMing/Grank/forks","keys_url":"https://api.github.com/repos/LuuMing/Grank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LuuMing/Grank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LuuMing/Grank/teams","hooks_url":"https://api.github.com/repos/LuuMing/Grank/hooks","issue_events_url":"https://api.github.com/repos/LuuMing/Grank/issues/events{/number}","events_url":"https://api.github.com/repos/LuuMing/Grank/events","assignees_url":"https://api.github.com/repos/LuuMing/Grank/assignees{/user}","branches_url":"https://api.github.com/repos/LuuMing/Grank/branches{/branch}","tags_url":"https://api.github.com/repos/LuuMing/Grank/tags","blobs_url":"https://api.github.com/repos/LuuMing/Grank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LuuMing/Grank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LuuMing/Grank/git/refs{/sha}","trees_url":"https://api.github.com/repos/LuuMing/Grank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LuuMing/Grank/statuses/{sha}","languages_url":"https://api.github.com/repos/LuuMing/Grank/languages","stargazers_url":"https://api.github.com/repos/LuuMing/Grank/stargazers","contributors_url":"https://api.github.com/repos/LuuMing/Grank/contributors","subscribers_url":"https://api.github.com/repos/LuuMing/Grank/subscribers","subscription_url":"https://api.github.com/repos/LuuMing/Grank/subscription","commits_url":"https://api.github.com/repos/LuuMing/Grank/commits{/sha}","git_commits_url":"https://api.github.com/repos/LuuMing/Grank/git/commits{/sha}","comments_url":"https://api.github.com/repos/LuuMing/Grank/comments{/number}","issue_comment_url":"https://api.github.com/repos/LuuMing/Grank/issues/comments{/number}","contents_url":"https://api.github.com/repos/LuuMing/Grank/contents/{+path}","compare_url":"https://api.github.com/repos/LuuMing/Grank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LuuMing/Grank/merges","archive_url":"https://api.github.com/repos/LuuMing/Grank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LuuMing/Grank/downloads","issues_url":"https://api.github.com/repos/LuuMing/Grank/issues{/number}","pulls_url":"https://api.github.com/repos/LuuMing/Grank/pulls{/number}","milestones_url":"https://api.github.com/repos/LuuMing/Grank/milestones{/number}","notifications_url":"https://api.github.com/repos/LuuMing/Grank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LuuMing/Grank/labels{/name}","releases_url":"https://api.github.com/repos/LuuMing/Grank/releases{/id}","deployments_url":"https://api.github.com/repos/LuuMing/Grank/deployments","created_at":"2018-10-02T15:18:10Z","updated_at":"2018-10-12T15:25:40Z","pushed_at":"2018-10-23T13:05:17Z","git_url":"git://github.com/LuuMing/Grank.git","ssh_url":"git@github.com:LuuMing/Grank.git","clone_url":"https://github.com/LuuMing/Grank.git","svn_url":"https://github.com/LuuMing/Grank","homepage":"","size":154,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LCTT:master","ref":"master","sha":"40d725a21a5689ad9559051dab19c39caa1455a5","user":{"login":"LCTT","id":5432002,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0MzIwMDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5432002?v=4","gravatar_id":"","url":"https://api.github.com/users/LCTT","html_url":"https://github.com/LCTT","followers_url":"https://api.github.com/users/LCTT/followers","following_url":"https://api.github.com/users/LCTT/following{/other_user}","gists_url":"https://api.github.com/users/LCTT/gists{/gist_id}","starred_url":"https://api.github.com/users/LCTT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LCTT/subscriptions","organizations_url":"https://api.github.com/users/LCTT/orgs","repos_url":"https://api.github.com/users/LCTT/repos","events_url":"https://api.github.com/users/LCTT/events{/privacy}","received_events_url":"https://api.github.com/users/LCTT/received_events","type":"Organization","site_admin":false},"repo":{"id":150117144,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAxMTcxNDQ=","name":"Grank","full_name":"LCTT/Grank","private":false,"owner":{"login":"LCTT","id":5432002,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0MzIwMDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5432002?v=4","gravatar_id":"","url":"https://api.github.com/users/LCTT","html_url":"https://github.com/LCTT","followers_url":"https://api.github.com/users/LCTT/followers","following_url":"https://api.github.com/users/LCTT/following{/other_user}","gists_url":"https://api.github.com/users/LCTT/gists{/gist_id}","starred_url":"https://api.github.com/users/LCTT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LCTT/subscriptions","organizations_url":"https://api.github.com/users/LCTT/orgs","repos_url":"https://api.github.com/users/LCTT/repos","events_url":"https://api.github.com/users/LCTT/events{/privacy}","received_events_url":"https://api.github.com/users/LCTT/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/LCTT/Grank","description":"Github 项目活跃度分析工具","fork":false,"url":"https://api.github.com/repos/LCTT/Grank","forks_url":"https://api.github.com/repos/LCTT/Grank/forks","keys_url":"https://api.github.com/repos/LCTT/Grank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LCTT/Grank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LCTT/Grank/teams","hooks_url":"https://api.github.com/repos/LCTT/Grank/hooks","issue_events_url":"https://api.github.com/repos/LCTT/Grank/issues/events{/number}","events_url":"https://api.github.com/repos/LCTT/Grank/events","assignees_url":"https://api.github.com/repos/LCTT/Grank/assignees{/user}","branches_url":"https://api.github.com/repos/LCTT/Grank/branches{/branch}","tags_url":"https://api.github.com/repos/LCTT/Grank/tags","blobs_url":"https://api.github.com/repos/LCTT/Grank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LCTT/Grank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LCTT/Grank/git/refs{/sha}","trees_url":"https://api.github.com/repos/LCTT/Grank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LCTT/Grank/statuses/{sha}","languages_url":"https://api.github.com/repos/LCTT/Grank/languages","stargazers_url":"https://api.github.com/repos/LCTT/Grank/stargazers","contributors_url":"https://api.github.com/repos/LCTT/Grank/contributors","subscribers_url":"https://api.github.com/repos/LCTT/Grank/subscribers","subscription_url":"https://api.github.com/repos/LCTT/Grank/subscription","commits_url":"https://api.github.com/repos/LCTT/Grank/commits{/sha}","git_commits_url":"https://api.github.com/repos/LCTT/Grank/git/commits{/sha}","comments_url":"https://api.github.com/repos/LCTT/Grank/comments{/number}","issue_comment_url":"https://api.github.com/repos/LCTT/Grank/issues/comments{/number}","contents_url":"https://api.github.com/repos/LCTT/Grank/contents/{+path}","compare_url":"https://api.github.com/repos/LCTT/Grank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LCTT/Grank/merges","archive_url":"https://api.github.com/repos/LCTT/Grank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LCTT/Grank/downloads","issues_url":"https://api.github.com/repos/LCTT/Grank/issues{/number}","pulls_url":"https://api.github.com/repos/LCTT/Grank/pulls{/number}","milestones_url":"https://api.github.com/repos/LCTT/Grank/milestones{/number}","notifications_url":"https://api.github.com/repos/LCTT/Grank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LCTT/Grank/labels{/name}","releases_url":"https://api.github.com/repos/LCTT/Grank/releases{/id}","deployments_url":"https://api.github.com/repos/LCTT/Grank/deployments","created_at":"2018-09-24T14:37:30Z","updated_at":"2018-10-23T12:49:57Z","pushed_at":"2018-10-20T06:04:22Z","git_url":"git://github.com/LCTT/Grank.git","ssh_url":"git@github.com:LCTT/Grank.git","clone_url":"https://github.com/LCTT/Grank.git","svn_url":"https://github.com/LCTT/Grank","homepage":"","size":164,"stargazers_count":37,"watchers_count":37,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":10,"open_issues":19,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LCTT/Grank/pulls/54"},"html":{"href":"https://github.com/LCTT/Grank/pull/54"},"issue":{"href":"https://api.github.com/repos/LCTT/Grank/issues/54"},"comments":{"href":"https://api.github.com/repos/LCTT/Grank/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/LCTT/Grank/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/LCTT/Grank/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LCTT/Grank/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/LCTT/Grank/statuses/e8a4b3162c56b9bf5e62fa968001f2a7e8703c7e"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":16,"deletions":7,"changed_files":2}}
{"actor":{"display_login":"LuuMing"}}