From owner-freebsd-ports Tue Mar 21 19:15:40 2000 Delivered-To: freebsd-ports@freebsd.org Received: from rock.ghis.net (rock.ghis.net [209.222.164.7]) by hub.freebsd.org (Postfix) with ESMTP id 72E1837BBE8; Tue, 21 Mar 2000 19:15:33 -0800 (PST) (envelope-from will@blackdawn.com) Received: from argon.blackdawn.com (15-141.008.popsite.net [209.69.195.141] (may be forged)) by rock.ghis.net (8.9.3/8.9.3) with ESMTP id TAA01130; Tue, 21 Mar 2000 19:15:30 -0800 (PST) Received: by argon.blackdawn.com (Postfix, from userid 1000) id 438A31929; Tue, 21 Mar 2000 22:15:27 -0500 (EST) Date: Tue, 21 Mar 2000 22:15:27 -0500 From: Will Andrews To: nik@FreeBSD.org, FreeBSD Ports Subject: Re: Feature request: Store dist file size somewhere Message-ID: <20000321221527.C1810@argon.blackdawn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Mar 22, 2000 at 12:03:12AM +0000, Nik Clayton wrote: > A small feature request: would it be possible to store the size of the > distfile(s) somewhere in the ports tree, files/size perhaps? > > I'm in the middle of installing x11-wm/enlightenment on a fresh 4.0 > system, and the number of other files it depends on is somewhat excessive. > Being able to get some idea of how big the distfiles are beforehand (which > could be printed out as part of the fetch-list target) would suggest as to > whether or not it's a task to be postponed until there's more free time > to watch the modem. Sounds like a nice idea.. is it worth the extra space it would take up in the repository (and on people's HD's)? Let's assume we were to add the size of each file to files/md5 as the fifth argument, in bytes. Let's say the average size of a distfile is something like 1.5 to 2MB. So we would have a string "2097152" for each distfile. Assuming 3,100 distfiles, that would easily take up 25,000 bytes of extra space. And then there's the bsd.port.mk patch(es) required to implement the functionality. I personally see nothing wrong with having another 22kbyte (easily compressed to ~3kb, I imagine) in the tree, but some folks might object. What do you think? -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message