On Wed, 17 Sep 2014 14:07:20 -0400 Simo Sorce <ssorce@xxxxxxxxxx> wrote: > > I was looking at this: > https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github > > But it doesn't look like the URL constructed with these instructions > lead to a download-able tarball. > I guess Github has changed things again, is there any new guideline > for Github Sources ? > > What I can see is that while this: > https://github.com/$OWNER/$PROJECT/archive/%{commit}/$PROJECT-%{commit}.tar.gz > does not work, this: > https://github.com/$OWNER/$PROJECT/archive/%{commit}.tar.gz > works, and the content headers tell the browser that the file name > should be $PROJECT-%{commit}.tar.gz > > Any direction would be appreciated. Also FWIW https://github.com/$OWNER/$PROJECT/archive/%{commit}.tar.gz gives a 302 and redirects to: https://codeload.github.com/$OWNER/$PROJECT/tar.gz/%{commit} The Content-Disposition header then is: "attachment; filename=$PROJECT-%{commit}.tar.gz" Simo. -- Simo Sorce * Red Hat, Inc * New York -- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/packaging