senddarcschanges.sh
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
senddarcschanges.sh [2006/11/13 13:31] – old revision restored andi | senddarcschanges.sh [2007/03/29 11:29] (current) – old revision restored 195.35.72.54 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== senddarcschanges.sh ====== | ||
+ | This code is used to send a daily report about the [[wiki: | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | |||
+ | REPO=" | ||
+ | MAIL=" | ||
+ | |||
+ | CHANGES=`darcs changes --matches 'date yesterday' | ||
+ | if [ $? -eq 0 ]; then | ||
+ | #spam protect emails: | ||
+ | CHANGES=`echo " | ||
+ | |||
+ | echo " | ||
+ | Good Morning! | ||
+ | |||
+ | This are the darcs changes for DokuWiki committed | ||
+ | yesterday. Please test them and report bugs. | ||
+ | |||
+ | --------------------------------------------------------------------- | ||
+ | $CHANGES | ||
+ | --------------------------------------------------------------------- | ||
+ | |||
+ | Single patches can be downloaded from | ||
+ | http:// | ||
+ | |||
+ | Bye, | ||
+ | your darcs changlog mailer | ||
+ | |||
+ | " | mail -s "darcs changes" | ||
+ | |||
+ | fi | ||
+ | </ |