User Tools

Site Tools


senddarcschanges.sh

senddarcschanges.sh

This code is used to send a daily report about the darcs checkins to the 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
senddarcschanges.sh.txt · Last modified: 2007/03/29 13:29 by 195.35.72.54