ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/misc/scripts/shell/cvslog.sh
(Generate patch)

Comparing misc/scripts/shell/cvslog.sh (file contents):
Revision 1.10 by tdb, Sat Sep 27 17:21:31 2003 UTC vs.
Revision 1.11 by tdb, Sun Aug 1 10:39:52 2004 UTC

# Line 1 | Line 1
1   #!/bin/sh
2  
3 #---------------------------------------------------------
4 # cvslog.sh
5 #
6 # Script to send daily cvslog e-mails.
7 # Written by Tim Bishop [tdb1@ukc.ac.uk] 26/01/2001
8 #
9 # Copyright i-Scream, 2000
10 # http://www.i-scream.org.uk
11 #---------------------------------------------------------
12
3   ## settings
4  
5   # e-mail addresses
6 < TOADDR="commits@i-scream.org.uk"
7 < FROMADDR="commits@i-scream.org.uk"
6 > TOADDR="commits@i-scream.org"
7 > FROMADDR="commits@i-scream.org"
8  
9   # cvs path
10   CVS="/usr/bin/cvs"
# Line 23 | Line 13 | CVS="/usr/bin/cvs"
13   CVSROOT="/cvs/i-scream"
14  
15   # temporary checkout directory (checked out modules already)
16 < CHECKOUTDIR="/home/sites/www.i-scream.org.uk/cvsscripttemp"
16 > CHECKOUTDIR="/tmp/i-scream/cvstmp"
17  
18   # path to cvs2cl
19 < CVS2CLPATH="/home/sites/www.i-scream.org.uk/bin/cvs2cl2.pl"
19 > CVS2CLPATH="/usr/local/bin/cvs2cl"
20  
21   # command line args for cvs2cl
32 #CVS2CLARGS="-w -r -b -t -U ${CVSROOT}/CVSROOT/users -l \"-dyesterday<today\" -g \"-d${CVSROOT}\" -g \"-Q\""
22   CVS2CLARGS="--no-wrap --no-common-dir -w -r -t -S -U ${CVSROOT}/CVSROOT/users -l \"-dyesterday<today\" -g \"-d${CVSROOT}\" -g \"-Q\""
23  
24   # cvs2cl command
# Line 39 | Line 28 | CVS2CL="${CVS2CLPATH} ${CVS2CLARGS}"
28   SUBJECT="i-scream daily commit logs - "
29  
30   # full cvs update script
31 < FULLCVSUPDATE="/home/sites/www.i-scream.org.uk/bin/fullcvsupdate.sh"
31 > FULLCVSUPDATE="/home/iscream/bin/fullcvsupdate.sh"
32  
33   # path to sendmail
34   SENDMAIL="/usr/sbin/sendmail"
35  
36   # cvslog webpage for this day :)
37 < DATE=`/bin/date --date="1 day ago" "+%Y/%m/%d"`
38 < CVSLOGURL="http://www.i-scream.org.uk/cgi-bin/cvslog.cgi?period=date&date=${DATE}&module="
37 > DATE=`/bin/date -v-1d +%Y/%m/%d`
38 > CVSLOGURL="http://www.i-scream.org/cgi-bin/cvslog.cgi?period=date&date=${DATE}&module="
39   CVSLOGLINE="This log is viewable online at ${CVSLOGURL}"
40  
41   ## code

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines