58.215.181.118 ???????????????????????????????????????????????? crontab 
??????????????????????????
  
 http://58.215.181.118/debian-reference/logs/ ????????
 
 
 ???????? git pull ????????????????????, ??????????
  
 error: The following untracked working tree files would be overwritten by 
merge:
        po/zh-cn.tex
        po/zh-tw.tex
  
 ?????????????????? .tex ????????????????????????????????
  
 cat build-zh-cn-html.sh
 LOGFILE=/home/yyclouds/debian-reference/build.log
mv $LOGFILE /home/yyclouds/debian-reference/logs/build`date  +%Y%m%d%H%M  -d  
'3 hours ago'`.log
date  >> $LOGFILE
 cd /home/yyclouds/debian-reference/
 git checkout master 2>&1 >> $LOGFILE
 rm -fv /home/yyclouds/debian-reference/po/*.po 2>&1 >> $LOGFILE
rm -fv /home/yyclouds/debian-reference/po/*.tex 2>&1 >> $LOGFILE
rm -fv /home/yyclouds/debian-reference/debian-reference.raw.xml 2>&1 >> $LOGFILE
rm -fv /home/yyclouds/debian-reference/bin/replace_package 2>&1 >> $LOGFILE
 curl \
    -d operation=push \
    -H "Authorization: Token 5ff944676582bfc0d2a623881d52c54ff5d8ae1c" \
    https://hosted.weblate.org/api/projects/debian-reference/repository/ 2>&1 
>> $LOGFILE
 git pull 2>&1 >> $LOGFILE
git checkout /home/yyclouds/debian-reference/po/zh-cn.po 2>&1 >> $LOGFILE
git checkout /home/yyclouds/debian-reference/debian-reference.raw.xml 2>&1 >> 
$LOGFILE
git checkout /home/yyclouds/debian-reference/bin/replace_package 2>&1 >> 
$LOGFILE
make test "LANGPO=zh-cn" 2>&1 >> $LOGFILE

  
 
 
 ------------------ ???????? ------------------
  ??????: "louletian";<loulet...@sina.com>;
 ????????: 2017??6??14??(??????) ????9:52
 ??????: "debian-chinese-gb"<debian-chinese-gb@lists.debian.org>; 
 
 ????: Debian Reference ??????????????????????

 

http://58.215.181.118/debian-reference/tmp/index.zh-cn.html 
????????????????????weblate??????????????????????????????????????

回复