[sword-devel] InstallSize was Re: Some new modules

DM Smith dmsmith555 at yahoo.com
Sat Jun 7 04:54:45 MST 2008

On Jun 7, 2008, at 6:55 AM, Karl Kleinpaste wrote:

> "Daniel Glassey" <dglassey at gmail.com> writes:
>> I'm wondering, is the the v2 of the content that is those winhelp
>> files? iirc there is a newer version (I don't know if it is fixes to
>> the text or just new formatting) at http://www.ccel.org/fathers.html
>> which has ThML.
> Peter sent a note to Roger Pearse of the Tertullian Project
> (tertullian.org) to ask about his copy of similar material.  Roger's
> explanation was that v2 has never had copyright asserted, but that v3
> had a copyright claim and therefore not readily usable.  Also he  
> thinks
> there is some question about New Advent's version.
> As far as size, I don't see it as an especially big deal.  It's a
> one-time download issue, and my link at home is fast enough that the  
> ~2G
> my repo shipped out yesterday doesn't bother me; once on someone's
> system, it hardly matters whether it's 1 or 3 or 37.  I just offered  
> the
> size warning as a favor to folks so they know what they're getting and
> as an encouragement on the idea of providing InstallSize support in
> repos and module managers.
> data="`grep DataPath mods.d/\"$mod\".conf | sed -e 's;DataPath=./;;'  
> -e 's;[a-z]\+$;;'`"
> files="`find \"$data\" -type f | sort`"
> installsize="`( echo 0 ; ls -l $files | awk '{ print $5"+" }' ; echo  
> p ) | dc`"


Can we please actually add this to the conf's. I think it becomes  
important for larger modules, so perhaps, we say that the default for  
the entry is <2M? (or whatever would be about 15 minutes on dialup) I  
don't see any reason that it needs to be highly accurate. The nearest  
K or even 100K should be sufficient. That is a minor change to the  
module would not warrant re-computation.

It is so easy to script and automate and our conf's rarely change.

For compressed modules, this is nearly the same as the download size.  
For uncompressed modules, even if we do ftp compression on the fly, it  
is still a good measure of transit time.


More information about the sword-devel mailing list