Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
fbc63a1f
P
Paddle
项目概览
PaddlePaddle
/
Paddle
1 年多 前同步成功
通知
2302
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fbc63a1f
编写于
9月 09, 2019
作者:
T
tianshuo78520a
提交者:
Jiabin Yang
9月 09, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Change Dianhai GithubID to fit new code merge rules(#19674)
上级
f05d2c51
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
2 addition
and
2 deletion
+2
-2
tools/check_api_approvals.sh
tools/check_api_approvals.sh
+2
-2
未找到文件。
tools/check_api_approvals.sh
浏览文件 @
fbc63a1f
...
...
@@ -34,7 +34,7 @@ git_count=`git diff --numstat upstream/$BRANCH| awk '{sum+=$1}END{print sum}'`
failed_num
=
0
echo_list
=()
if
[[
$git_files
-gt
19
||
$git_count
-gt
999
]]
;
then
APPROVALS
=
`
echo
${
approval_line
}
|python
${
PADDLE_ROOT
}
/tools/check_pr_approval.py 1
5086632
`
APPROVALS
=
`
echo
${
approval_line
}
|python
${
PADDLE_ROOT
}
/tools/check_pr_approval.py 1
38231817
`
if
[
"
${
APPROVALS
}
"
==
"FALSE"
]
;
then
failed_num
=
`
expr
$failed_num
+ 1
`
echo_line
=
"You must have Dianhai approval for change 20+ files or add than 1000+ lines of content
\n
"
...
...
@@ -47,7 +47,7 @@ for API_FILE in ${API_FILES[*]}; do
echo
"checking
${
API_FILE
}
change, PR:
${
GIT_PR_ID
}
, changes:
${
API_CHANGE
}
"
if
[
"
${
API_CHANGE
}
"
]
&&
[
"
${
GIT_PR_ID
}
"
!=
""
]
;
then
# NOTE: per_page=10000 should be ok for all cases, a PR review > 10000 is not human readable.
# approval_user_list: XiaoguangHu01 46782768,chengduoZH 30176695,Xreki 12538138,luotao1 6836917,sneaxiy 32832641,tensor-tang 21351065,xsrobin 50069408,qingqing01 7845005,guoshengCS 14105589,heavengate 12605721,kuke 3064195,Superjomn 328693,lanxianghit 47554610,cyj1986 39645414,hutuxian 11195205,frankwhzhang 20274488,nepeplwu 45024560,Dianhai
5086632
,JiabinYang 22361972,chenwhql 22561442.
# approval_user_list: XiaoguangHu01 46782768,chengduoZH 30176695,Xreki 12538138,luotao1 6836917,sneaxiy 32832641,tensor-tang 21351065,xsrobin 50069408,qingqing01 7845005,guoshengCS 14105589,heavengate 12605721,kuke 3064195,Superjomn 328693,lanxianghit 47554610,cyj1986 39645414,hutuxian 11195205,frankwhzhang 20274488,nepeplwu 45024560,Dianhai
38231817
,JiabinYang 22361972,chenwhql 22561442.
if
[
"
${
API_FILE
}
"
==
"paddle/fluid/API.spec"
]
;
then
APPROVALS
=
`
echo
${
approval_line
}
|python
${
PADDLE_ROOT
}
/tools/check_pr_approval.py 2 7534971 14105589 12605721 3064195 328693 47554610 39645414 11195205 20274488 45024560
`
elif
[
"
${
API_FILE
}
"
==
"paddle/fluid/op_use_default_grad_op_maker.spec"
]
;
then
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录