From owner-freebsd-ports@FreeBSD.ORG Mon Nov 3 01:28:16 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9EEAABE; Mon, 3 Nov 2014 01:28:16 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [IPv6:2001:470:1f05:b76::196]) by mx1.freebsd.org (Postfix) with ESMTP id 92EDCEC3; Mon, 3 Nov 2014 01:28:16 +0000 (UTC) Received: from AlfredMacbookAir.local (unknown [129.253.54.225]) by elvis.mu.org (Postfix) with ESMTPSA id 1FC46341F83D; Sun, 2 Nov 2014 17:28:16 -0800 (PST) Message-ID: <5456DA2C.8090506@freebsd.org> Date: Sun, 02 Nov 2014 17:28:12 -0800 From: Alfred Perlstein Organization: FreeBSD User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Tijl Coosemans , RW Subject: Re: Reducing the size of the ports tree (brainstorm v2) References: <20141031185621.GC15967@ivaldir.etoilebsd.net> <20141101000723.782768a3@kalimero.tijl.coosemans.org> <20141102181623.463fff71@gumby.homeunix.com> <20141102195021.045f70c3@kalimero.tijl.coosemans.org> In-Reply-To: <20141102195021.045f70c3@kalimero.tijl.coosemans.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2014 01:28:16 -0000 On 11/2/14, 10:50 AM, Tijl Coosemans wrote: > On Sun, 2 Nov 2014 18:16:23 +0000 RW wrote: >> On Sat, 1 Nov 2014 00:07:23 +0100 >> Tijl Coosemans wrote: >>> On Fri, 31 Oct 2014 19:56:21 +0100 Baptiste Daroussin >>> wrote: >>>> tijl@ spotted an interesting point, distinfo and pkg-descr files >>>> files convenient are taking a lot of space for "free", we can >>>> reduce the size of the while ports tree by a factor 2 by simply >>>> merging them into one of the other files (Makefile and/or >>>> pkg-plist) from my testing it really devides significantly the size >>>> of the tree. >>>> >>>> Problem is how to merge them if we want to. >>>> >>>> What we do not want to loose: >>>> - Easyness of parsing distinfo >>>> - Easyness to get informations about the description >> I think it's worth remembering that this saves an amount of storage >> that can be had for around 1 penny/cent. The threshold for this being >> more trouble than it's worth is pretty low. > The reason I looked into this is because many subversion operations > are slow on the ports tree. For me it's about saving time there and > not so much about saving disk space. Starting to think that we should think about making the ports into trees that are category based and then another directory for the .mk files. Subversion supports externals, git supports submodules. Maybe it's time to leverage those and have a top level "project" with svn externals or git submodules. -Alfred