You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2022/04/19 06:34:33 UTC
[Bug 7676] mkupdates produces different files with the same filenames causing issues with caching proxies
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7676
Henrik Krohns <ap...@hege.li> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
CC| |apache@hege.li
--- Comment #1 from Henrik Krohns <ap...@hege.li> ---
Actually this is not true.
2:25 mkupdate-with-scores creates and publishes the tar.gz
8:30 run_nightly does NOT publish it again if mkupdate already did it, as we
can see from this code:
# Integrate with masscheck ruleset updates to prevent duplicates
RECENT=`find $HOME/tmp/mkupdate-with-scores -name \*.tar.gz -mmin -480`
if [[ -z "$RECENT" ]]; then
echo "Recent ruleset from mkupdate-with-scores (massheck) NOT found."
echo "Proceeding with a ruleset publish..."
....
else
echo "Recent ruleset from mkupdate-with-scores (massheck) found:"
ls -l $RECENT
echo ""
fi
The question is if the run_nightly code should ever do it (unnecessary
duplicate code etc), but that's out of the scope of this bug. Closing.
--
You are receiving this mail because:
You are the assignee for the bug.