You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jh...@apache.org on 2021/01/02 03:05:15 UTC
svn commit: r1885024 - /spamassassin/trunk/build/mkupdates/run_nightly
Author: jhardin
Date: Sat Jan 2 03:05:15 2021
New Revision: 1885024
URL: http://svn.apache.org/viewvc?rev=1885024&view=rev
Log:
Update rules/ from svn repo every time as well - those rules are not actually static, just infrequently modified, and if they are stale then sandboxed rules may break and prevent rule update publication due to lint failures
Modified:
spamassassin/trunk/build/mkupdates/run_nightly
Modified: spamassassin/trunk/build/mkupdates/run_nightly
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/mkupdates/run_nightly?rev=1885024&r1=1885023&r2=1885024&view=diff
==============================================================================
--- spamassassin/trunk/build/mkupdates/run_nightly (original)
+++ spamassassin/trunk/build/mkupdates/run_nightly Sat Jan 2 03:05:15 2021
@@ -20,7 +20,9 @@ promote_active_rules() {
# Make sure we have the source, since listpromotable assumes we do.
# Also, make_tarball_for_version removes rulesrc
- svn co https://svn.apache.org/repos/asf/spamassassin/trunk/rulesrc
+ # Get rules ("static" published rules) as well as rulesrc (dev sandboxes)
+ # as both are subject to modification at any time
+ svn co https://svn.apache.org/repos/asf/spamassassin/trunk/rules https://svn.apache.org/repos/asf/spamassassin/trunk/rulesrc
$PERL build/mkupdates/listpromotable > rules/active.list.new || exit $?
mv rules/active.list.new rules/active.list