Re: github SourceURL improvement

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

 



Hi,

On Sáb, 2015-12-26 at 04:39 +0000, Sérgio Basto wrote:
> Hi,
> At list for github we can remove ".tar.gz#" [1] may (or should) I
> update the wiki ? 
> 
> -Source0:  https://github.com/OWNER/%{name}/archive/%{commit0}.tar.gz
> #/%{name}-%{shortcommit0}.tar.gz
> +Source0:  https://github.com/OWNER/%{name}/archive/%{commit0}/%{name
> }-%{shortcommit0}.tar.gz

I think was Germano that found this formula, previous email demonstrate
that works for commit revision but also works for git tags and  
releases. 
Instead source url be like this :  
https://github.com/besser82/pipelight-selinux/archive/v0.3.1.tar.gz#/pi
pelight-selinux-0.3.1.tar.gz

Could be like this: 
https://github.com/besser82/pipelight-selinux/archive/v0.3.1/pipelight-
selinux-0.3.1.tar.gz

https://github.com/OWNER/%{name}/archive/GIT-TAG/%{name}-%{version}.tar
.gz looks better 

May I update the wiki page ?
( https://fedoraproject.org/wiki/Packaging:SourceURL ;)

> Thanks,
-- 
Sérgio M. B.

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/packaging@xxxxxxxxxxxxxxxxxxxxxxx




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

  Powered by Linux