Bugzilla::Bloomfilter should encourage preserving the input files for its filters

RESOLVED FIXED

Status

()

enhancement
RESOLVED FIXED
Last year
Last year

People

(Reporter: dylan, Assigned: dylan)

Tracking

Production

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

PR
45 bytes, text/x-github-pull-request
dylan
: review+
Details | Review
Right now we're using the bloomfilter code for an IP whitelist and also a hostname blacklist. The bloomfilters are stored in the data/ directory for now.

Bloomfilters are populated from text files, with one entry per line.
However there is no requirement to where those text files are stored.

I'd like to make it so we store the input files and the bloomfilters in the same place, so that when we need to update the bloomfilter files we can be sure we're updating the same content.

Also I'll use this as an opportunity to use File::Slurper.
Posted file PR
Attachment #8966760 - Flags: review+
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.