====== senddarcschanges.sh ====== This code is used to send a daily report about the [[wiki:darcs]] checkins to the [[wiki:mailinglist]] #!/bin/sh REPO="http://dev.splitbrain.org/darcs/dokuwiki"; MAIL="dokuwiki@freelists.org" CHANGES=`darcs changes --matches 'date yesterday' --repo $REPO 2>/dev/null` if [ $? -eq 0 ]; then #spam protect emails: CHANGES=`echo "$CHANGES" |sed -e 's/@/[at]/g'` 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://dev.splitbrain.org/darcs/index.cgi/dokuwiki/?c=patches Bye, your darcs changlog mailer " | mail -s "darcs changes" $MAIL fi