Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2000 22:15:27 -0500
From:      Will Andrews <andrews@technologist.com>
To:        nik@FreeBSD.org, FreeBSD Ports <ports@FreeBSD.org>
Subject:   Re: Feature request:  Store dist file size somewhere
Message-ID:  <20000321221527.C1810@argon.blackdawn.com>

next in thread | raw e-mail | index | archive | help
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 <andrews@technologist.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000321221527.C1810>