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).
Checklist
Affected core subsystem(s)
install
Description of change
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).