Closed
Bug 1181787
Opened 9 years ago
Closed 9 years ago
Write nodejs parser / transformer for things declared in apps' main html files
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gaye, Assigned: gaye)
References
Details
Attachments
(1 file, 4 obsolete files)
We have this terrible thing right now in gaia where apps can link (in html) to resources in shared/ and automagically have them included in their build directories. We also have to be able to rewrite apps' main html files with localized strings. We can write a little thing that runs on nodejs (perhaps with jsdom) to handle these html parsing and transformation tasks.
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8631725 -
Flags: feedback?(rchien)
Attachment #8631725 -
Flags: feedback?(gweng)
Attachment #8631725 -
Flags: feedback?(eperelman)
Attachment #8631725 -
Flags: feedback?(aus)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → gaye
Comment 3•9 years ago
|
||
Comment on attachment 8631725 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/30899
Looks pretty good to me. Comments and concerns in the pull request itself. :)
Attachment #8631725 -
Flags: feedback?(aus) → feedback+
Comment 4•9 years ago
|
||
Comment on attachment 8631725 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/30899
No major concerns from me, just stylistic questions. :)
Attachment #8631725 -
Flags: feedback?(eperelman) → feedback+
Comment 5•9 years ago
|
||
Comment on attachment 8631725 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/30899
Concerns are leaved in Github =)
Attachment #8631725 -
Flags: feedback?(rchien) → feedback+
Comment 6•9 years ago
|
||
Gareth & Aus,
I'm still wondering your feedback from my email.
Hopefully you could give me some advices of the plan ((https://wiki.mozilla.org/Gaia/Build/NewBuildSystem) and then we could have an clear integration plan before implementing this tool! =)
Flags: needinfo?(gaye)
Flags: needinfo?(aus)
Comment 7•9 years ago
|
||
Hi Ricky, both of us will get back to you today on this.
Flags: needinfo?(aus)
Assignee | ||
Comment 8•9 years ago
|
||
First part landed on master! https://github.com/mozilla-b2g/gaia/commit/acf8597905dc1e4a3b2a9535eeb36827d58c56dc
Flags: needinfo?(gaye)
Comment 9•9 years ago
|
||
Oh I think it's landed too quick and we can wait for greg's options and then set r? to us again.
Flags: needinfo?(gaye)
Comment 10•9 years ago
|
||
I believe no matter I have opinions or not, a review is necessary for landing patches. Although I actually left some on PR, which are mostly nits and needs of comments. And since I'm not a owner/peer of build system, feel free to discuss these with Ricky at the review process. Thanks!
Updated•9 years ago
|
Attachment #8631725 -
Flags: feedback?(gweng) → feedback+
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
Revert https://github.com/mozilla-b2g/gaia/commit/65d25f459f400a29e0e230539409d109505c8e25
Sorry Gareth, I reverted this patch because I want to know why it is landed in tools/ instead of becoming a NPM module. And another one problem is there are still some nits leaved on Github but doesn't fix so please fix these nits first and set r? again. Thanks =)
Assignee | ||
Comment 13•9 years ago
|
||
(In reply to Ricky Chien [:rickychien] from comment #12)
> Revert
> https://github.com/mozilla-b2g/gaia/commit/
> 65d25f459f400a29e0e230539409d109505c8e25
>
> Sorry Gareth, I reverted this patch because I want to know why it is landed
> in tools/ instead of becoming a NPM module. And another one problem is there
> are still some nits leaved on Github but doesn't fix so please fix these
> nits first and set r? again. Thanks =)
It is an npm module by virtue of the fact that it has a package.json. We're moving away from the model where we have a separate repo for each module. Try to think of repositories and packages orthogonally.
Flags: needinfo?(gaye)
Comment 14•9 years ago
|
||
Assignee | ||
Comment 15•9 years ago
|
||
Attachment #8631724 -
Attachment is obsolete: true
Attachment #8631725 -
Attachment is obsolete: true
Attachment #8635119 -
Attachment is obsolete: true
Attachment #8636229 -
Attachment is obsolete: true
Attachment #8636230 -
Flags: review?(rchien)
Comment 16•9 years ago
|
||
Comment on attachment 8636230 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/31045
r+ I saw Github comments have been fixed.
Attachment #8636230 -
Flags: review?(rchien) → review+
Comment 17•9 years ago
|
||
I still want to see this land in Gaia and also publish to NPM server for our gaia-playground experiment. Finally, remember to land this patch =)
Flags: needinfo?(gaye)
Assignee | ||
Comment 18•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(gaye)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•