From: <gnu...@li...> - 2000-08-23 23:09:47
|
CVSROOT: /cvsroot/gnupdate Module name: CVSROOT Changes by: chipx86 00/08/23 16:09:47 Modified files: . : checkoutlist Log message: Removed syncmail. |
From: <gnu...@li...> - 2000-08-23 23:14:34
|
CVSROOT: /cvsroot/gnupdate Module name: CVSROOT Changes by: chipx86 00/08/23 16:14:34 Modified files: . : loginfo Log message: Testing something |
From: <gnu...@li...> - 2001-02-13 09:38:01
|
CVSROOT: /cvsroot/gnupdate Module name: CVSROOT Changes by: chipx86 01/02/13 01:38:39 Modified files: . : checkoutlist commitinfo loginfo Added files: . : commit.pl Removed files: . : commit_prep2 newlog.pl Log message: Changed the CVS e-mail system. |
From: <gnu...@li...> - 2001-06-03 10:39:23
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cvswrappers Log Message: I don't know if these are default or not, but let's add them anyway. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cvswrappers,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- cvswrappers 2000/08/23 21:36:47 1.3 +++ cvswrappers 2001/06/03 09:44:50 1.4 @@ -24,3 +24,6 @@ *.png -kb *.jpg -kb *.jpeg -kb +*.gz -kb +*.bz2 -kb + |
From: <gnu...@li...> - 2001-12-12 09:33:36
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cvswrappers Log Message: These should be binary-only. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cvswrappers,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- cvswrappers 2001/06/03 09:44:50 1.4 +++ cvswrappers 2001/12/12 09:33:34 1.5 @@ -26,4 +26,5 @@ *.jpeg -kb *.gz -kb *.bz2 -kb - +*.zip -kb +*.ico -kb |
From: <gnu...@li...> - 2002-01-07 23:56:55
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cvswrappers Log Message: These should probably be treated this way. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cvswrappers,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- cvswrappers 2001/12/12 09:33:34 1.5 +++ cvswrappers 2002/01/07 23:56:54 1.6 @@ -28,3 +28,6 @@ *.bz2 -kb *.zip -kb *.ico -kb +*.ps -kb +*.eps -kb +*.ps -kb |
From: <gnu...@li...> - 2002-01-08 00:04:45
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cvswrappers Log Message: Err. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cvswrappers,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- cvswrappers 2002/01/07 23:56:54 1.6 +++ cvswrappers 2002/01/08 00:04:44 1.7 @@ -30,4 +30,3 @@ *.ico -kb *.ps -kb *.eps -kb -*.ps -kb |
From: <gnu...@li...> - 2002-01-12 02:48:51
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: commit.pl Log Message: Let's try this. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/commit.pl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- commit.pl 2001/02/13 09:38:39 1.1 +++ commit.pl 2002/01/12 02:48:20 1.2 @@ -24,9 +24,9 @@ # Here come the bits you'll want to twiddle configuration-wise: $SENDMAIL = "/usr/sbin/sendmail"; -$MAILFROM = "GNUpdate CVS <gnupdate-commits\@sourceforge.net>"; -$MAILREPLYTO = "gnupdate-develop\@sourceforge.net"; -$MAILTO = "gnupdate-commits\@sourceforge.net"; +$MAILFROM = "GNUpdate CVS <gnupdate-commits\@lists.sourceforge.net>"; +$MAILREPLYTO = "gnupdate-devel\@lists.sourceforge.net"; +$MAILTO = "gnupdate-commits\@lists.sourceforge.net"; #$MAILTO = "chipx86\@lilo.cx"; $cvsroot = $ENV{'CVSROOT'}; $login = $ENV{'LOGNAME'} || getlogin || (getpwuid($<))[0] || "nobody"; @@ -71,8 +71,8 @@ print MAIL "To: $MAILTO\n"; print MAIL "Reply-To: $MAILREPLYTO\n"; print MAIL "Subject: $modulename $login\n"; -#print MAIL "From: $MAILFROM\n"; -print MAIL "From: $login\@sourceforge.net\n"; +print MAIL "From: $MAILFROM\n"; +#print MAIL "From: $login\@sourceforge.net\n"; print MAIL "\n"; print MAIL "GNUpdate CVS committal\n\n"; |
From: <gnu...@li...> - 2002-12-14 20:22:14
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: modules Log Message: Testing this new setup. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/modules,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- modules 21 Aug 2000 19:46:29 -0000 1.2 +++ modules 14 Dec 2002 20:22:12 -0000 1.3 @@ -24,4 +24,4 @@ # character to interpose another module into the current module. This # can be useful for creating a module that consists of many directories # spread out over the entire source repository. -gnupdate-all -a libgnurdf libpackman libpql gnupdate +gnupdate -a libcomprex libpackman gpkg |
From: <gnu...@li...> - 2003-06-01 17:14:29
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: checkoutlist loginfo Added Files: cia.sh Log Message: Testing out this CIA thing. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/checkoutlist,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- checkoutlist 13 Feb 2001 09:38:39 -0000 1.4 +++ checkoutlist 1 Jun 2003 17:13:58 -0000 1.5 @@ -12,3 +12,4 @@ # # comment lines begin with '#' commit.pl cannot get commit.pl +cia.pl cannot get cia.pl =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/loginfo,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- loginfo 13 Feb 2001 09:38:39 -0000 1.16 +++ loginfo 1 Jun 2003 17:13:58 -0000 1.17 @@ -29,3 +29,4 @@ #DEFAULT $CVSROOT/CVSROOT/syncmail %{sVv} gnu...@li... DEFAULT /usr/bin/perl $CVSROOT/CVSROOT/commit.pl %{sVv} +DEFAULT $CVSROOT/CVSROOT/cia.sh |
From: <gnu...@li...> - 2003-06-01 18:38:05
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: Latest version of the CIA script. Neato! =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- cia.sh 1 Jun 2003 17:26:34 -0000 1.5 +++ cia.sh 1 Jun 2003 18:37:34 -0000 1.6 @@ -3,12 +3,29 @@ uname=`id -un` lineno=`echo "$message" | grep -n "Log Message:" | awk -F: ' { print $1 } '` message=`echo "$message" | sed "1,${lineno}d"` - -cat <<EOF | /usr/sbin/sendmail -t -From: co...@au... + +projectname="GNUpdate" +tmpfile="/tmp/$RANDOM-$projectname" + +cat <$tmpfile +From: co...@gn... To: co...@pi... Content-Type: text/plain; -Subject: Announce GNUpdate - -cvs commit by $uname: $message +Subject: Announce $projectname + +commit by $uname: $message EOF + +if [ -e /tmp/lastlog-$projectname ]; then + if ! diff /tmp/lastlog-$projectname $tmpfile &>/dev/null; then + # there are differences, so this is a different commit + cat $tmpfile | /usr/sbin/sendmail -t + mv $tmpfile /tmp/lastlog-$projectname + else + # it's just cvs spamming us from another directory + rm $tmpfile + fi +else + cat $tmpfile | /usr/sbin/sendmail -t + mv $tmpfile /tmp/lastlog-$projectname +fi |
From: <gnu...@li...> - 2003-06-01 18:46:28
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: And you thought gaim was getting a lot of work done lately. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- cia.sh 1 Jun 2003 18:37:34 -0000 1.6 +++ cia.sh 1 Jun 2003 18:45:43 -0000 1.7 @@ -7,7 +7,7 @@ projectname="GNUpdate" tmpfile="/tmp/$RANDOM-$projectname" -cat <$tmpfile +cat <<EOF >$tmpfile From: co...@gn... To: co...@pi... Content-Type: text/plain; |
From: <gnu...@li...> - 2003-06-01 19:01:39
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: A slight variation on the script. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- cia.sh 1 Jun 2003 18:45:43 -0000 1.7 +++ cia.sh 1 Jun 2003 19:01:07 -0000 1.8 @@ -3,6 +3,7 @@ uname=`id -un` lineno=`echo "$message" | grep -n "Log Message:" | awk -F: ' { print $1 } '` message=`echo "$message" | sed "1,${lineno}d"` +module=`echo $0 | sed -e "s/\/.*//"` projectname="GNUpdate" tmpfile="/tmp/$RANDOM-$projectname" @@ -13,7 +14,7 @@ Content-Type: text/plain; Subject: Announce $projectname -commit by $uname: $message +commit by $uname: $module: $message EOF if [ -e /tmp/lastlog-$projectname ]; then |
From: <gnu...@li...> - 2003-06-01 19:04:13
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: It would help if I got the parameter number right. Oh great, now everybody in #commits will see this and thing I'm an idiot. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- cia.sh 1 Jun 2003 19:01:07 -0000 1.8 +++ cia.sh 1 Jun 2003 19:04:11 -0000 1.9 @@ -3,7 +3,7 @@ uname=`id -un` lineno=`echo "$message" | grep -n "Log Message:" | awk -F: ' { print $1 } '` message=`echo "$message" | sed "1,${lineno}d"` -module=`echo $0 | sed -e "s/\/.*//"` +module=`echo $1 | awk -F/ ' { print $1 } ' projectname="GNUpdate" tmpfile="/tmp/$RANDOM-$projectname" |
From: <gnu...@li...> - 2003-06-01 19:05:42
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: Of course, they'd think I was an even bigger idiot if they knew what I messed up on there. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- cia.sh 1 Jun 2003 19:04:11 -0000 1.9 +++ cia.sh 1 Jun 2003 19:05:10 -0000 1.10 @@ -3,7 +3,7 @@ uname=`id -un` lineno=`echo "$message" | grep -n "Log Message:" | awk -F: ' { print $1 } '` message=`echo "$message" | sed "1,${lineno}d"` -module=`echo $1 | awk -F/ ' { print $1 } ' +module=`echo $1 | awk -F/ ' { print $1 } '` projectname="GNUpdate" tmpfile="/tmp/$RANDOM-$projectname" |
From: <gnu...@li...> - 2003-06-01 19:10:30
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: Yay! =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- cia.sh 1 Jun 2003 19:05:10 -0000 1.10 +++ cia.sh 1 Jun 2003 19:09:59 -0000 1.11 @@ -3,7 +3,7 @@ uname=`id -un` lineno=`echo "$message" | grep -n "Log Message:" | awk -F: ' { print $1 } '` message=`echo "$message" | sed "1,${lineno}d"` -module=`echo $1 | awk -F/ ' { print $1 } '` +module=`echo $1 | awk -F' ' ' { print $1 } ' | awk -F/ ' { print $1 } '` projectname="GNUpdate" tmpfile="/tmp/$RANDOM-$projectname" |
From: <gnu...@li...> - 2003-06-01 19:14:43
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: I like this better. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- cia.sh 1 Jun 2003 19:09:59 -0000 1.11 +++ cia.sh 1 Jun 2003 19:14:42 -0000 1.12 @@ -14,7 +14,7 @@ Content-Type: text/plain; Subject: Announce $projectname -commit by $uname: $module: $message +$module: commit by $uname: $message EOF if [ -e /tmp/lastlog-$projectname ]; then |
From: <gnu...@li...> - 2003-06-02 21:55:33
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: Updating ciabot on the GNUpdate CVSROOT. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- cia.sh 1 Jun 2003 19:14:42 -0000 1.12 +++ cia.sh 2 Jun 2003 21:54:59 -0000 1.13 @@ -5,8 +5,11 @@ message=`echo "$message" | sed "1,${lineno}d"` module=`echo $1 | awk -F' ' ' { print $1 } ' | awk -F/ ' { print $1 } '` +cc=`echo -en '\003'` projectname="GNUpdate" tmpfile="/tmp/$RANDOM-$projectname" +#message=`echo "$message" | head -n 5` +message=`echo "$message" | tr '\r\n' ' '` cat <<EOF >$tmpfile From: co...@gn... @@ -14,7 +17,7 @@ Content-Type: text/plain; Subject: Announce $projectname -$module: commit by $uname: $message +$module ${cc}3$uname${cc}: $message EOF if [ -e /tmp/lastlog-$projectname ]; then |
From: <gnu...@li...> - 2003-06-03 02:14:17
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: Testing a change of address. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- cia.sh 2 Jun 2003 21:54:59 -0000 1.13 +++ cia.sh 3 Jun 2003 02:13:46 -0000 1.14 @@ -10,10 +10,11 @@ tmpfile="/tmp/$RANDOM-$projectname" #message=`echo "$message" | head -n 5` message=`echo "$message" | tr '\r\n' ' '` +#To: co...@pi... cat <<EOF >$tmpfile From: co...@gn... -To: co...@pi... +To: ch...@ch... Content-Type: text/plain; Subject: Announce $projectname |
From: <gnu...@li...> - 2003-06-03 02:16:19
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: Moving this back. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- cia.sh 3 Jun 2003 02:13:46 -0000 1.14 +++ cia.sh 3 Jun 2003 02:15:47 -0000 1.15 @@ -10,11 +10,10 @@ tmpfile="/tmp/$RANDOM-$projectname" #message=`echo "$message" | head -n 5` message=`echo "$message" | tr '\r\n' ' '` -#To: co...@pi... cat <<EOF >$tmpfile From: co...@gn... -To: ch...@ch... +To: co...@pi... Content-Type: text/plain; Subject: Announce $projectname |
From: <gnu...@li...> - 2003-06-03 02:48:49
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: Updated the CIA, informing them of the whereabouts of Lazlo. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- cia.sh 3 Jun 2003 02:15:47 -0000 1.15 +++ cia.sh 3 Jun 2003 02:48:18 -0000 1.16 @@ -1,35 +1,79 @@ #!/bin/bash + +# This script should be called as "ciabot %{}" from loginfo. +# Sample loginfo line: +# ALL $CVSROOT/CVSROOT/ciabot %{} +# Put that in your CVSROOT/loginfo, then set the variables at the top of this +# script. Then commit this file to your CVSROOT, and add it to +# CVSROOT/checkoutlist, and +# echo | mail -s "JoinChannel #myproject" co...@pi... + +projectname="GNUpdate" # will announce to channel #<whatever you put here> +returnaddress="ch...@ch..." + +# You should turn stripnewlines on if you tend to write short blocks +# of text, and off if you tend to have any formatting. If you stick +# full changelog entries in your commit messages, definitely turn it +# off. +#stripnewlines=false +stripnewlines=true + +# Deliver directly to the bot: +commitaddress="co...@pi..." +# Sourceforge projects might need to deliver via users.sf.net (slower) +#commitaddress="ci...@us..." + +#################### End of what you'll generally need to change + +echo -n "Notifying #${projectname}..." + +maxlines=6 message=`cat` uname=`id -un` lineno=`echo "$message" | grep -n "Log Message:" | awk -F: ' { print $1 } '` message=`echo "$message" | sed "1,${lineno}d"` -module=`echo $1 | awk -F' ' ' { print $1 } ' | awk -F/ ' { print $1 } '` +newline=`echo` -cc=`echo -en '\003'` -projectname="GNUpdate" -tmpfile="/tmp/$RANDOM-$projectname" -#message=`echo "$message" | head -n 5` -message=`echo "$message" | tr '\r\n' ' '` +if [ "$message" != "`echo \"$message\" | head -n $maxlines`" ]; then +# The following line appears to be the only way to insert a newline at +# that place. + message="`echo \"$message\" | head -n $(($maxlines - 1))` +<...>" +fi +if $stripnewlines; then + message=`echo -n "$message" | tr '\n\r' ' '` +fi + +module=`echo $1 | cut -d/ -f1` + +tmpfile="/tmp/$RANDOM-$projectname" cat <<EOF >$tmpfile -From: co...@gn... -To: co...@pi... +From: $returnaddress +To: $commitaddress Content-Type: text/plain; Subject: Announce $projectname -$module ${cc}3$uname${cc}: $message +commit by $uname to $module: $message EOF if [ -e /tmp/lastlog-$projectname ]; then - if ! diff /tmp/lastlog-$projectname $tmpfile &>/dev/null; then - # there are differences, so this is a different commit - cat $tmpfile | /usr/sbin/sendmail -t - mv $tmpfile /tmp/lastlog-$projectname - else - # it's just cvs spamming us from another directory - rm $tmpfile - fi -else + if ! diff /tmp/lastlog-$projectname $tmpfile &>/dev/null; then + # there are differences, so this is a different commit cat $tmpfile | /usr/sbin/sendmail -t mv $tmpfile /tmp/lastlog-$projectname + # To ensure that the next person to commit will be able to overwrite + chmod a+w /tmp/lastlog-$projectname + else + # it's just cvs spamming us from another directory + rm $tmpfile + fi +else + cat $tmpfile | /usr/sbin/sendmail -t + mv $tmpfile /tmp/lastlog-$projectname + # To ensure that the next person to commit will be able to overwrite + chmod a+w /tmp/lastlog-$projectname fi + +echo "done." + |
From: <gnu...@li...> - 2003-06-03 02:50:56
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: Gah, forgot the colors. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- cia.sh 3 Jun 2003 02:48:18 -0000 1.16 +++ cia.sh 3 Jun 2003 02:50:25 -0000 1.17 @@ -54,7 +54,7 @@ Content-Type: text/plain; Subject: Announce $projectname -commit by $uname to $module: $message +$module {dark green}$uname{normal}: $message EOF if [ -e /tmp/lastlog-$projectname ]; then |
From: <gnu...@li...> - 2003-06-03 02:53:52
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: Fixinating the module variable. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- cia.sh 3 Jun 2003 02:50:25 -0000 1.17 +++ cia.sh 3 Jun 2003 02:53:50 -0000 1.18 @@ -45,7 +45,7 @@ message=`echo -n "$message" | tr '\n\r' ' '` fi -module=`echo $1 | cut -d/ -f1` +module=`echo $1 | cut -d/ -d' ' -f1` tmpfile="/tmp/$RANDOM-$projectname" cat <<EOF >$tmpfile |
From: <gnu...@li...> - 2003-06-03 02:55:41
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh loginfo Log Message: Okay, this should be the last fix. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- cia.sh 3 Jun 2003 02:53:50 -0000 1.18 +++ cia.sh 3 Jun 2003 02:55:40 -0000 1.19 @@ -45,7 +45,7 @@ message=`echo -n "$message" | tr '\n\r' ' '` fi -module=`echo $1 | cut -d/ -d' ' -f1` +module=`echo $1 | cut -d/ -f1` tmpfile="/tmp/$RANDOM-$projectname" cat <<EOF >$tmpfile =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/loginfo,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- loginfo 1 Jun 2003 17:33:39 -0000 1.20 +++ loginfo 3 Jun 2003 02:55:40 -0000 1.21 @@ -29,4 +29,4 @@ #DEFAULT $CVSROOT/CVSROOT/syncmail %{sVv} gnu...@li... DEFAULT /usr/bin/perl $CVSROOT/CVSROOT/commit.pl %{sVv} -ALL /bin/bash $CVSROOT/CVSROOT/cia.sh %{sVv} +ALL /bin/bash $CVSROOT/CVSROOT/cia.sh %{} |
From: <gnu...@li...> - 2003-06-28 19:53:49
|
GNUpdate CVS committal Author : chipx86 Module : CVSROOT Path : / Modified Files: cia.sh Log Message: Testing a new CIA script. =================================================================== RCS file: /cvsroot/gnupdate/CVSROOT/cia.sh,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- cia.sh 3 Jun 2003 02:55:40 -0000 1.19 +++ cia.sh 28 Jun 2003 19:53:18 -0000 1.20 @@ -33,6 +33,7 @@ lineno=`echo "$message" | grep -n "Log Message:" | awk -F: ' { print $1 } '` message=`echo "$message" | sed "1,${lineno}d"` newline=`echo` +branch=`echo "$message" | grep -n "Tag:" | awk -F': ' ' { print $3 } ' | head -n 1` if [ "$message" != "`echo \"$message\" | head -n $maxlines`" ]; then # The following line appears to be the only way to insert a newline at @@ -41,6 +42,9 @@ <...>" fi +if [ "$branch" != "" ]; then + branch=" {yellow}${branch}{normal}" + if $stripnewlines; then message=`echo -n "$message" | tr '\n\r' ' '` fi @@ -54,7 +58,7 @@ Content-Type: text/plain; Subject: Announce $projectname -$module {dark green}$uname{normal}: $message +$module {dark green}$uname{normal}$branch: $message EOF if [ -e /tmp/lastlog-$projectname ]; then |