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

Re: [Pkg-javascript-devel] Javascript trigger design



On Mon, 1 Dec 2014, Jérémy Lal wrote:

> Instead of triggers, i'd rather make sure the web application package is
> rebuilt whenever one of its Build-Depends package is updated.

No, that’s too fragile and ties up way too many resources.
It’s fully OK to compose the final version on the users’
systems, and use rather broad versioning to restrict the
acceptable versions of the external things, if at all needed.

> That way, updates of bundled assets would be handled by the same
> migration process as library updates.

Actually no: they would be handled as *static* libraries.
The postinst/trigger method would be the same as dynamic libraries.

> Is it possible ?

Yes, but who’d be doing the work?

bye,
//mirabilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.	-- Rob Pike in "Notes on Programming in C"


Reply to: