Closed
Bug 970748
Opened 10 years ago
Closed 9 years ago
rewrite optimizejar.py in javascript
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: yurenju, Assigned: gduan)
References
Details
we get optimizejar.py to reorder file structure in zip for optimization but we should have js version of optimizejar.py for master branch.
Comment 1•10 years ago
|
||
BTW, the python version of that program is actually the 2nd version. I wrote the original version in C, and it might be easier to understand. https://bug552121.bugzilla.mozilla.org/attachment.cgi?id=432276 That version doesn't have a special optimization that puts a readahead size in front of the zip though. But, it's available as a reference in case it could be helpful.
Reporter | ||
Comment 2•10 years ago
|
||
cool and we should try to migrate optimizejar.[py|js] to webapp-zip.js then we don't have second pass to optimizejar.
Reporter | ||
Comment 3•10 years ago
|
||
it would be better if log files are moved to $APP/build/.
Reporter | ||
Updated•10 years ago
|
Component: Gaia → Gaia::Build
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → gduan
Assignee | ||
Comment 5•9 years ago
|
||
feel free to reopen and take it if anyone is interest. the challenge here is js doesn't support python nor c native api well, so it requires xpcom's magic api to handle it. It requires more time to implement it, and it's not so urgent for now.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(gduan)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•