Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only upload updated package metadata #3

Open
jbuck opened this issue Dec 10, 2013 · 0 comments
Open

Only upload updated package metadata #3

jbuck opened this issue Dec 10, 2013 · 0 comments

Comments

@jbuck
Copy link
Owner

jbuck commented Dec 10, 2013

{ id: 'lightjs', add: [], remove: [] }
PUT https://npm-readonly-mirror.s3.amazonaws.com/lightjs/0.0.1 returned HTTP 200
PUT https://npm-readonly-mirror.s3.amazonaws.com/lightjs returned HTTP 200
PUT https://npm-readonly-mirror.s3.amazonaws.com/lightjs/0.0.2 returned HTTP 200
PUT https://npm-readonly-mirror.s3.amazonaws.com/lightjs/0.0.0 returned HTTP 200
PUT https://npm-readonly-mirror.s3.amazonaws.com/lightjs/latest returned HTTP 200
PUT https://npm-readonly-mirror.s3.amazonaws.com/lightjs/0.0.3 returned HTTP 200
processed {"seq":833270,"id":"lightjs","changes":[{"rev":"62-73ebf744e14870be4857718e887d3c57"}],"retry_count":0}

When a package is updated we have the source and sink versions available to compare. If a versions metadata hasn't been updated, then we don't need to upload it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant