I haven't had any issues with the "svn up", the code actually updates to the latest masses/ directory rather than the one in the nightly tagged version so that I/whoever can fix problems in masses/ after the nightly tag is created but before I run the score generation 18 or so hours later. I think it was really only an issue when Theo and I were hacking away on a lot of that stuff almost daily two years ago.
Daryl On 02/09/2009 3:48 AM, Justin Mason wrote: > I have some code in corpus-nightly that falls back to "svn co" if "svn > up" fails (which it often does). If you're seeing that problem, I can > refactor it into a standalone util script... > > --j. > > On Wed, Sep 2, 2009 at 05:44, <[email protected]> wrote: >> Author: dos >> Date: Wed Sep 2 04:44:00 2009 >> New Revision: 810357 >> >> URL: http://svn.apache.org/viewvc?rev=810357&view=rev >> Log: >> svn co the latest masses/ stuff so that regressions can be fixed quickly >> instead of having score generation broken for a week for net enabled scores >> (this has been in use for nearly two years, I just forgot to check it in) >> >> Modified: >> >> spamassassin/trunk/rulesrc/sandbox/dos/new-rule-score-gen/generate-new-scores >> >> Modified: >> spamassassin/trunk/rulesrc/sandbox/dos/new-rule-score-gen/generate-new-scores >> URL: >> http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/dos/new-rule-score-gen/generate-new-scores?rev=810357&r1=810356&r2=810357&view=diff >> ============================================================================== >> --- >> spamassassin/trunk/rulesrc/sandbox/dos/new-rule-score-gen/generate-new-scores >> (original) >> +++ >> spamassassin/trunk/rulesrc/sandbox/dos/new-rule-score-gen/generate-new-scores >> Wed Sep 2 04:44:00 2009 >> @@ -114,6 +114,11 @@ >> >> svn up -r $REVISION trunk-new-rules-set${SCORESET}/rulesrc/ || exit $? >> >> +# use the newest masses/ directory so that we can fix bugs in the masses/ >> stuff >> +# and not have the net-enabled scores broken all week >> +svn up trunk-new-rules-set$SCORESET/masses/ >> + >> +# we need to patch the Makefile to get it to mangle some data for us >> cd trunk-new-rules-set${SCORESET}/masses >> patch < ../../masses-Makefile.patch || exit $? >> cd ../.. >> >> >> > > >
