Some github projects aren't fetchable using commit hash
Shane Ambler
FreeBSD at ShaneWare.Biz
Mon Sep 4 05:29:49 UTC 2017
On 02/09/2017 11:31, Kyle Evans wrote:
> On Sep 1, 2017 20:03, "Shane Ambler" <FreeBSD at shaneware.biz> wrote:
>
>
> Respond to github support that an abbreviated hash with multiple matches
> will fail. Under that condition, it may be desirable to respond with the
> newest of the matches rather than a not found error.
>
>
> To be honest, the failing seems like a little better behavior than suddenly
> swapping out the package I thought I was downloading with a newer version.
> It'd at least be a little more obvious and theoretically detectable if they
> respond properly.
For a port the distinfo will detect a hash and size difference of the
tarball and fail.
--
FreeBSD - the place to B...Software Developing
Shane Ambler
More information about the freebsd-ports
mailing list