Closed Bug 904004 Opened 11 years ago Closed 11 years ago

[Single Variant] Manage custom single variant apps

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: albert, Assigned: albert)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

Create JSON parser for single variant applications at built time. Given the JSON defined in bug 899079 that defines the custom applications for some operators depending on the MCC / MNC, create a parser able to: - For each application download the minimanifest. - Check if the application is stored in the distribution folder. - If download fails, use the stored application. - If it is stored, check if remote manifest has changed. If so, download again the application, else use the stored one. - If the application is not stored, download it.
Blocks: 904005
Blocks: 904006
Blocks: 899079
Assignee: nobody → acperez
Attached file Patch (deleted) —
Attachment #788867 - Flags: review?(timdream)
Comment on attachment 788867 [details] Patch I suppose this script is based on preload.py?
Attachment #788867 - Flags: review?(timdream) → review?(yurenju.mozilla)
Comment on attachment 788867 [details] Patch Looks good for me if issues I mentioned on github are fixed. good job Albert! it comes more clear than preload.py! :-)
Attachment #788867 - Flags: review?(yurenju.mozilla) → review+
Thanks yuren. I updated the patch because the installOrigin for hosted apps was taken from the manifestURL, but it can be different. Now, for hosted apps, is mandatory to include it in the JSON config file.
read the code for setting installOrigin, looks good.
Master: hash 2103069858e9d34d127760319fd66b42ef6f7237
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Planning to track against bug 899079 for testing.
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: