Closed Bug 1719560 Opened 3 years ago Closed 2 years ago

Collect last_modified values for all RemoteSettings dumps in last_modified.json

Categories

(Firefox :: Remote Settings Client, task)

task
Points:
2

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: robwu, Assigned: leplatrem)

References

Details

Attachments

(1 file, 2 obsolete files)

Currently, there is no central place where a RemoteSettings dump can be registered.
A dump is only packaged with Firefox if all of the following conditions are true:

In bug 1717068 it became apparent that there is a need for a central registry that summarizes metadata for all JSON dumps (specifically the last_modified timestamps of all dumps). To get the prototype working, I hardcoded the specific use case in a build script, but to support the general case (bug 1718083) and reduce the maintenance burden, the build script should use the same set of files that are registered in moz.build.

The build script should also account for the target-specific conditionals from package-manifest.in. This can be done by either moving the target-specific conditions to moz.build, or by somehow applying the rules from package-manifest.in to the list of files from moz.build.

See Also: → 1734462
Points: --- → 2

This bug is supposed to be used for addressing the issue in a generic way. Please file a new bug (feel free to link it to this bug) if you want to include specific dumps. And unit tests would be nice, to verify that the behavior works as desired.

Flags: needinfo?(gbeckley)

Hey Rob. Sorry for this noise. -- [:leplatrem] and I were using this bug as an example of how to contribute to Firefox, so we only pushed a draft version of a patch for this bug to get me used to the development workflow. I do intend to flesh this out to make the solution generic and add a test or tests as necessary.

Flags: needinfo?(gbeckley)
Assignee: rob → mathieu
Attachment #9269853 - Attachment is obsolete: true
Pushed by mleplatre@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6e11829eec98
Collect timestamps for all collections r=robwu
Pushed by mleplatre@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/63407a7e0e90
Collect timestamps for all collections r=robwu
Pushed by mleplatre@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0203682dddbe
Collect timestamps for all collections r=robwu
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
Flags: needinfo?(mathieu)
Attachment #9262118 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: