On Wed, 17 Sep 2014 11:54:04 -0700
Toshio Kuratomi <a.badger(a)gmail.com> wrote:
On Sep 17, 2014 11:07 AM, "Simo Sorce"
<ssorce(a)redhat.com> wrote:
>
>
> I was looking at this:
>
https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL...
>
> 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}.t...
> 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.
>
Github has changed this several times :-( if the old url scheme is
not working any longer the guidelines should be updated. Fpc ticket
is probably best for that. From your description of what urls work,
I'm not sure if there's a good recommendation for a github url in
source0 (have to test the permutations to see). Might have to go back
to putting the url in a comment.
I tried a few permutations and none with $PROJECT-%{commit}.tar.gz
worked ...
What should be put in the fpc ticket ?
Simo.
(sorry for the dup Toshio, I am resending with the address subscribed
to the list)
--
Simo Sorce * Red Hat, Inc * New York