Re: github URLs?

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

 



Le 18/04/2015 22:28, Dave Johansen a écrit :
> What's the right way to handle github URLs? Currently, 

I think Guidelines are clear.
https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github

"For a number of reasons (immutability, availability,
uniqueness), you must use the full commit revision hash
when referring to the sources."

> I'm working on the
> spec file for breathe and the URL is
> https://github.com/michaeljones/breathe/archive/v4.0.0.tar.gz and the

AFAIK, this is NOT immutable (upstream can delete/update tag) so not valid.

> actual file that's downloaded is breathe-4.0.0.tar.gz. How do I make that
> play nice in the spec file and with rpmlint?

Ex:

https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz


Remi.


> Thanks,
> Dave
> 


So
> 
> 
> --
> packaging mailing list
> packaging@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/packaging
> 

--
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