<p dir="ltr"><br>
On Sep 17, 2014 11:07 AM, &quot;Simo Sorce&quot; &lt;<a href="mailto:ssorce@redhat.com">ssorce@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; I was looking at this:<br>
&gt; <a href="https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github">https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github</a><br>
&gt;<br>
&gt; But it doesn&#39;t look like the URL constructed with these instructions<br>
&gt; lead to a download-able tarball.<br>
&gt; I guess Github has changed things again, is there any new guideline for<br>
&gt; Github Sources ?<br>
&gt;<br>
&gt; What I can see is that while this:<br>
&gt; <a href="https://github.com/$OWNER/$PROJECT/archive/%{commit}/$PROJECT-%{commit}.tar.gz">https://github.com/$OWNER/$PROJECT/archive/%{commit}/$PROJECT-%{commit}.tar.gz</a><br>
&gt; does not work, this:<br>
&gt; <a href="https://github.com/$OWNER/$PROJECT/archive/%{commit}.tar.gz">https://github.com/$OWNER/$PROJECT/archive/%{commit}.tar.gz</a><br>
&gt; works, and the content headers tell the browser that the file name<br>
&gt; should be $PROJECT-%{commit}.tar.gz<br>
&gt;<br>
&gt; Any direction would be appreciated.<br>
&gt;<br>
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&#39;m not sure if there&#39;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.</p>
<p dir="ltr">-Toshio<br>
</p>