Date: Mon, 4 Sep 2017 14:59:31 +0930 From: Shane Ambler <FreeBSD@ShaneWare.Biz> To: Kyle Evans <kevans91@ksu.edu> Cc: ports@freebsd.org Subject: Re: Some github projects aren't fetchable using commit hash Message-ID: <d16716d7-b849-0f89-6dbf-dde999df0886@ShaneWare.Biz> In-Reply-To: <CACNAnaHNav1iZ1KvutPxMBm=4hdRc13qY7Vir3UCexaZFYj2bA@mail.gmail.com> References: <aa643aff-e842-b50e-5ae5-06e6c084ed5b@rawbw.com> <1504284830.794543.1092454472.7353C7D3@webmail.messagingengine.com> <4e2b7041-6ee3-6994-437d-39de395ffca3@rawbw.com> <c37d806c-f9d8-d0cb-4a55-5af9a0c5ea3b@ShaneWare.Biz> <CACNAnaHNav1iZ1KvutPxMBm=4hdRc13qY7Vir3UCexaZFYj2bA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/09/2017 11:31, Kyle Evans wrote: > On Sep 1, 2017 20:03, "Shane Ambler" <FreeBSD@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d16716d7-b849-0f89-6dbf-dde999df0886>