Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2016 09:19:19 +0200
From:      Torsten Zuehlsdorff <mailinglists@toco-domains.de>
To:        "Bradley T. Hughes" <bradleythughes@fastmail.fm>
Cc:        rs+freebsd-ports@trust64.com, freebsd-ports@freebsd.org
Subject:   Re: Zimbra Port
Message-ID:  <f5fd71b9-c2c5-5e74-af51-3fb93c27ec4f@toco-domains.de>
In-Reply-To: <FA5DB3F5-F51D-4149-9013-E480864210F4@fastmail.fm>
References:  <74bdbdd0-0883-c7bd-fa00-996fca53f502@trust64.com> <cc640476-9ae8-d4da-4f84-ee066654f6a1@toco-domains.de> <FA5DB3F5-F51D-4149-9013-E480864210F4@fastmail.fm>

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


On 02.06.2016 07:41, Bradley T. Hughes wrote:
>
>> On 01 Jun 2016, at 16:08, Torsten Zuehlsdorff <mailinglists@toco-domains.de> wrote:
>>
>>> * The Zimbra source is huge, a git clone is about 13 GigaBytes. I am not
>>> sure on how source that big is handled correctly in ports. (e.g. is it
>>> OK that every make does a git clone and you have to wait until you get
>>> the 13 GB of data? Would this be a problem for the FreeBSD build cluster
>>> infrastructure to create the packages?, ...)
>>
>> A git clone contains the complete development *history*. If a try to fetch a packet from their homepage it is "just" around 850 MB which should not be a problem.
>>
>>> * On the porters handbook it says to fetch a tarball from http/ftp, is
>>> it also possible to directly work with git and clone a repository?
>>
>> I'm not aware of such a way. But since there is a Git-Repo: isn't there a management tool like GitLab, which could provides tarballs? At least it is possible to set one up, clone the repo and provide it this way.
>
> There's also the --depth option to git clone that can help limit the size of the resulting checkout.
>
>        --depth <depth>
>            Create a shallow clone with a history truncated to the specified
>            number of commits. Implies --single-branch unless
>            --no-single-branch is given to fetch the histories near the tips of
>            all branches.

Yes, but i doubt this could be a solution. The ports ship a distinfo 
file, which contains size and checksum of the distfiles for the port. 
This is not possible with a pure git.

But since this is open source: in the worst case we can create the 
distfiles by ourself and host them. I don't see this as stopper.

Greetings,
Torsten



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f5fd71b9-c2c5-5e74-af51-3fb93c27ec4f>