Package: javascript-common Severity: wishlist In response[1] to the protoaculous RFS[2], I wrote this:
> Looking at the postinst code, actually I'm wondering if a more > generalised solution would be useful. Instead of including lots of JS > files in a page, you could define "bundles" and dpkg would then > rebuild the bundles whenever you upgrade one of the libjs-* packages > in the bundle. This could go into javascript-common to allow the speed > advantages of protoaculous with more generality. Thinking a bit more about this, the following could be done: javascript-common could provide an Apache alias javascript-common-bundles javascript-common could set a trigger on files in /usr/share/javascript users and packages could define bundles in /etc/javascript-common/bundles/*.conf the trigger would then concatenate the files listed in the bundle and optionally compress them with whatever javascript compressor is defined in the configuration (yui-compressor should be the default) http://lists.debian.org/debian-mentors/2010/05/msg00188.html http://lists.debian.org/debian-mentors/2010/05/msg00178.html -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

