scripts/server-services/repocheck/commit-checker
changeset 2318 45d76c6e7f66
parent 2317 6d3ed14efb68
child 2319 99b1f7aec9d5
equal deleted inserted replaced
0:6da1a7f431a7 1:443e503fb908
    91 '>>${LOGFILE} 2>&1
    91 '>>${LOGFILE} 2>&1
    92 
    92 
    93 if check-compilers >>${LOGFILE} 2>&1
    93 if check-compilers >>${LOGFILE} 2>&1
    94 then
    94 then
    95     echo -n
    95     echo -n
    96 #    echo OK $AUTHOR $EMAIL $REV
       
    97 else
    96 else
    98 #    echo NEMOK $AUTHOR $EMAIL $REV
       
    99     echo 'Dear '${AUTHOR}',
    97     echo 'Dear '${AUTHOR}',
   100 Your svn commit -r'${REV}' made the repository broken.
    98 Your svn commit -r'${REV}' made the repository broken.
   101 The compilation log is attached.
    99 The compilation log is attached.
   102 Please fix the problem as soon as possible.
   100 Please fix the problem as soon as possible.
   103 
   101 
   104 Best regards,
   102 Best regards,
   105 LEMON Commit Checking Service
   103 LEMON Commit Checking Service
   106 '|
   104 '|
       
   105     mail -a ${LOGFILE} -s 'WARNING: Revision '${REV}' is broken' \
       
   106 	${EMAIL} alpar@cs.elte.hu
       
   107 
       
   108     echo 'Commit -r'${REV}' made the repository broken.
       
   109 Do not update until this bug is fixed, unless you really need it.
       
   110 
       
   111 Best regards,
       
   112 LEMON Commit Checking Service
       
   113 '|
   107     mail -a ${LOGFILE} -s '[LEMON-SVN] WARNING: Broken repository' \
   114     mail -a ${LOGFILE} -s '[LEMON-SVN] WARNING: Broken repository' \
   108 	${EMAIL} alpar@cs.elte.hu
   115 	${EMAIL} lemon-commits@lemon.cs.elte.hu
   109 fi
   116 fi
   110     
   117     
   111 #    rm ${LOGFILE}
   118 #    rm ${LOGFILE}
   112 rm ${ROOT}/queue/$REV
   119 rm ${ROOT}/queue/$REV
   113 
   120