Closed Bug 960192 Opened 10 years ago Closed 10 years ago

[npm-mirror] Stage commits to the mirror's package repository

Categories

(Testing Graveyard :: JSMarionette, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gaye, Assigned: gaye)

Details

Right now npm-mirror downloads all packages directly from npmjs.org to the fs location from which they're served. When downloads are bad (for instance when npmjs.org is having issues), data is sometimes getting corrupted.

To solve this problem, we should download mirror deltas to a temporary location, do shasum checks for each of the downloaded packages, and merge them into the location from which they'll be served if (and only if) the shasum check passes.

https://github.com/mozilla-b2g/npm-mirror/issues/19
Assignee: nobody → gaye
https://github.com/mozilla-b2g/npm-mirror/commit/233e5c12d43bbebb31fd39b514167b4f3f949c61
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.