[sword-devel] *.conf qualifier, InstallSize
DM Smith
dmsmith555 at yahoo.com
Sat Dec 29 12:05:12 MST 2007
I think it is a good idea. I was working on an out-of-band solution (www.crosswire.org/~dmsmith/listing.pl)
that I was going to incorporate into JSword. The result of the
program is an xml file to standard out, which you can find here:
www.crosswire.org/~dmsmith/modules.xml
This file has entries of the form:
<module key='tsk'
name='TSK'
path='modules/comments/zcom/tsk'
zipsize='2643723'
disksize='2869063'>
<file name='nt.bzs' size='324'/>
<file name='ot.bzs' size='468'/>
<file name='nt.bzz' size='662833'/>
<file name='ot.bzz' size='1881828'/>
<file name='nt.bzv' size='82460'/>
<file name='ot.bzv' size='241150'/>
</module>
Every module has an entry that includes it's short name, full name,
path, size of zipfile (which is what JSword downloads), sum of raw
file sizes (which is what InstallMgr downloads), and the size of each
individual file in the download.
Serving Him Together,
DM
On Dec 29, 2007, at 1:38 PM, Karl Kleinpaste wrote:
> I was looking through
> http://www.crosswire.org/wiki/index.php/DevTools:Modules
> and happened to notice for the first time the InstallSize qualifier:
>
> "InstallSize - <integer (indicating bytes)>"
>
> Because some of the modules I've got in my repo are so large (most
> obviously, DoreWoodcuts, 71M; some others with limited distribution in
> the 10-50M range), now and again I have wanted to be able to make it
> obvious via the module manager just how big the available modules are.
>
> However, looking through mods.d/*, I find not a single instance of
> this
> qualifier being used.
>
> Would it be worth the imposition to get this qualifier into all the
> currently existing mods.d/* at Crosswire? If I could count
> (generally,
> even if unreliably) on such a thing, I would be happy to update the GS
> module manager to display it, in the hopes that other folks
> implementing
> UIs would do the same. Then users could make an educated decision
> as to
> whether they want to spend either link time or disc space to get
> really
> big modules.
>
> OTOH, if it's considered insufficiently helpful, then I won't bother.
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list