Closed Bug 1195650 Opened 9 years ago Closed 8 years ago

Cache downloaded builds

Categories

(Firefox OS Graveyard :: B2gInstaller, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: daleharvey, Unassigned, Mentored)

References

Details

(Whiteboard: [lang=js])

Attachments

(1 file)

For when people need to reflash, mostly it is annoying as I am testing to switch urls to my localhost as well
(In reply to Dale Harvey (:daleharvey) from comment #0) > For when people need to reflash, mostly it is annoying as I am testing to > switch urls to my localhost as well We should make sure we have the latest zip though: if people are selecting a nightly, I suspect they expect to re-download and overwrite? E-Tag might be enough, or we add some cheksum ?
Flags: needinfo?(dale)
Yup, I dont think its super crucial, it was mostly for me when I kept reflashing the same image. I cant seem to do a HEAD requests though $ curl -X HEAD https://index.taskcluster.net/v1/task/gecko.v1.mozilla-central.latest.linux.aries-eng.opt/artifacts/public/build/aries.blobfree-dist.zip so may be more effort than its worth
Flags: needinfo?(dale)
Attached file curl head (deleted) —
Looks like we can do something in fact. I suggest that we: - check if in b2g installer directory we have a file name matching the one from the build url - if so, compute MD5 - send that with proper headers in XHR
Mentor: lissyx+mozillians
Whiteboard: [lang=js]
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: