Confirmed users
429
edits
Ricky Chien (talk | contribs) |
Ricky Chien (talk | contribs) |
||
| (45 intermediate revisions by 2 users not shown) | |||
| Line 21: | Line 21: | ||
* '''Developer:''' | * '''Developer:''' | ||
** Ricky (MoCoTPE | ** Ricky Chien (MoCoTPE) | ||
** | ** Scott Wu (MoCoTPE) | ||
* '''Total expected schedule:''' 18 - 22 weeks (5 months) | * '''Total expected schedule:''' 18 - 22 weeks (5 months) | ||
| Line 33: | Line 33: | ||
* '''Expected schedule:''' 2 week | * '''Expected schedule:''' 2 week | ||
* '''Breakdowns:''' | * '''Breakdowns:''' | ||
<bugzilla> | |||
{ | |||
"id": "1131469, 1207073", | |||
"include_fields": "id, summary, priority, assigned_to, status, resolution" | |||
} | |||
</bugzilla> | |||
== Milestone 1 == | == Milestone 1 == | ||
| Line 43: | Line 48: | ||
* '''Expected schedule:''' 4 - 6 weeks | * '''Expected schedule:''' 4 - 6 weeks | ||
* '''Breakdowns:''' | * '''Breakdowns:''' | ||
<bugzilla> | |||
{ | |||
"id": "955988, 1130934, 955989, 1131468, 1131496, 1131497, 1131499, 1131500, 1131501, 1131502, 1131503, 1131504, 1131505, 1131506, 1131510, 1131511, 1131512, 1131513, 1131514, 1131515, 1131516, 1131517, 1131518, 955994, 1131519, 1131521, 1131522, 1131524, 955996, 955997, 955998, 1131526, 955999, 1131527, 1138773, 1131471, 1240678, 1240740, 1242326, 1242327, 1243351", | |||
"include_fields": "id, summary, priority, assigned_to, status, resolution" | |||
} | |||
</bugzilla> | |||
<!-- | |||
== Milestone 2 == | == Milestone 2 == | ||
| Line 86: | Line 64: | ||
** Keep tracking build system status and fix any regression. | ** Keep tracking build system status and fix any regression. | ||
** Bug ? - Turn on node build script by default | ** Bug ? - Turn on node build script by default | ||
* Backlog: | |||
** Bug ? - Refactor utils-node.js API and remove utils-xpc.js and utils.js | ** Bug ? - Refactor utils-node.js API and remove utils-xpc.js and utils.js | ||
** Bug ? - Refactor all build/*.js to conform to node-style | ** Bug ? - Refactor all build/*.js to conform to node-style | ||
--> | |||
= Q & A = | = Q & A = | ||
| Line 152: | Line 113: | ||
In short, targeting io.js is not the scope of the current plan. | In short, targeting io.js is not the scope of the current plan. | ||
== File dependency resolution to improve incremental build == | |||
It would work by using existed gulp plugins (ex: gulp-resolve-dependencies) or adding new feature into plugins. | |||
== Task dependency and parallel build == | |||
Gulp is not as much convenience as Makefile and doesn't support parallel building natively. Therefore, although plugins could help us build up a same parallel architecture of our current build system, it’s hard to split every task into dependency tree to take full advantage of multi-core CPU (like "make -j8"). | |||
== If we decide to build up our build system by GNU Make tool chain, considering to split up every task into small tasks would be very hard to implement. Furthermore, splitting into many small tasks mean that you have to deal with more I/O operations because you need to write more temporary file for communicating within each task, such thing will slow down performance == | |||
It would work by condition plugins for instance gulp-if, gulp-filter, gulp-ignore…, but introducing these plugins mean that lots of condition logic will pollute inside gulpfile.js. (Can we solve this problem in GNU make tool chain?) | |||
Repack zip could be achieved by adding a new feature in gulp-zip (Issue is filed [https://github.com/sindresorhus/gulp-zip/issues/45 gulp-zip/issues/45]) and customize [https://www.npmjs.com/package/gulp-changed#haschanged hasChanged] comparator callback. | |||