Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Aug 2014 20:52:25 +0400
From:      Maxim V FIlimonov <che@bein.link>
To:        freebsd-ports@freebsd.org
Cc:        Dreamcat4 <dreamcat4@gmail.com>, Kurt Jaeger <lists@opsec.eu>
Subject:   Re: devel/stlink
Message-ID:  <2269028.6G6mfBQYyp@quad>
In-Reply-To: <CAN39uTpeGQXhWYpBC7w6%2BDh187x4EJM934AYK1Ayoo7jBRaMEg@mail.gmail.com>
References:  <4443341.EiikNYngQK@quad> <20140802141819.GH2644@home.opsec.eu> <CAN39uTpeGQXhWYpBC7w6%2BDh187x4EJM934AYK1Ayoo7jBRaMEg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Saturday 02 August 2014 17:45:51 Dreamcat4 wrote:
> It is always possible to download HEAD using this distfiles URL:
> 
> https://github.com/${PORTNAME}/${PORTNAME}/archive/master.tar.gz
> 

Didn't know about that, thank you for the info.

> The problem with doing that is then you must disable the checksum
> "distinfo". There is no way to know what the hash of such archive file is
> supposed to be. Since that archive file itself is being dynamically
> generated from the most recent commit...

Well, anyway I don't think that getting HEAD is the best possible idea. One of 
the reasons is the one you mentioned, the other is that you can't really know 
which exact commit you're going to get.

-- 
wbr, Maxim Filimonov
che@bein.link



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2269028.6G6mfBQYyp>