Closed
Bug 977366
Opened 10 years ago
Closed 10 years ago
Allow 'make node_modules' to optionally use the git.mozilla mirror
Categories
(Firefox OS Graveyard :: Gaia, defect)
Firefox OS Graveyard
Gaia
Tracking
(b2g-v1.3T fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
b2g-v1.3T | --- | fixed |
People
(Reporter: jgriffin, Assigned: jgriffin)
References
Details
Attachments
(1 file)
We've set up a git.mozilla.org mirror of https://github.com/mozilla-b2g/gaia-node-modules for use in TBPL; we should update 'make node_modules' so that it optionally uses this, probably based on an ENV variable.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8382639 -
Flags: review?(gaye)
Comment 2•10 years ago
|
||
Comment on attachment 8382639 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/16678 Sending review over to Kevin because I am scared of bash and make (and he did this : )
Attachment #8382639 -
Flags: review?(gaye) → review?(kgrandon)
Comment 3•10 years ago
|
||
Comment on attachment 8382639 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/16678 I do wish we had tarball support which would make this a bit cleaner. Should be good for now, thanks!
Attachment #8382639 -
Flags: review?(kgrandon) → review+
Comment 4•10 years ago
|
||
I added a bunch of comments. More generally, I think someone (probably Yuren and :ochameau) is owning the Makefile and should do the reviews for the Makefile.
Comment 5•10 years ago
|
||
Comment on attachment 8382639 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/16678 Right, that's probably true. Yuren should probably review this. Thanks!
Attachment #8382639 -
Flags: review+ → review?(yurenju.mozilla)
Comment 6•10 years ago
|
||
Comment on attachment 8382639 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/16678 Makefile rule |modules.tar| should be used to produce modules.tar file, so we shouldn't add |git clone| on rule modules.tar. I suggest use |?=| define NODE_MODES_SRC with default value "modules.tar" and use a if condition to decide download tar or clone from a git server here is a sample for it https://gist.github.com/yurenju/9319829 make sure you have an integration test case to verify it. https://github.com/mozilla-b2g/gaia/blob/master/build/test/integration/build.test.js
Attachment #8382639 -
Flags: review?(yurenju.mozilla)
Comment 7•10 years ago
|
||
you can use |make build-test-integration| to run it.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jgriffin
Assignee | ||
Comment 8•10 years ago
|
||
Comment on attachment 8382639 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/16678 Review comments addressed, tests added!
Attachment #8382639 -
Flags: review?(yurenju.mozilla)
Comment 9•10 years ago
|
||
Comment on attachment 8382639 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/16678 that's great, thank you! :D
Attachment #8382639 -
Flags: review?(yurenju.mozilla) → review+
Assignee | ||
Comment 10•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/66101d5a3c8bbb269966cb1c59ac7464f46657ba
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 11•10 years ago
|
||
v1.3t uplift https://github.com/mozilla-b2g/gaia/commit/d47f74b7284ef58170c19a2afe1f7825c41898ad
status-b2g-v1.3T:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•