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

2014-12-03 Thread Guillem Jover
Hi! On Tue, 2014-12-02 at 06:46:33 +0800, Thomas Goirand wrote: > On 12/01/2014 04:26 PM, Thorsten Glaser wrote: > > No, triggers unfortunately are not that simple: if you install/upgrade > > openstack-dashboard together with some of the packages it wants a > > trigger on, $1="triggered" will some

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

2014-12-02 Thread Thomas Goirand
On 12/02/2014 07:16 AM, Brian May wrote: > On 2 December 2014 at 09:46, Thomas Goirand > wrote: > > if [ "$1" = "configure" ] ; then > > /usr/share/openstack-dashboard/manage.py compress --force > > fi > if [ "$1" = "triggered" ] ; the

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

2014-12-01 Thread Brian May
On 2 December 2014 at 09:46, Thomas Goirand wrote: > > if [ "$1" = "configure" ] ; then > > /usr/share/openstack-dashboard/manage.py compress --force > > fi > if [ "$1" = "triggered" ] ; then > /usr/share/openstack-dashboard/manage.py compress --force > fi > > Is it *that* simple

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

2014-12-01 Thread Thomas Goirand
On 12/01/2014 04:26 PM, Thorsten Glaser wrote: > On Sat, 29 Nov 2014, Thomas Goirand wrote: > >> 2/ in debian/openstack-dashboard.postinst, implement something like: >> >> if [ "$1" = "triggered" ] ; then >> /usr/share/openstack-dashboard/manage.py compress --force >> fi >> >> Is it *that* si

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

2014-12-01 Thread Jérémy Lal
Le vendredi 28 novembre 2014 à 07:04 +0800, Thomas Goirand a écrit : > Hi, > > Web application have evolved into monsters that needs lots of > javascript. It's very common that these javascript applications are > collecting all the .js library they use, concatenate them into a single > file, and c

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

2014-12-01 Thread Thomas Goirand
On 11/29/2014 06:10 PM, Jérémy Lal wrote: > Le vendredi 28 novembre 2014 à 20:46 +0100, Jonas Smedegaard a écrit : >> Quoting Thorsten Glaser (2014-11-28 13:20:36) >>> On Fri, 28 Nov 2014, Thomas Goirand wrote: >>> It's been a long time I've been thinking about it, and I believe that the

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

2014-12-01 Thread Thorsten Glaser
On Fri, 28 Nov 2014, Jonas Smedegaard wrote: > Just looking at the package name that seems not an ideal aproach: Should > we then make packages for each combination of libraries to be merged > together, or am I missing a more clever logic? Or do you perhaps point No, protoaculous is a special

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

2014-12-01 Thread Thorsten Glaser
On Sat, 29 Nov 2014, Thomas Goirand wrote: > 2/ in debian/openstack-dashboard.postinst, implement something like: > > if [ "$1" = "triggered" ] ; then > /usr/share/openstack-dashboard/manage.py compress --force > fi > > Is it *that* simple? No, triggers unfortunately are not that simple:

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

2014-11-29 Thread Jérémy Lal
Le vendredi 28 novembre 2014 à 20:46 +0100, Jonas Smedegaard a écrit : > Quoting Thorsten Glaser (2014-11-28 13:20:36) > > On Fri, 28 Nov 2014, Thomas Goirand wrote: > > > >> It's been a long time I've been thinking about it, and I believe that > >> the only way to do this, would be to use trigge

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

2014-11-28 Thread Jonas Smedegaard
Quoting Thorsten Glaser (2014-11-28 13:20:36) > On Fri, 28 Nov 2014, Thomas Goirand wrote: > >> It's been a long time I've been thinking about it, and I believe that >> the only way to do this, would be to use triggers. Though I have >> never > Look at libjs-protoaculous which combines prototyp

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

2014-11-28 Thread Thomas Goirand
On 11/28/2014 08:20 PM, Thorsten Glaser wrote: > On Fri, 28 Nov 2014, Thomas Goirand wrote: > >> It's been a long time I've been thinking about it, and I believe that >> the only way to do this, would be to use triggers. Though I have never > > Look at libjs-protoaculous which combines prototype

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

2014-11-28 Thread Thorsten Glaser
On Fri, 28 Nov 2014, Thomas Goirand wrote: > It's been a long time I've been thinking about it, and I believe that > the only way to do this, would be to use triggers. Though I have never Look at libjs-protoaculous which combines prototype and scriptaculous into one (possibly minified) js file. I

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

2014-11-27 Thread Ben Finney
Thomas Goirand writes: > Web application have evolved into monsters that needs lots of > javascript. It's very common that these javascript applications are > collecting all the .js library they use, concatenate them into a > single file, and compress the result using all sorts of tools (node > u