-
Notifications
You must be signed in to change notification settings - Fork 0
Basic mirroring tool #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Sorry, had failed to watch this repo before -- have done so now. |
| } | ||
|
|
||
| // and size (impossible if hash is correct, but should make us distrust the data) | ||
| if p.attachment.size != bytes.len() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is impossible, why are we doing it? What do you mean by "should make us distrust the data"? If we want to do both, should we check size first?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just maintaining healthy distrust of the upstream data, rather than doing garbage-in/garbage-out.
93c8414 to
c64a93c
Compare
This fetches filters from Mozilla's preferences backend, and then packages them into a simplified format (directory of files, plus a JSON manifest).
No description provided.