GitHub is a terrible upstream

Josh Stone jistone at redhat.com
Mon Apr 23 20:18:51 UTC 2012


On 04/23/2012 01:08 PM, Orion Poplawski wrote:
> Nice!  I'll note explicitly that this also works with short git tags, so:
> 
> 
> %global commit bd245c9
> 
> Source0: 
> https://github.com/jukka/pcfi/tarball/%{commit}/jukka-pcfi-%{commit}.tar.gz
> 
> %setup -q -n jukka-pcfi-%{commit}
> 
> works.

Even if that works, it has the potential for collision on some future
date, when that hash prefix is no longer unique.  I see no reason to
prefer brevity here.

Josh



More information about the devel mailing list