-
Notifications
You must be signed in to change notification settings - Fork 229
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
Remote Settings: store full changesets instead of just records #6517
Remote Settings: store full changesets instead of just records #6517
Conversation
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.
Looks like the right direction to me, thanks for working on this one.
cbeee6b
to
68c8951
Compare
dca1f28
to
f8ead0e
Compare
f8ead0e
to
89d95d2
Compare
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.
Just some comments, looks good!
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 looks great to me. The one remaining issue is the database migration. I'll try to put up a PR one soon so that you can use it to base your work off.
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 looks great to me, are we ready to merge?
@@ -27,7 +27,7 @@ CREATE TABLE IF NOT EXISTS attachments ( | |||
data BLOB NOT NULL); | |||
CREATE TABLE IF NOT EXISTS collection_metadata ( | |||
collection_url TEXT PRIMARY KEY, | |||
last_modified INTEGER); | |||
last_modified INTEGER, bucket TEXT, signature TEXT, x5u TEXT); |
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.
Sorry you needed to format it like this to make the migration test work.
Yes! I'll squash the commits and merge 👌 |
9450391
to
80ea542
Compare
80ea542
to
caa8fc6
Compare
In order to prepare the work of signature verification, where we want to be able to assess data integrity/authenticity, we need to store collection metadata and timestamps.
Also, this PR fixes an issue where the timestamp was wrong in certain cases (empty collections, tombstones, etc.)
It is an internal change that does not require a CHANGELOG entry.
Pull Request checklist
[ci full]
to the PR title.Branch builds: add
[firefox-android: branch-name]
to the PR title.