Re: github URLs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 16, 2015 at 3:16 PM, Sérgio Basto <sergio@xxxxxxxxxx> wrote:
Hi,

On Sex, 2015-05-15 at 21:50 -0700, Dave Johansen wrote:
> On Sun, Apr 19, 2015 at 9:49 AM, Dave Johansen
> <davejohansen@xxxxxxxxx> wrote:
>         On Sat, Apr 18, 2015 at 2:38 PM, Matthew Miller
>         <mattdm@xxxxxxxxxxxxxxxxx> wrote:
>                 On Sat, Apr 18, 2015 at 01:28:33PM -0700, Dave
>                 Johansen wrote:
>                 > What's the right way to handle github URLs?
>                 Currently, I'm working on the
>                 > spec file for breathe and the URL is
>
>                 There's actually a section in the guidelines precisely
>                 on this:
>
>                 https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github
>
>
>         I'm not all that familiar with the details of github, so do
>         the downloads available in the "releases" section count as "If
>         the upstream does create tarballs" or not? If it does, then I
>         still have the same question about the URL. If not, then I'll
>         just use the method described in the referenced section of the
>         wiki.
>
>
>
> For the sake of documentation, I ended up using the URL from
> srcurl.net like Sergio pointed out.

I found the solution in git-extras package .

Name:       git-extras
Version:    2.2.0
Source0:
https://github.com/visionmedia/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
>
Also documented in
https://fedoraproject.org/wiki/Packaging:SourceURL#Troublesome_URLs

I tried that with the .spec files that I had been running into this issue with and it worked, so I will use this method instead of srcurl.net.
Thanks,
Dave
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux