Closed
Bug 977366
Opened 11 years ago
Closed 11 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•11 years ago
|
||
Attachment #8382639 -
Flags: review?(gaye)
Comment 2•11 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•11 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•11 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•11 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•11 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•11 years ago
|
||
you can use |make build-test-integration| to run it.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jgriffin
Assignee | ||
Comment 8•11 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•11 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•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 11•11 years ago
|
||
status-b2g-v1.3T:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•