|
|
|
@ -19,6 +19,7 @@ API_FILES=("CMakeLists.txt"
|
|
|
|
|
"paddle/fluid/framework/ir/node.h"
|
|
|
|
|
"paddle/fluid/framework/ir/graph.h"
|
|
|
|
|
"paddle/fluid/framework/framework.proto"
|
|
|
|
|
"python/paddle/fleet/__init__.py"
|
|
|
|
|
"python/requirements.txt"
|
|
|
|
|
"python/paddle/fluid/__init__.py"
|
|
|
|
|
"python/paddle/fluid/compiler.py"
|
|
|
|
@ -105,7 +106,7 @@ for API_FILE in ${API_FILES[*]}; do
|
|
|
|
|
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.
|
|
|
|
|
# You can use http://caius.github.io/github_id/ to find Github user id.
|
|
|
|
|
# approval_user_list: XiaoguangHu01 46782768,Xreki 12538138,luotao1 6836917,sneaxiy 32832641,qingqing01 7845005,guoshengCS 14105589,heavengate 12605721,kuke 3064195,Superjomn 328693,lanxianghit 47554610,cyj1986 39645414,hutuxian 11195205,frankwhzhang 20274488,nepeplwu 45024560,Dianhai 38231817,chenwhql 22561442,zhiqiu 6888866,seiriosPlus 5442383,gongweibao 10721757,saxon-zh 2870059,Boyan-Liu 31623103, zhouwei25 52485244, Aurelius84 9301846, liym27 33742067, zhhsplendid 7913861, kolinwei 22165420, liuwei1031 46661762, swtkiwi 27208573, juncaipeng 52520497, zhangting2020 26615455, JepsonWong 16509038, Shixiaowei02 39303645, Heeenrrry 28379894,XieYunshen 32428676.
|
|
|
|
|
# approval_user_list: XiaoguangHu01 46782768,Xreki 12538138,luotao1 6836917,sneaxiy 32832641,qingqing01 7845005,guoshengCS 14105589,heavengate 12605721,kuke 3064195,Superjomn 328693,lanxianghit 47554610,cyj1986 39645414,hutuxian 11195205,frankwhzhang 20274488,nepeplwu 45024560,Dianhai 38231817,chenwhql 22561442,zhiqiu 6888866,seiriosPlus 5442383,gongweibao 10721757,saxon-zh 2870059,Boyan-Liu 31623103, zhouwei25 52485244, Aurelius84 9301846, liym27 33742067, zhhsplendid 7913861, kolinwei 22165420, liuwei1031 46661762, swtkiwi 27208573, juncaipeng 52520497, zhangting2020 26615455, JepsonWong 16509038, Shixiaowei02 39303645, Heeenrrry 28379894,XieYunshen 32428676. Dong Daxiang 35550832.
|
|
|
|
|
if [ "${API_FILE}" == "CMakeLists.txt" ];then
|
|
|
|
|
echo_line="You must have one RD (luotao1 or XiaoguangHu01) approval for CMakeLists.txt, which manages the compilation parameter.\n"
|
|
|
|
|
check_approval 1 6836917 46782768
|
|
|
|
@ -151,6 +152,9 @@ for API_FILE in ${API_FILES[*]}; do
|
|
|
|
|
elif [ "${API_FILE}" == "tools/wlist.json" ];then
|
|
|
|
|
echo_line="You must have one RD (lelelelelez (Recommend) or luotao1) approval for the api whitelist for the tools/wlist.json.\n"
|
|
|
|
|
check_approval 1 22937122 6836917
|
|
|
|
|
elif [ "${API_FILE}" == "python/paddle/fleet/__init__.py" ]; then
|
|
|
|
|
echo_line="You must have (guru4elephant,raindrops2sea) approval for ${API_FILE} changes "
|
|
|
|
|
check_approval 1 35550832 38231817
|
|
|
|
|
else
|
|
|
|
|
echo_line="You must have one RD (XiaoguangHu01,Xreki,luotao1,sneaxiy) approval for ${API_FILE}, which manages the underlying code for fluid.\n"
|
|
|
|
|
check_approval 1 3048612 46782768 12538138 6836917 32832641
|
|
|
|
|