Bug 5042 - RFE: add archive option to sa-update
Summary: RFE: add archive option to sa-update
Status: NEW
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 3.1.4
Hardware: All Windows XP
: P5 enhancement
Target Milestone: Future
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 15:31 UTC by Bret Miller
Modified: 2010-04-21 20:59 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Bret Miller 2006-08-11 15:31:23 UTC
Currently, sa-update replaces the entire set of channel rules when it updates.
This could possible lead to a condition where an update destroys a set of
working rules in favor of a set that doesn't work as well. Adding an option to
archive the current set prior to updating would provide protection against this
in that the admin could then manually restore a previous rule set.

One idea for doing this would be to create an archive subdirectory and tgz the
current rules into a file named by channel version number. A limited number of
versions should be kept.

Both the archiving and the number of archived versions should be configurable
options-- maybe --noarchive and --numarchives=n.
Comment 1 Justin Mason 2006-08-11 15:36:46 UTC
fwiw, what Bret describes, is exactly what I was thinking...
Comment 2 Justin Mason 2006-12-12 12:40:22 UTC
moving RFEs and low-priority stuff to 3.3.0 target
Comment 3 Justin Mason 2010-01-27 02:21:18 UTC
moving most remaining 3.3.0 bugs to 3.3.1 milestone
Comment 4 Justin Mason 2010-01-27 03:17:02 UTC
reassigning, too
Comment 5 Justin Mason 2010-03-23 16:34:14 UTC
moving all open 3.3.1 bugs to 3.3.2
Comment 6 Karsten Bräckelmann 2010-03-23 17:43:13 UTC
Moving back off of Security, which got changed by accident during the mass Target Milestone move.