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)
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.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → acperez
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #788867 -
Flags: review?(timdream)
Comment 2•11 years ago
|
||
Comment on attachment 788867 [details]
Patch
I suppose this script is based on preload.py?
Attachment #788867 -
Flags: review?(timdream) → review?(yurenju.mozilla)
Comment 3•11 years ago
|
||
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+
Assignee | ||
Comment 4•11 years ago
|
||
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.
Comment 5•11 years ago
|
||
read the code for setting installOrigin, looks good.
Assignee | ||
Comment 6•11 years ago
|
||
Master: hash 2103069858e9d34d127760319fd66b42ef6f7237
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•