Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10608)

Issue 13309044: The GUI no longer run from the charm directory.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by frankban
Modified:
10 years, 7 months ago
Reviewers:
benjamin.saller, mp+183589
Visibility:
Public.

Description

The GUI no longer run from the charm directory. Updated the GUI and (under pyJuju) the API agent so that now the files are served from /var/lib/juju-gui. That directory is also removed when the service is destroyed. To do that, this branch introduces the Backend.destroy method, called in the stop hook. QA: deploy the charm using this branch, check everything is ok, check that the GUI files are stored in /var/lib/juju-gui. Then destroy the juju-gui service and ensure that directory is cleaned up. https://code.launchpad.net/~frankban/charms/precise/juju-gui/bug-1218042-charm-directory/+merge/183589 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : The GUI no longer run from the charm directory. #

Patch Set 3 : The GUI no longer run from the charm directory. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -49 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M hooks/backend.py View 7 chunks +24 lines, -12 lines 0 comments Download
M hooks/config-changed View 1 chunk +1 line, -3 lines 0 comments Download
M hooks/stop View 1 chunk +1 line, -0 lines 0 comments Download
M hooks/utils.py View 1 2 6 chunks +16 lines, -15 lines 0 comments Download
M revision View 1 chunk +1 line, -1 line 0 comments Download
M tests/test_backends.py View 8 chunks +52 lines, -14 lines 0 comments Download
M tests/test_utils.py View 1 2 3 chunks +27 lines, -4 lines 0 comments Download

Messages

Total messages: 4
frankban
Please take a look.
10 years, 7 months ago (2013-09-03 09:15:46 UTC) #1
benjamin.saller
LGTM, thanks https://codereview.appspot.com/13309044/diff/1/hooks/backend.py File hooks/backend.py (right): https://codereview.appspot.com/13309044/diff/1/hooks/backend.py#newcode302 hooks/backend.py:302: destroy = chain_methods('destroy', reverse=True) I think this ...
10 years, 7 months ago (2013-09-03 10:23:09 UTC) #2
frankban
*** Submitted: The GUI no longer run from the charm directory. Updated the GUI and ...
10 years, 7 months ago (2013-09-03 14:22:12 UTC) #3
frankban
10 years, 7 months ago (2013-09-03 14:23:56 UTC) #4
Thanks for the review Ben!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b