-
Committer:
Francesco Banconi
-
Date:
2013-09-12 16:59:33 UTC
-
mfrom:
(105.1.1 separate-staging-debug)
-
Revision ID:
francesco.banconi@canonical.com-20130912165933-pqr0xkyue0wq2p1k
Create a new option for GUI debug mode.
Setting the juju-gui-debug option to true is
now possible to serve the GUI source files
individually (uncompressed). As a consequence,
setting staging to true no longer activates
debug mode as a side effect.
QA:
- deploy the GUI from this branch (make deploy);
- run `juju set juju-gui juju-gui-debug=true`,
wait a minute and then verify the uncompressed
files are served by Apache;
- run `juju set juju-gui builtin-server=true`,
wait a minute and then verify the uncompressed
files are correctly served by the Tornado server
(tailf /var/log/upstart/guiserver.log can help).
R=rharding
CC=
https://codereview.appspot.com/13301047