You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2009/08/09 22:26:04 UTC

svn commit: r802580 - /spamassassin/trunk/build/README

Author: jm
Date: Sun Aug  9 20:26:04 2009
New Revision: 802580

URL: http://svn.apache.org/viewvc?rev=802580&view=rev
Log:
update build instructions; fix make disttest to use long tests, net tests

Modified:
    spamassassin/trunk/build/README

Modified: spamassassin/trunk/build/README
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/README?rev=802580&r1=802579&r2=802580&view=diff
==============================================================================
--- spamassassin/trunk/build/README (original)
+++ spamassassin/trunk/build/README Sun Aug  9 20:26:04 2009
@@ -116,9 +116,15 @@
     make distcheck
 
 - run "make disttest" to ensure all tests pass once the distribution
-  is fully packaged.  (this'll take a minute or two.)
+  is fully packaged.  (this'll take a minute or two.)  this command
+  set will do basically the same thing:
 
-    make disttest < /dev/null
+    make distdir
+    d=`echo Mail-SpamAssassin-?.?.?`
+    sed -e 's/run_\(long\|dcc\|net\)_tests=n/run_\1_tests=y/' \
+                $d/t/config.dist > $d/t/config
+    ( cd $d ; perl Makefile.PL ) < /dev/null
+    ( cd $d ; make test )
 
 - Check in the updated Changes file, and SpamAssassin.pm.
 
@@ -131,27 +137,22 @@
 - SVN tag the release files.  This is done using "svn copy".
   For a maintainance release (x.y.1, x.y.2):
 
-    repo=https://svn.apache.org/repos/asf/spamassassin
-    svn delete -m "replaced" $repo/tags/spamassassin_release_3_1_7
-    svn copy -m "creating tag for release 3.1.7" \
-	$repo/branches/3.1 \
-	$repo/tags/spamassassin_release_3_1_7
+    vers=3_1_7
 
   For a trunk release (x.y.0):
 
-    repo=https://svn.apache.org/repos/asf/spamassassin
-    svn delete -m "replaced" $repo/tags/spamassassin_release_3_0_0
-    svn copy -m "creating tag for release 3.0.0" \
-	$repo/trunk \
-	$repo/tags/spamassassin_release_3_0_0
+    vers=3_0_0
+
+  For a trunk pre-release (x.y.0-preZ) or alpha (x.y.0-alphaZ):
+
+    vers=3_3_0_alpha_2
 
-  For a trunk pre-release (x.y.0-preZ):
+  Then run
 
     repo=https://svn.apache.org/repos/asf/spamassassin
-    svn delete -m "replaced" $repo/tags/spamassassin_release_3_2_0_pre_2
-    svn copy -m "creating tag for release 3.2.0-pre2" \
-	$repo/trunk \
-	$repo/tags/spamassassin_release_3_2_0_pre_2
+    svn delete -m "replaced old tag" $repo/tags/spamassassin_release_$vers
+    svn copy -m "creating tag for release $vers" \
+	$repo/trunk $repo/tags/spamassassin_release_$vers
 
   This will do a completely server-side tagging (which is the same as
   a branch really) of whatever the latest branch revision to be the new