[Fedora-packaging] Source0 for github ?

Orion Poplawski orion at cora.nwra.com
Fri Sep 19 03:37:39 UTC 2014


On 09/17/2014 12:07 PM, Simo Sorce 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.
>
> Simo.
>
>

Has anyone talked to github about it?

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the packaging mailing list