From 5a8b96113899902a7605319b4a4614c2df02b6ea Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Tue, 9 Oct 2018 11:56:31 +0800 Subject: [PATCH 01/10] Create github_org_china.md --- github_org_china.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 github_org_china.md diff --git a/github_org_china.md b/github_org_china.md new file mode 100644 index 0000000..6d9a27e --- /dev/null +++ b/github_org_china.md @@ -0,0 +1,44 @@ +### 国内公司及开源社区的开源项目 GitHub地址 + +(参考自:https://github.com/jaywcjlove/handbook/blob/master/other/Github-Oraganizations.md ) +- [Alibaba](https://github.com/alibaba) 阿里巴巴 ![](https://avatars1.githubusercontent.com/u/1961952?v=3&s=14) + - [Ant Design](https://github.com/ant-design) Ant Design ![](https://avatars1.githubusercontent.com/u/12101536?v=4&s=14) + - [Ant DataVis Team](https://github.com/antvis) 蚂蚁金服 - 体验技术部 - 数据图形组 ![](https://avatars3.githubusercontent.com/u/19199542?v=4&s=14) + - [NG-ZORRO](https://github.com/NG-ZORRO) Angular Developers ![](https://avatars2.githubusercontent.com/u/30223759?v=4&s=14) + - [aliceui](https://github.com/aliceui) 支付宝 ![](https://avatars3.githubusercontent.com/u/3404882?v=3&s=14) + - [issyteam](https://github.com/kissyteam) kissyteam ![](https://avatars1.githubusercontent.com/u/328318?v=3&s=14) + - [Taobao, Inc.](https://github.com/taobao) 淘宝 ![](https://avatars0.githubusercontent.com/u/1560507?v=3&s=14) + - [天猫前端](https://github.com/tmallfe) 天猫 ![](https://avatars0.githubusercontent.com/u/7637440?v=3&s=14) + - [seajs](https://github.com/seajs) Web的模块加载程序 ![](https://avatars1.githubusercontent.com/u/12101536?v=4&s=14) + - [kissyteam](https://github.com/kissyteam) 强大的模块集合 ![](https://avatars3.githubusercontent.com/u/328318?v=4&s=14) + - [egg](https://github.com/eggjs) Node.js的Web框架框架 ![](https://avatars2.githubusercontent.com/u/15833670?v=4&s=14) + +- [Huawei](https://github.com/Huawei) 华为 ![](https://avatars2.githubusercontent.com/u/539149?v=4&s=14) + - [Huawei](https://github.com/Huawei-Hadoop) 华为 Hadoop ![](https://avatars2.githubusercontent.com/u/539149?v=4&s=14) + +- [Tencent](https://github.com/tencent) 腾讯 Github ![](https://avatars0.githubusercontent.com/u/18461506?v=4&s=14) + - [腾讯 AlloyTeam](https://github.com/AlloyTeam) 腾讯 ![](https://avatars2.githubusercontent.com/u/1503033?v=3&s=14) +- [Baidu](https://github.com/baidu) 百度 ![](https://avatars3.githubusercontent.com/u/13245940?v=4&s=14) + - [Baidu FEX team](https://github.com/fex-team) 百度 ![](https://avatars0.githubusercontent.com/u/6668906?v=4&s=14) + - [Baidu EFE team](https://github.com/ecomfe) 百度 ![](https://avatars3.githubusercontent.com/u/2268460?v=3&s=14) + - [Baidu BEFE](https://github.com/be-fe) 百度企业产品前端研发团队 ![](https://avatars3.githubusercontent.com/u/8372490?v=4&s=14) +- [eleme](https://github.com/eleme) 饿了么 ![](https://avatars2.githubusercontent.com/u/1201438?v=4&s=14) + - [饿了么前端](https://github.com/elemefe) 饿了么 ![](https://avatars2.githubusercontent.com/u/12810740?v=4&s=14) +- [NetEase](https://github.com/netease) 网易 ![](https://avatars2.githubusercontent.com/u/1460597?v=3&s=14) +- [SOHUDBA](https://github.com/SOHUDBA) 搜狐 ![](https://avatars2.githubusercontent.com/u/4919525?v=3&s=14) +- [Qihoo360](https://github.com/Qihoo360) 奇虎360 ![](https://avatars2.githubusercontent.com/u/4082929?v=3&s=14) + - [360EntSecGroup-Skylar](https://github.com/360EntSecGroup-Skylar) 360企业安全集团终端安全子公司 ![](https://avatars2.githubusercontent.com/u/29733149?v=3&s=14) +- [唯品会](https://github.com/vipshop) 唯品会 ![](https://avatars3.githubusercontent.com/u/7145544?v=3&s=14) +- [Douban Inc.](https://github.com/douban) 豆瓣 ![](https://avatars3.githubusercontent.com/u/1220164?v=3&s=14) +- [大众点评网](https://github.com/dianping) 大众点评网 ![](https://avatars0.githubusercontent.com/u/1539555?v=3&s=14) +- [美团点评](https://github.com/Meituan-Dianping) 美团点评 ![](https://avatars0.githubusercontent.com/u/1539555?v=3&s=14) +- [Xiaomi Open Source.](https://github.com/xiaomi) 小米 +- [meituan.com](https://github.com/meituan) 美团 ![](https://avatars1.githubusercontent.com/u/977371?v=3&s=14) +- [蘑菇街](https://github.com/mogujie) 蘑菇街 ![](https://avatars1.githubusercontent.com/u/10172799?v=3&s=14) +- [CodisLabs](https://github.com/CodisLabs) 豌豆荚 ![](https://avatars1.githubusercontent.com/u/16700854?v=3&s=14) +- [当当](https://github.com/dangdangdotcom) 当当 ![](https://avatars1.githubusercontent.com/u/10172799?v=3&s=14) +- [有赞](https://github.com/youzan) 有赞 ![](https://avatars0.githubusercontent.com/u/11404085?v=3&s=14) +- [TeamStuQ](https://github.com/TeamStuQ) TeamStuQ ![](https://avatars2.githubusercontent.com/u/15888474?v=3&s=14) +- [深度](https://github.com/linuxdeepin) Wuhan Deepin Technology Co.,Ltd. ![](https://avatars3.githubusercontent.com/u/1592697?v=4&s=14) +- [DNSPod](https://github.com/DNSPod) DNSPod ![](https://avatars3.githubusercontent.com/u/672779?v=4&s=14) +- [Weibo R&D Open Source Projects](https://github.com/weibocom) 新浪微博 ![](https://avatars3.githubusercontent.com/u/672779?v=4&s=14) From 9d85a10c8ff54d9e7e6e544f833e6192ada8257e Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Tue, 9 Oct 2018 12:03:31 +0800 Subject: [PATCH 02/10] Update github_org_china.md --- github_org_china.md | 78 ++++++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 40 deletions(-) diff --git a/github_org_china.md b/github_org_china.md index 6d9a27e..f057eb5 100644 --- a/github_org_china.md +++ b/github_org_china.md @@ -1,44 +1,42 @@ ### 国内公司及开源社区的开源项目 GitHub地址 (参考自:https://github.com/jaywcjlove/handbook/blob/master/other/Github-Oraganizations.md ) -- [Alibaba](https://github.com/alibaba) 阿里巴巴 ![](https://avatars1.githubusercontent.com/u/1961952?v=3&s=14) - - [Ant Design](https://github.com/ant-design) Ant Design ![](https://avatars1.githubusercontent.com/u/12101536?v=4&s=14) - - [Ant DataVis Team](https://github.com/antvis) 蚂蚁金服 - 体验技术部 - 数据图形组 ![](https://avatars3.githubusercontent.com/u/19199542?v=4&s=14) - - [NG-ZORRO](https://github.com/NG-ZORRO) Angular Developers ![](https://avatars2.githubusercontent.com/u/30223759?v=4&s=14) - - [aliceui](https://github.com/aliceui) 支付宝 ![](https://avatars3.githubusercontent.com/u/3404882?v=3&s=14) - - [issyteam](https://github.com/kissyteam) kissyteam ![](https://avatars1.githubusercontent.com/u/328318?v=3&s=14) - - [Taobao, Inc.](https://github.com/taobao) 淘宝 ![](https://avatars0.githubusercontent.com/u/1560507?v=3&s=14) - - [天猫前端](https://github.com/tmallfe) 天猫 ![](https://avatars0.githubusercontent.com/u/7637440?v=3&s=14) - - [seajs](https://github.com/seajs) Web的模块加载程序 ![](https://avatars1.githubusercontent.com/u/12101536?v=4&s=14) - - [kissyteam](https://github.com/kissyteam) 强大的模块集合 ![](https://avatars3.githubusercontent.com/u/328318?v=4&s=14) - - [egg](https://github.com/eggjs) Node.js的Web框架框架 ![](https://avatars2.githubusercontent.com/u/15833670?v=4&s=14) - -- [Huawei](https://github.com/Huawei) 华为 ![](https://avatars2.githubusercontent.com/u/539149?v=4&s=14) - - [Huawei](https://github.com/Huawei-Hadoop) 华为 Hadoop ![](https://avatars2.githubusercontent.com/u/539149?v=4&s=14) -- [Tencent](https://github.com/tencent) 腾讯 Github ![](https://avatars0.githubusercontent.com/u/18461506?v=4&s=14) - - [腾讯 AlloyTeam](https://github.com/AlloyTeam) 腾讯 ![](https://avatars2.githubusercontent.com/u/1503033?v=3&s=14) -- [Baidu](https://github.com/baidu) 百度 ![](https://avatars3.githubusercontent.com/u/13245940?v=4&s=14) - - [Baidu FEX team](https://github.com/fex-team) 百度 ![](https://avatars0.githubusercontent.com/u/6668906?v=4&s=14) - - [Baidu EFE team](https://github.com/ecomfe) 百度 ![](https://avatars3.githubusercontent.com/u/2268460?v=3&s=14) - - [Baidu BEFE](https://github.com/be-fe) 百度企业产品前端研发团队 ![](https://avatars3.githubusercontent.com/u/8372490?v=4&s=14) -- [eleme](https://github.com/eleme) 饿了么 ![](https://avatars2.githubusercontent.com/u/1201438?v=4&s=14) - - [饿了么前端](https://github.com/elemefe) 饿了么 ![](https://avatars2.githubusercontent.com/u/12810740?v=4&s=14) -- [NetEase](https://github.com/netease) 网易 ![](https://avatars2.githubusercontent.com/u/1460597?v=3&s=14) -- [SOHUDBA](https://github.com/SOHUDBA) 搜狐 ![](https://avatars2.githubusercontent.com/u/4919525?v=3&s=14) -- [Qihoo360](https://github.com/Qihoo360) 奇虎360 ![](https://avatars2.githubusercontent.com/u/4082929?v=3&s=14) - - [360EntSecGroup-Skylar](https://github.com/360EntSecGroup-Skylar) 360企业安全集团终端安全子公司 ![](https://avatars2.githubusercontent.com/u/29733149?v=3&s=14) -- [唯品会](https://github.com/vipshop) 唯品会 ![](https://avatars3.githubusercontent.com/u/7145544?v=3&s=14) -- [Douban Inc.](https://github.com/douban) 豆瓣 ![](https://avatars3.githubusercontent.com/u/1220164?v=3&s=14) -- [大众点评网](https://github.com/dianping) 大众点评网 ![](https://avatars0.githubusercontent.com/u/1539555?v=3&s=14) -- [美团点评](https://github.com/Meituan-Dianping) 美团点评 ![](https://avatars0.githubusercontent.com/u/1539555?v=3&s=14) -- [Xiaomi Open Source.](https://github.com/xiaomi) 小米 -- [meituan.com](https://github.com/meituan) 美团 ![](https://avatars1.githubusercontent.com/u/977371?v=3&s=14) -- [蘑菇街](https://github.com/mogujie) 蘑菇街 ![](https://avatars1.githubusercontent.com/u/10172799?v=3&s=14) -- [CodisLabs](https://github.com/CodisLabs) 豌豆荚 ![](https://avatars1.githubusercontent.com/u/16700854?v=3&s=14) -- [当当](https://github.com/dangdangdotcom) 当当 ![](https://avatars1.githubusercontent.com/u/10172799?v=3&s=14) -- [有赞](https://github.com/youzan) 有赞 ![](https://avatars0.githubusercontent.com/u/11404085?v=3&s=14) -- [TeamStuQ](https://github.com/TeamStuQ) TeamStuQ ![](https://avatars2.githubusercontent.com/u/15888474?v=3&s=14) -- [深度](https://github.com/linuxdeepin) Wuhan Deepin Technology Co.,Ltd. ![](https://avatars3.githubusercontent.com/u/1592697?v=4&s=14) -- [DNSPod](https://github.com/DNSPod) DNSPod ![](https://avatars3.githubusercontent.com/u/672779?v=4&s=14) -- [Weibo R&D Open Source Projects](https://github.com/weibocom) 新浪微博 ![](https://avatars3.githubusercontent.com/u/672779?v=4&s=14) +- [阿里巴巴](https://github.com/alibaba) + - [Ant Design](https://github.com/ant-design) + - [蚂蚁金服](https://github.com/antvis) + - [Angular Developers](https://github.com/NG-ZORRO) + - [支付宝](https://github.com/aliceui) + - [kissyteam](https://github.com/kissyteam) + - [淘宝](https://github.com/taobao) + - [天猫](https://github.com/tmallfe) + - [seajs](https://github.com/seajs) + - [eggjs](https://github.com/eggjs) +- [华为](https://github.com/Huawei) + - [华为 Hadoop](https://github.com/Huawei-Hadoop) +- [腾讯](https://github.com/tencent) + - [AlloyTeam](https://github.com/AlloyTeam) +- [百度](https://github.com/baidu) + - [FEX](https://github.com/fex-team) + - [EFE](https://github.com/ecomfe) + - [前端](https://github.com/be-fe) +- [饿了么](https://github.com/eleme) + - [前端](https://github.com/elemefe) +- [网易](https://github.com/netease) +- [搜狐](https://github.com/SOHUDBA) +- [奇虎360](https://github.com/Qihoo360) + - [360企业安全](https://github.com/360EntSecGroup-Skylar) +- [唯品会](https://github.com/vipshop) +- [豆瓣](https://github.com/douban) +- [大众点评](https://github.com/dianping) +- [美团点评](https://github.com/Meituan-Dianping) +- [小米](https://github.com/xiaomi) +- [美团](https://github.com/meituan) +- [蘑菇街](https://github.com/mogujie) +- [豌豆荚](https://github.com/CodisLabs) +- [当当](https://github.com/dangdangdotcom) +- [有赞](https://github.com/youzan) +- [StuQ](https://github.com/TeamStuQ) +- [深度](https://github.com/linuxdeepin) +- [DNSPod](https://github.com/DNSPod) +- [新浪微博 ](https://github.com/weibocom) From a11a1d302ef384e3c559f83756a1298f74b9d282 Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Tue, 9 Oct 2018 12:11:09 +0800 Subject: [PATCH 03/10] Update github_org_china.md --- github_org_china.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/github_org_china.md b/github_org_china.md index f057eb5..8147682 100644 --- a/github_org_china.md +++ b/github_org_china.md @@ -1,6 +1,4 @@ -### 国内公司及开源社区的开源项目 GitHub地址 - -(参考自:https://github.com/jaywcjlove/handbook/blob/master/other/Github-Oraganizations.md ) +### 国内公司开源项目 GitHub 地址 - [阿里巴巴](https://github.com/alibaba) - [Ant Design](https://github.com/ant-design) @@ -36,7 +34,9 @@ - [豌豆荚](https://github.com/CodisLabs) - [当当](https://github.com/dangdangdotcom) - [有赞](https://github.com/youzan) -- [StuQ](https://github.com/TeamStuQ) - [深度](https://github.com/linuxdeepin) - [DNSPod](https://github.com/DNSPod) -- [新浪微博 ](https://github.com/weibocom) +- [新浪微博](https://github.com/weibocom) + +(最初参考[来源](https://github.com/jaywcjlove/handbook/blob/master/other/Github-Oraganizations.md),去除了文档类项目。) + From 86926bcc1160425587310ba5897c8a8d3237b8fa Mon Sep 17 00:00:00 2001 From: Bestony Date: Tue, 9 Oct 2018 13:22:34 +0800 Subject: [PATCH 04/10] publish 0.0.23 --- changelog.md | 4 ++++ setup.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index ed185bc..9dab9d1 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # 变更日志 +## 0.0.23 + +1. **紧急修复** 加入公共域的显示以及过滤 github 的邮箱 。 Contributor: @wxy + ## 0.0.22 1. **新特性** 不统计 Fork 来的仓库 diff --git a/setup.py b/setup.py index 8d69e29..f944833 100644 --- a/setup.py +++ b/setup.py @@ -2,9 +2,10 @@ setuptools.setup( name="Grank", - version="0.0.22", + version="0.0.23", author="Bestony@LCTT", author_email="xiqingongzi@gmail.com", + python_requires=">=3.4", description="A Github Project Rank Command Line Tool", long_description=open('README.rst').read(), url="https://github.com/LCTT/Grank", From dce4ff0b1bc5c41d232d6de148be3ed2d84331e9 Mon Sep 17 00:00:00 2001 From: Bestony Date: Tue, 9 Oct 2018 13:45:21 +0800 Subject: [PATCH 05/10] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Pytest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/__init__.py | 4 ++++ tests/test_helpers.py | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 tests/__init__.py create mode 100644 tests/test_helpers.py diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e1b6881 --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,4 @@ +def setup(): + import warnings + warnings.resetwarnings() + warnings.simplefilter("always") \ No newline at end of file diff --git a/tests/test_helpers.py b/tests/test_helpers.py new file mode 100644 index 0000000..149d55d --- /dev/null +++ b/tests/test_helpers.py @@ -0,0 +1,14 @@ +import pandas +from grank.libs import helpers +def test_detect_email_dmain(): + gmail_domain = helpers.detect_email_dmain('test_case@gmail.com') + assert gmail_domain == '@gmail.com' + + localhost_domain = helpers.detect_email_dmain('localhost') + assert localhost_domain == '' + +def test_get_user_type(): + test_user = helpers.get_user_type('bestony') + assert test_user == True + test_ogran = helpers.get_user_type('lctt') + assert test_ogran == False \ No newline at end of file From 9ff70299ff277a5666752dd34e12564bbe7e8002 Mon Sep 17 00:00:00 2001 From: Bestony Date: Tue, 9 Oct 2018 13:49:37 +0800 Subject: [PATCH 06/10] update requirements for ci --- requirements.txt | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/requirements.txt b/requirements.txt index 5fdcefa..87d8f2a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,22 +1,22 @@ -bleach==2.1.4 +atomicwrites==1.2.1 +attrs==18.2.0 certifi==2018.8.24 -cffi==1.11.5 chardet==3.0.4 Click==7.0 -cmarkgfm==0.4.2 -docopt==0.6.2 -docutils==0.14 -future==0.16.0 -html5lib==1.0.1 +cycler==0.10.0 +Grank==0.0.23 idna==2.7 -pkginfo==1.4.2 -pycparser==2.19 -Pygments==2.2.0 -readme-renderer==22.0 +kiwisolver==1.0.1 +matplotlib==3.0.0 +more-itertools==4.3.0 +numpy==1.15.2 +pandas==0.23.4 +pluggy==0.7.1 +py==1.6.0 +pyparsing==2.2.2 +pytest==3.8.2 +python-dateutil==2.7.3 +pytz==2018.5 requests==2.19.1 -requests-toolbelt==0.8.0 six==1.11.0 -tqdm==4.26.0 -twine==1.12.1 -urllib3==1.23 -webencodings==0.5.1 +urllib3==1.23 \ No newline at end of file From a2c4bb282f63476d89ed85d9b3768385328c50bc Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Tue, 9 Oct 2018 14:10:58 +0800 Subject: [PATCH 07/10] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- grank/script/social.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/grank/script/social.py b/grank/script/social.py index bbb489c..23e9480 100644 --- a/grank/script/social.py +++ b/grank/script/social.py @@ -24,11 +24,11 @@ def analyse_email(data,config): df = pd.DataFrame(data["commitArray"]) for index,row in df.iterrows(): - df.loc[index,"author"] = helpers.detect_email_dmain(row["author"]) + df.loc[index,"domain"] = helpers.detect_email_domain(row["author"]) click.echo('') # click.echo(df['author'].value_counts().drop(labels=common_mail,errors='ignore')) - click.echo(df['author'].value_counts().drop(labels=ignore_mail,errors='ignore')) + click.echo(df['domain'].value_counts().drop(labels=ignore_mail,errors='ignore')) click.echo('') new_rule = click.prompt('请输入新的社区化识别的正则规则',default=config["social"]["rule"]) @@ -52,13 +52,13 @@ def analyse_repo(owner, repository, data, config): np.zeros((len(date_range),), dtype=int), index=date_range) social_all_frame = pd.DataFrame(commitArray) - social_all_frame = social_all_frame[(social_all_frame.author != '') & (social_all_frame.author != '@users.noreply.github.com') & (social_all_frame.date != "未标注时间")] + social_all_frame = social_all_frame[(social_all_frame.domain != '') & (social_all_frame.domain != '@users.noreply.github.com') & (social_all_frame.date != "未标注时间")] social_all_frame["date"] = pd.to_datetime(social_all_frame['date']) for index, row in social_all_frame.iterrows(): - social_all_frame.loc[index, "author"] = helpers.is_corp( - row["author"], config) + social_all_frame.loc[index, "is_corp"] = helpers.is_corp( + row["domain"], config) - community_df = social_all_frame[social_all_frame.author != True].set_index( + community_df = social_all_frame[social_all_frame.is_corp != True].set_index( 'date').resample('W')['times'].sum() social_all_df = social_all_frame.set_index( 'date').resample('W')['times'].sum() From b5d149c24925ddf958fa75e89d26bed53273b72d Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Tue, 9 Oct 2018 14:37:40 +0800 Subject: [PATCH 08/10] Update social.py From 8a5174959b84995cf2c9c2885f416cde93fcbe53 Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Tue, 9 Oct 2018 14:47:00 +0800 Subject: [PATCH 09/10] Update social.py --- grank/script/social.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/grank/script/social.py b/grank/script/social.py index 23e9480..de37162 100644 --- a/grank/script/social.py +++ b/grank/script/social.py @@ -52,6 +52,9 @@ def analyse_repo(owner, repository, data, config): np.zeros((len(date_range),), dtype=int), index=date_range) social_all_frame = pd.DataFrame(commitArray) + for index,row in social_all_frame.iterrows(): + social_all_frame.loc[index,"domain"] = helpers.detect_email_domain(row["author"]) + social_all_frame = social_all_frame[(social_all_frame.domain != '') & (social_all_frame.domain != '@users.noreply.github.com') & (social_all_frame.date != "未标注时间")] social_all_frame["date"] = pd.to_datetime(social_all_frame['date']) for index, row in social_all_frame.iterrows(): From 33450f9a758ce6cd9d6c69f2fe2e919f25a5b843 Mon Sep 17 00:00:00 2001 From: "Xingyu.Wang" Date: Tue, 9 Oct 2018 14:48:42 +0800 Subject: [PATCH 10/10] Update crawler.py --- grank/script/crawler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grank/script/crawler.py b/grank/script/crawler.py index a82eb9b..e56c628 100644 --- a/grank/script/crawler.py +++ b/grank/script/crawler.py @@ -15,6 +15,8 @@ def fetch_repo_data(owner, repository, config): # 添加一个可过滤掉的数据,确保后续执行完成 commitArray.append({ 'author': 'localhost', + 'domain': '', + 'is_corp': False, 'date': '未标注时间', "times": 1 })