From owner-freebsd-ports Wed Mar 22 12:38:25 2000 Delivered-To: freebsd-ports@freebsd.org Received: from granger.mail.mindspring.net (granger.mail.mindspring.net [207.69.200.148]) by hub.freebsd.org (Postfix) with ESMTP id 5A88037C1F7; Wed, 22 Mar 2000 12:38:14 -0800 (PST) (envelope-from asami@cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca6-109.ix.netcom.com [205.186.213.109]) by granger.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id PAA01503; Wed, 22 Mar 2000 15:37:47 -0500 (EST) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id MAA09461; Wed, 22 Mar 2000 12:37:25 -0800 (PST) To: Nik Clayton Cc: Kris Kennaway , ports@freebsd.org Subject: Re: Feature request: Store dist file size somewhere References: <20000322084226.A70194@catkin.nothing-going-on.org> <20000322201502.A43966@catkin.nothing-going-on.org> From: asami@freebsd.org (Satoshi - Ports Wraith - Asami) Date: 22 Mar 2000 12:36:36 -0800 In-Reply-To: Nik Clayton's message of "Wed, 22 Mar 2000 20:15:03 +0000" Message-ID: Lines: 34 X-Mailer: Gnus v5.7/Emacs 20.6 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * From: Nik Clayton * Ah ha. That's more like it. Of course: * * % make check-size * foo-1.2 369,638 * bar-3.0 27,224 * baz-0.8 1,228,846 * * Total: 1,625,708 * * might have prevented the mind numbing tedium of downloading linux_base * over a 33.6 connection :-) Sure, we can add something like that too. * Is files/md5 the best place to put it? I was thinking something like * files/size, which would either be * * 1. The total size of all the distfiles that make up the port, or * * 2. The size of all the distfiles (distfile\tsize or similar) * * That way you don't need to do anything to md5(1). Err, before Richard has a heart attack. files/md5 *is* the right place to put these stuff. If we add another file, that's 3,000 more small files, meaning 3,000 more i-nodes and 3,000 more disk fragments in the ports tree. We don't need to do anything to md5(1). The size can be calculated without using md5 (think "ls" :). Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message