From owner-freebsd-ports Mon Oct 9 19:19:11 2000 Delivered-To: freebsd-ports@freebsd.org Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by hub.freebsd.org (Postfix) with ESMTP id 84B7C37B66C for ; Mon, 9 Oct 2000 19:19:07 -0700 (PDT) Received: from silvia.hip.berkeley.edu (sji-ca7-112.ix.netcom.com [209.109.235.112]) by smtp6.mindspring.com (8.9.3/8.8.5) with ESMTP id WAA18847; Mon, 9 Oct 2000 22:19:03 -0400 (EDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.11.0/8.11.0) id e9A2J0L99014; Mon, 9 Oct 2000 19:19:00 -0700 (PDT) (envelope-from asami) To: Jordan Hubbard Cc: ports@FreeBSD.ORG Subject: Re: cvs commit: CVSROOT avail References: <98657.971028159@winston.osd.bsdi.com> From: asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) Date: 09 Oct 2000 19:18:57 -0700 In-Reply-To: Jordan Hubbard's message of "Sun, 08 Oct 2000 11:02:39 -0700" Message-ID: Lines: 53 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * From: Jordan Hubbard * I guess I must have been asleep during the discussions which preceded * this move since the rearrangement event didn't take me by surprise * (you were very good about announcing that in advance) but the actual * details of it did. I recognise that the package metadata does take * up a bunch of inodes, though I don't quite see what advantage was * incurred by moving it up one level from, say, pkg/PLIST to pkg-plist; * can you perhaps explain it again for those of us like me who weren't * paying attention the first time? Much fewer directories. That was the first goal. :) By the way, a simple count on bento's ports tree shows 77,226 files before and 50,031 files after the conversion. Most of the savings comes from reducing the directory count from 28,678 to 13,783 and the associated CVS stuff. (In terms of inodes, it's from 105,904 to 63,814.) Ignoring the CVS directories and files in them, it's 34,628 files to 29,367 files, and 14,487 directories to 6,899 directories. This last count is what's significant, as we managed to reduce the number of directories to less than half. :) * Most notably, I'm wondering why you didn't simply fold all the package * metadata into a single file with unique separators (even html-ish tags * would do). Then the ports makefile infrastructure would simply * separate it out into separate temp files for the rather rarely * executed (for most folks anyway) "package" target. I think it's only * that and the "describe" target which have any interest in the contents * of the pkg/ directory unless you count the plist munging stuff, and * that could be fairly easily changed to work from a single file as * well. There's also ease of maintenance by porters. I don't really like going the Richard Wackarbarth direction of modifying the ports tree in order to reduce the cost to users by further burdening our overworked porter/committer bunch. That said, we are planning to move pkg-comment into a variable in Makefile (which will also take care of all the nastiness associated with multi-line COMMENT files and those that don't have the trailing '\n') so that's one less file to worry about. That leaves only pkg-descr and pkg-plist for most ports. * I should also note that the libh folks are working towards a packaging * standard with a single package metadata file, so if we ever do manage * to get that project finished and the ports collection migrated to a * new package format, such a move would occur in any case. We'll talk about it when that happens. :) Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message