You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2007/01/17 21:21:47 UTC

[Spamassassin Wiki] Update of "ManualRuleUpdates" by JustinMason

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The following page has been changed by JustinMason:
http://wiki.apache.org/spamassassin/ManualRuleUpdates

The comment on the change is:
update to use a bug-5269-compatible tagging step

------------------------------------------------------------------------------
  
  {{{
  cd ~/b31/rules-3.1
+ 
+ tagver=3.1.x
+ tagstamp=`perl -e 'use POSIX qw(strftime); print strftime "%Y%m%d%H%M%S", localtime time;'`
+ tagurl=https://svn.apache.org/repos/asf/spamassassin/tags/sa-update_${tagver}_${tagstamp}
+ 
+ svn up
+ svn copy -m 'promotions validated' . $tagurl < /dev/null
+ 
+ rm -rf tmpcheckout
+ svn co $tagurl tmpcheckout && svn info tmpcheckout > svnrev
+ rm -rf tmpcheckout
+ 
- rev=`svn info | perl -ne '/Revision: (\d+)/ and print $1'`
+ rev=`perl -ne '/Revision: (\d+)/ and print $1' < svnrev`
  echo $rev
+ 
  tar cf $rev.tar *.{cf,pre}
  tar tvf $rev.tar
  rm $rev.tar.gz; gzip -9 $rev.tar