Closed
Bug 1148791
Opened 11 years ago
Closed 11 years ago
[Build] Cache the result of downloading modules.tar
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(b2g-v2.2 fixed, b2g-master fixed)
RESOLVED
FIXED
2.2 S9 (3apr)
People
(Reporter: julienw, Assigned: julienw)
Details
Attachments
(2 files)
When moving between branches, or even between revisions, we need to download and redownload modules.tar all the time.
Comment 1•11 years ago
|
||
| Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 8585060 [details] [review]
[gaia] julienw:keep-cache-for-modules.tar > mozilla-b2g:master
Hey Ricky,
tell me what you think.
I tried moving back and forth in master timeline with the patch, and it seems to work fine. I also tried to move back and forth with versions without the patch and it works fine as well.
Attachment #8585060 -
Flags: review?(ricky060709)
| Assignee | ||
Comment 3•11 years ago
|
||
I'd need someone to test on MacOS X and Windows too.
NI Alexandre who could try on Windows and Etienne on MacOS X. I'd especially like to know whether "rm -rf node_modules && make node_modules" correctly downloads and install the node_modules directory.
Assignee: nobody → felash
Flags: needinfo?(poirot.alex)
Flags: needinfo?(etienne)
Comment 4•11 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #3)
> I'd need someone to test on MacOS X and Windows too.
>
> NI Alexandre who could try on Windows and Etienne on MacOS X. I'd especially
> like to know whether "rm -rf node_modules && make node_modules" correctly
> downloads and install the node_modules directory.
It does on yosemite.
Flags: needinfo?(etienne)
Comment 5•11 years ago
|
||
Comment on attachment 8585060 [details] [review]
[gaia] julienw:keep-cache-for-modules.tar > mozilla-b2g:master
Great job julien!! I verified it on Mac and it worked on my machine. r+ for this patch, I leaved a nit on Github so please fix it before landing thanks!
Attachment #8585060 -
Flags: review?(ricky060709) → review+
| Assignee | ||
Comment 6•11 years ago
|
||
I fixed the comment :) I'll wait for Alexandre to test this on Windows before landing.
| Assignee | ||
Comment 7•11 years ago
|
||
I checked with Alexandre and this is broken in the same way with/without this patch on Windows :)
The issue is that the downloaded tar contains symbolic links. But this is a separate bug.
Flags: needinfo?(poirot.alex)
Keywords: checkin-needed
Updated•11 years ago
|
Keywords: checkin-needed
Comment 8•11 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/77f55aa5f7447e5515b99aacb17cf9be300f182a
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 9•11 years ago
|
||
| Assignee | ||
Comment 10•11 years ago
|
||
Waiting for a try run for uplift.
| Assignee | ||
Comment 11•11 years ago
|
||
Some tests failed but I'll assume this is "normal". All build tests passed.
a=npotb
uplifted to v2.2: 3ee276bd8ede9752054450a30546e7ecbddc6f17
Please backout if there is any issue.
status-b2g-v2.2:
--- → fixed
status-b2g-master:
--- → fixed
Updated•11 years ago
|
Target Milestone: --- → 2.2 S9 (3apr)
You need to log in
before you can comment on or make changes to this bug.
Description
•