Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2016 23:15:39 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Andrea Venturoli <ml@netfence.it>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Cc:        "thierry@freebsd.org" <thierry@freebsd.org>
Subject:   Re: Porting OpenCPN
Message-ID:  <9cc75228-049b-3e21-56e5-476945c95cf3@FreeBSD.org>
In-Reply-To: <e481edab-cc36-a67c-5915-d97e53b2aa19@netfence.it>
References:  <1569cead-c078-0714-9330-9a3ff19088dd@netfence.it> <074b80c9-1928-b6fd-6019-a48188543945@FreeBSD.org> <e481edab-cc36-a67c-5915-d97e53b2aa19@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18/07/2016 10:52 PM, Andrea Venturoli wrote:
> On 07/13/16 11:50, Kubilay Kocak wrote:
> 
>> For GitHub there is ports infrastructure, using USE_GITHUB=yes and GH_*
>> variables. For usage, see our Porters Handbook:
>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#makefile-master_sites-github-description
>>
> 
> Hello and thanks for your answer.
> I saw that description, but I really couldn't understand if the port
> system will issue a "git clone" or still expect the tarball somewhere.

The framework uses the variables provided in the port to construct a URL
that obtains a tarball via GitHub's API. It is fetched via /archive/,
the same method as the 'download as zip/tar' buttons in the GitHub web
interface

It is a snapshot of the repository code at that tag, branch or revision,
not a clone of the repository.

> In any case, as Thierry pointed out (thanks!), the tarball is there, so
> this is over.
> 

The distributions in /releases/ are separate and different (and may or
may not be the same as the raw/pure sources)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9cc75228-049b-3e21-56e5-476945c95cf3>