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)

x86_64
Linux
defect
Not set
normal

Tracking

(b2g-v2.2 fixed, b2g-master fixed)

RESOLVED FIXED
2.2 S9 (3apr)
Tracking Status
b2g-v2.2 --- fixed
b2g-master --- fixed

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 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)
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)
(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 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+
I fixed the comment :) I'll wait for Alexandre to test this on Windows before landing.
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
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Waiting for a try run for uplift.
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.
Target Milestone: --- → 2.2 S9 (3apr)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: