Gaia/Build/Roadmap

< Gaia‎ | Build

Gaia build system meeting note

First half of 2014

Since we found build scripts still isn’t easy to modify on bug 964216 and had bug 897352 for copying all apps into build_stage/ directory, we should consider refactoring build system to get clearer build process. please get more information on Gaia/Build/Refactoring Plan

Second half of 2014

we almost have done all refactoring work in first half of 2014. For second half, our goal is enable building gaia by firefox extension and add test case for it to ensure it won't be broken again.

  • Follow-up refactoring
    • bug 1010095 - [Build] extract |getImagePathByResolution| and |isExcludedFromZip| from webapp-zip to another rule |post-process|
    • bug 987487 - [Gaia] [Build] Refactoring webapp-optimize.js and unit tests
    • bug 1015041 - Migrate code for pseudo localization from l10n.js to multilocale.js
  • Features & Enhancement
    • bug 1022516 - Re-enable gaia-build extension
      • bug 1021051 - Merge build script for a faster build system
      • bug 1021569 - rewrite clear-stage-app in javascript
      • bug 1017490 - rewrite clock build script in javascript
      • bug 1028085 - rewrite Makefile of camera app in javascript
      • bug 1029959 - remove Makefile of findmydevice
      • bug 1029966 - rewrite settings build script in javascript
      • bug 1029967 - rewrite Makefile in email app in javascript
      • bug 1053703 - Merge pre-app.js, app.js and post-app.js to one javascript file
    • bug 1019058 - Incremental build for single app is slow
    • bug 1021481 - Handle app:// protocol for DEBUG=1 mode
    • bug 969215 - execute |make| should only build specific apps we modified
    • bug 1041463 - Include a shared CSS file with @import rule
    • bug 1070442 - Support building gaia apps in parallel

2015

Refactoring Build System to Node.js

https://wiki.mozilla.org/Gaia/Build/RefactoringToNodejs

Refactoring

Bugzilla query error

Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 502 [1] => Bad Gateway ) ) 1

Performance

Full Query
ID Summary Assigned to Status Resolution
1108946 Improve the speed of webapp-zip.js RESOLVED WONTFIX
1108955 Improve the speed of build_stage RESOLVED FIXED
1113464 Improve the speed of rebuild Ricky Chien [:rickychien] (inactive) RESOLVED WONTFIX

3 Total; 0 Open (0%); 3 Resolved (100%); 0 Verified (0%);

Feature

Full Query
ID Summary Assigned to Status Resolution
1101387 [Build] New makefile target to create the "gaia.zip" (Inactive after June) George Duan [:gduan] [:喬智] RESOLVED FIXED
1101388 [Build] Add the flash script for "gaia.zip" RESOLVED WONTFIX
1108947 Get rid of DEBUG mode and httpd server RESOLVED WONTFIX

3 Total; 0 Open (0%); 3 Resolved (100%); 0 Verified (0%);

Stabilization

Bugzilla query error

Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 502 [1] => Bad Gateway ) ) 1


Backlog

  • bug 970748 - rewrite optimizejar.py in javascript
  • Run build script on node.js

Related issues