alexanderGugel / ied

:package: Like npm, but faster - an alternative package manager for Node
http://alexandergugel.github.io/ied
MIT License
1.99k stars 53 forks source link

Refactor hosted resolve to support multiple providers, add bitbucket … #146

Closed mgcrea closed 8 years ago

mgcrea commented 8 years ago
Checklist

Refactored github support to be more generic. Dropped the specific GitHub API call to fetch a commit hash associated with a branch to prevent dealing with rejections (too many requests).

Instead, I directly hashed the given directUrl from npa. We loose auto commit-tracking (must rm -rf and reinstall since hash won't change while content might) but we get an easier broader support (bitbucket and basically any host that provides tarballs).

alexanderGugel commented 8 years ago

Yes, this makes sense.