Mailing List Archive

svn commit: r230373 - /spamassassin/trunk/masses/rule-qa/automc/RUNME.after
Author: jm
Date: Thu Aug 4 17:50:47 2005
New Revision: 230373

URL: http://svn.apache.org/viewcvs?rev=230373&view=rev
Log:
svn update seems to be required for corpus-hourly to work

Modified:
spamassassin/trunk/masses/rule-qa/automc/RUNME.after

Modified: spamassassin/trunk/masses/rule-qa/automc/RUNME.after
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/masses/rule-qa/automc/RUNME.after?rev=230373&r1=230372&r2=230373&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/automc/RUNME.after (original)
+++ spamassassin/trunk/masses/rule-qa/automc/RUNME.after Thu Aug 4 17:50:47 2005
@@ -8,17 +8,23 @@
echo "RUNME.after starting"; date

PATH=$PATH:/usr/local/bin
-
date=date ; [ -x /opt/sfw/bin/gdate ] && date=gdate

+# hit-frequencies now requires up-to-date rules to generate valid reports!
+# so we need to do an svn update
+( cd $SADIR ; svn update )
+
+# then generate the various forms of 'freqs' files...
$SADIR/masses/rule-qa/corpus-hourly

+# copy those output files to a datestamped archive dir...
today=`$date +"%Y%m%d"`
mkdir -p $html/$today
cp -p $html/*.* $html/$today
date

-# only post the comments once, on the first time the results are read
+# only post the comments to bugs in bugzilla once, on the first
+# time the results are read
if [ ! -f $MCTMP/comments-posted ] ; then
./post-comments
touch $MCTMP/comments-posted