The javascript directories seem to gobble a ton of space -- perhaps moving all of the Javascript libraries into a 'common' directory outside of the language specific templates could be done.  In my quick test that saved ~200mb of disk space, and brought the compressed distribution to ~27mb (from 47mb) and took ~2 minutes, and probably another 30 minutes to fix the code to reference javascript out of a new directory.

Heck, you could probably fix it with mod_rewrite and no actual code change! 

Stan

On Mon, Dec 29, 2008 at 5:08 PM, Rick Welykochy <rick@praxis.com.au> wrote:
Joe Atzberger wrote:

I'm all for consolidation where it makes the code less duplicative and more maintainable. But if the motivation is just to "save" 20 MB, I might still be for it, but not really inspired.  20 MB of disk is a lot cheaper than developer time.

You are speaking of compressed size.

When I explode a K3 tarball, it gobbles up over 500 MB of disk. That
is not trivial anymore, esp. when deploying many Koha instances on
one server one a single disk.

One suggestion: after exploding and configuring, but before installation,
a script is run that trims the source tree removing cruft such as 1500 other
language files that are not applicatable to the installation.

The completed Koha installation could prolly be trimmmed to under 20 MB imho.

cheers
rickw



--
_________________________________
Rick Welykochy || Praxis Services

Tech support: Click on the 'my computer' icon on to the left of the screen.
Customer: Your left or my left?