Closed brikis98 closed 8 years ago
@josh-padnick I think you're out at a conference today, so I'm going to merge to unblock myself. Please review when you get back.
This is still queued up for my review, but I wanted the record to reflect it closes https://github.com/gruntwork-io/fetch/issues/7 and https://github.com/gruntwork-io/fetch/issues/9.
This PR allows fetch to download not only source files from GitHub repos, but also binary files from GitHub releases. It’s easy to download a release asset from a public repo, as you can just
wget
the URL, but for private repos, it’s a confusing, painful, multi-step process that involves making several API calls. There is an SO thread about it which would probably love to hear thatfetch
makes this an easy one-step process.As part of this PR, I’ve also made a few other tweaks:
--source-path
option.--release-asset
option.