First, why is it that the link on the front page doesn't point to the right place, instead of giving me a 302?
`
$ wget
https://github.com/zenphoto/zenphoto/archive/Zenphoto-1.4.4.tar.gz--2013-01-16 22:58:20--
https://github.com/zenphoto/zenphoto/archive/Zenphoto-1.4.4.tar.gzResolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location:
https://nodeload.github.com/zenphoto/zenphoto/tar.gz/Zenphoto-1.4.4 [following]
--2013-01-16 22:58:21--
https://nodeload.github.com/zenphoto/zenphoto/tar.gz/Zenphoto-1.4.4Resolving nodeload.github.com... 207.97.227.252
Connecting to nodeload.github.com|207.97.227.252|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8847516 (8.4M) [application/x-gzip]
Saving to: Zenphoto-1.4.4
...
`
Second, why does the redirected URL not have a file extension that would allow this to work?
`
$ file Zenphoto-1.4.4
Zenphoto-1.4.4: gzip compressed data, from Unix
$ gunzip Zenphoto-1.4.4
gunzip: Zenphoto-1.4.4: unknown suffix -- ignored
$ mv Zenphoto-1.4.4 Zenphoto-1.4.4.gz
$ gunzip Zenphoto-1.4.4.gz
$ cd Zenphoto-1.4.4
-bash: cd: Zenphoto-1.4.4: Not a directory
$ file Zenphoto-1.4.4
Zenphoto-1.4.4: tar archive
$ tar -x Zenphoto-1.4.4
`
And tar just hangs there, forever, probably also balking at the wrong extension but too dumb to tell me. I finally cancelled it. I will try the ZIP version. I don't understand what is going on here. I can't be the only one?
Comments
`wget`: http://stackoverflow.com/questions/8377081/github-api-download-zip-or-tarball-link
`curl`: http://stackoverflow.com/questions/5746325/how-do-i-download-a-tarball-from-github-using-curl