gruntwork-io / fetch

Download files, folders, and release assets from a specific git commit, branch, or tag of public and private GitHub repos.
https://www.gruntwork.io/
MIT License
588 stars 90 forks source link

In some cases, files downloaded but with empty content. #2

Closed josh-padnick closed 8 years ago

josh-padnick commented 8 years ago

Given the following:

./fetch --repo="https://github.com/gruntwork-io/packer-modules" --tag="0.0.1" --github-oauth-token="<igthub-auth-token" /modules/base/ubuntu1604 /tmp/packer-modules/base/ubuntu1604

The output is as follows:

$ ls -al /tmp/packer-modules/base/ubuntu1604/
total 0
drwxr-xr-x  4 josh  wheel  136 Apr 27 13:49 .
drwxr-xr-x  3 josh  wheel  102 Apr 27 13:49 ..
-rw-r--r--  1 josh  wheel    0 Apr 27 13:49 README.md
-rw-r--r--  1 josh  wheel    0 Apr 27 13:49 ubuntu1604.sh

Note that ubuntu1604.sh should not have size 0.