[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Javascript trigger design



On Fri, Nov 28, 2014 at 5:51 PM, Jérémy Lal wrote:

> The debian side is in no way able / fit to take care of *live* updating
> js/css bundles. This is up to the web framework you're using - like you
> mentioned for example RoR.
> What is needed for debian-packaged webapps is to be able to regenerate a
> bundle made of several other packages files (supporting concatenation,
> browserification, whatever else...) when one of them changes at install
> time. This requires it knows reverse build-dependencies of the package
> that contains the file that changed, and call some trigger of each of
> these package so it can itself call the proper script that is specific
> for each of these packages.

I believe that Thomas is talking about dpkg triggers, which could
allow each web app to regenerate their bundle of javascript whenever
one of the libjs-* packages is updated.

https://wiki.debian.org/DpkgTriggers

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Reply to: