From owner-freebsd-ports@FreeBSD.ORG Mon Nov 3 20:25:52 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5BAA94CF for ; Mon, 3 Nov 2014 20:25:52 +0000 (UTC) Received: from mailrelay003.isp.belgacom.be (mailrelay003.isp.belgacom.be [195.238.6.53]) by mx1.freebsd.org (Postfix) with ESMTP id ECAF0642 for ; Mon, 3 Nov 2014 20:25:51 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Am0GAHvjV1RbsIXe/2dsb2JhbABcgw5UWM4Kh1ECgSQXAQEBAQF9hAIBAQEDATocIwULCxgJJQ8qHgYTiCwDCQ0ByRQBAQEBAQUBAQEBAR2OVoFpAQFPB4RLBZZphxeBb5Rig3k8LwGBDoE8AQEB Received: from 222.133-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.133.222]) by relay.skynet.be with ESMTP; 03 Nov 2014 21:24:40 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id sA3KOdlG004053; Mon, 3 Nov 2014 21:24:39 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Mon, 3 Nov 2014 21:24:38 +0100 From: Tijl Coosemans To: Matthias Andree Subject: Re: Reducing the size of the ports tree (brainstorm v2) Message-ID: <20141103212438.0893c3dc@kalimero.tijl.coosemans.org> In-Reply-To: <54573B31.7080809@gmx.de> References: <20141031185621.GC15967@ivaldir.etoilebsd.net> <54573B31.7080809@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-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 20:25:52 -0000 On Mon, 03 Nov 2014 09:22:09 +0100 Matthias Andree wrote: > Am 31.10.2014 um 19:56 schrieb Baptiste Daroussin: >> Hi all, >> >> 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 >> >> so far I have not been able to figure out a user friendly way >> >> Ideas I got so far only concerns pkg-descr: >> Adding an entry in the Makefile for the WWW: >> WWW= bla >> or an entry in the plist: @www http... >> >> for the description the Makefile is not suitable as multi line entry in >> Makefiles are painful >> Maybe a new keyword: >> @descr <> mydesc >> in >> multiline >> EOD >> >> which could easily be added to the plist parser in pkg. But I'm do not >> find that very friendly in particular for make(1) to extract the data. >> >> Concerning the distinfo I have no idea. >> >> so this mail is a call of ideas :), if nothing nice ideas is found we >> will just do nothing here :) > > My urgent recommendation is to leave it as is. Even if it wastes 200 > MB. Space is so cheap these days it's not worth introducing new > instabilities, re-train all contributors and all that. > > We haven't even shaken off all the staging and pkg fall-out, and now > we're talking about the next revolution. The numbers on http://beefy1.isc.freebsd.org/ and http://beefy2.isc.freebsd.org/ have never been better. > And if we really decided that we want to change things, we would need > these things BEFORE the implementation: > > 1. a clear list of the problems. > 1a. Space does not count, see above. > 1b. Insufficient tools (SVN) do not count. If the tools are bad, we > need other tools, not change our way of doing things. Other tools won't change anything. It's the file system that would have to change which is not going to happen. When the ports tree was created disks were much smaller and file systems were better (still not good) at storing small files. Today disks are much bigger and file systems have adapted to that. Now it's time for the ports tree to adapt. Here's another way to look at it. Suppose that distinfo never existed and we always specified file sizes and checksums in the Makefile. Then someone would come along and suggest to do just that, put file sizes and checksums in a separate file named distinfo. Nobody would support that.