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.3 by tdb, Wed Jun 6 15:04:12 2001 UTC vs.
Revision 1.6 by tdb, Mon Jun 18 23:33:07 2001 UTC

# Line 14 | Line 14
14  
15   # e-mail addresses
16   TOADDR="commits@i-scream.org.uk"
17 < FROMADDR="tim@i-scream.org.uk"
17 > FROMADDR="commits@i-scream.org.uk"
18  
19   # cvs path
20   CVS="/usr/bin/cvs"
# Line 26 | Line 26 | CVSROOT="/cvs/i-scream"
26   CHECKOUTDIR="/home/sites/www.i-scream.org.uk/cvsscripttemp"
27  
28   # path to cvs2cl
29 < CVS2CLPATH="/home/sites/www.i-scream.org.uk/bin/cvs2cl.pl"
29 > CVS2CLPATH="/home/sites/www.i-scream.org.uk/bin/cvs2cl2.pl"
30  
31   # command line args for cvs2cl
32   CVS2CLARGS="-w -r -b -t -U ${CVSROOT}/CVSROOT/users -l \"-dyesterday<today\" -g \"-d${CVSROOT}\" -g \"-Q\""
# Line 43 | Line 43 | FULLCVSUPDATE="/home/sites/www.i-scream.org.uk/bin/ful
43   # path to sendmail
44   SENDMAIL="/usr/sbin/sendmail"
45  
46 + # cvslog webpage for this day :)
47 + DATE=`/bin/date --date="1 day ago" "+%Y/%m/%d"`
48 + CVSLOGURL="http://www.i-scream.org.uk/cgi-bin/cvslog.cgi?period=date&date=${DATE}&module="
49 + CVSLOGLINE="This log is viewable online at ${CVSLOGURL}"
50  
51   ## code
52  
# Line 57 | Line 61 | for MODULE in ${MODULES}; do
61      ${CVS2CL} ${MODULE}
62      if test -r "ChangeLog"; then \
63          ( echo "To: ${TOADDR}"; echo "From: ${FROMADDR}"; \
64 <          echo "Subject: ${SUBJECT}${MODULE}"; cat ChangeLog; \
64 >          echo "Subject: ${SUBJECT}${MODULE}"; echo ${CVSLOGLINE}${MODULE}; \
65 >          echo; echo; cat ChangeLog; \
66            echo "." ) | ${SENDMAIL} ${TOADDR}; \
67          rm -f ChangeLog
68      fi;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines