From owner-freebsd-ports@freebsd.org Thu Jun 2 07:19:22 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84124B63F0A for ; Thu, 2 Jun 2016 07:19:22 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from toco-domains.de (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50F341149 for ; Thu, 2 Jun 2016 07:19:22 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from [0.0.0.0] (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) by toco-domains.de (Postfix) with ESMTPA id 4200A1AAF051; Thu, 2 Jun 2016 07:19:19 +0200 (CEST) Subject: Re: Zimbra Port To: "Bradley T. Hughes" References: <74bdbdd0-0883-c7bd-fa00-996fca53f502@trust64.com> Cc: rs+freebsd-ports@trust64.com, freebsd-ports@freebsd.org From: Torsten Zuehlsdorff Message-ID: Date: Thu, 2 Jun 2016 09:19:19 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2016 07:19:22 -0000 On 02.06.2016 07:41, Bradley T. Hughes wrote: > >> On 01 Jun 2016, at 16:08, Torsten Zuehlsdorff 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 > 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