Confirmed users
429
edits
Ricky Chien (talk | contribs) (→Q & A) |
Ricky Chien (talk | contribs) (→Q & A) |
||
| Line 98: | Line 98: | ||
* Which Gaia components rely on b2g_sdk? | * Which Gaia components rely on b2g_sdk? | ||
: b2g_sdk run on ... | : b2g_sdk run on ... | ||
| Line 105: | Line 106: | ||
:* '''Running marionette integration test (must)''' | :* '''Running marionette integration test (must)''' | ||
All of the above can be replaced with node.js smoothly except marionette test. Since marionette must be run on b2g simulator, it's impossible to remove from our dependency. However, we're not necessary to download a b2g_sdk package if someone do not execute marionette test. | : All of the above can be replaced with node.js smoothly except marionette test. Since marionette must be run on b2g simulator, it's impossible to remove from our dependency. However, we're not necessary to download a b2g_sdk package if someone do not execute marionette test. | ||
* WebIDE is trying to make developing Gaia more easily by clicking a button without any command line tricks. It triggers building process by invoking "make" currently. In XULRunner build system, after rewriting Makefile to pure JS module to take over it's job, WebIDE can build Gaia without any dependencies. (such as make and node) | * WebIDE is trying to make developing Gaia more easily by clicking a button without any command line tricks. It triggers building process by invoking "make" currently. In XULRunner build system, after rewriting Makefile to pure JS module to take over it's job, WebIDE can build Gaia without any dependencies. (such as make and node) | ||
: For node build system, requiring [http://nodejs.org/ Node.js] may be a little bit inconvenient. However, it won't frustrate many users to get started with hacking Gaia since Node provides a great installer for all platforms. After [http://nodejs.org/ Node.js] installed, we can build up new features quickly by NPM and also speed up rewriting Makefile to pure JS. On the other hand, try to rewrite Makefile from scratch in XULRunner seems not so easy. I'm pretty sure and still believe that NPM ecosystem will bring lots of benefits more than XULRunner. | : For node build system, requiring [http://nodejs.org/ Node.js] may be a little bit inconvenient. However, it won't frustrate many users to get started with hacking Gaia since Node provides a great installer for all platforms. After [http://nodejs.org/ Node.js] installed, we can build up new features quickly by NPM and also speed up rewriting Makefile to pure JS. On the other hand, try to rewrite Makefile from scratch in XULRunner seems not so easy. I'm pretty sure and still believe that NPM ecosystem will bring lots of benefits more than XULRunner. | ||
| Line 113: | Line 116: | ||
* Treeherder or some countries have network issues when pulling packages from NPM. | * Treeherder or some countries have network issues when pulling packages from NPM. | ||
: It should work if we keep hosting our gaia-node-modules mirror to solve such situation. | : It should work if we keep hosting our gaia-node-modules mirror to solve such situation. | ||
| Line 118: | Line 122: | ||
* In stage 2, buildbot should pre-install proper command tools (node.js, gulp) if we decide to use gulp.js | * In stage 2, buildbot should pre-install proper command tools (node.js, gulp) if we decide to use gulp.js | ||
: Buildbot has already installed node environment except gulp. We can pre-install gulp -g in buildbot, or download gulp while first time build then launch it by relative path. | : Buildbot has already installed node environment except gulp. We can pre-install gulp -g in buildbot, or download gulp while first time build then launch it by relative path. | ||