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

Issue 10888048: Fix charm deployment from browser in GUI.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by teknico
Modified:
11 years, 11 months ago
Reviewers:
rharding, mp+174244, gary.poster
Visibility:
Public.

Description

Fix charm deployment from browser in GUI. Spurred by problems in deploying the Discourse charm by Marco Ceppi <http://jujucharms.com/~marcoceppi/precise/discourse>, get the charm id from the charm URL for the browser model. The problem arises in translation between the two different model code paths we have currently. Thanks to Matt and Rick for the help. https://code.launchpad.net/~teknico/juju-gui/fix-charm-deploy/+merge/174244 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fix charm deployment from browser in GUI. #

Patch Set 3 : Fix charm deployment from browser in GUI. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -8 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/models/charm.js View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M app/subapps/browser/views/charm.js View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M app/widgets/charm-token.js View 1 1 chunk +5 lines, -2 lines 0 comments Download
M test/test_browser_charm_details.js View 1 2 chunks +2 lines, -1 line 0 comments Download
M test/test_charm_token_drag_and_drop.js View 1 3 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 8
teknico
Please take a look.
11 years, 11 months ago (2013-07-11 16:43:08 UTC) #1
rharding
Comments below. I think we should change the urls to be cs: and add a ...
11 years, 11 months ago (2013-07-11 16:55:49 UTC) #2
teknico
Thank you. I removed the "For future use" vars, and will add tests for the ...
11 years, 11 months ago (2013-07-11 17:16:01 UTC) #3
rharding
https://codereview.appspot.com/10888048/diff/1/test/test_charm_token_drag_and_drop.js File test/test_charm_token_drag_and_drop.js (right): https://codereview.appspot.com/10888048/diff/1/test/test_charm_token_drag_and_drop.js#newcode69 test/test_charm_token_drag_and_drop.js:69: url: 'test', On 2013/07/11 17:16:01, teknico wrote: > rharding ...
11 years, 11 months ago (2013-07-11 17:22:06 UTC) #4
teknico
Please take a look.
11 years, 11 months ago (2013-07-11 17:58:48 UTC) #5
rharding
LGTM thanks for the test changes/fixes. Much nicer.
11 years, 11 months ago (2013-07-11 18:02:49 UTC) #6
gary.poster
LGTM. Thank you! Gary
11 years, 11 months ago (2013-07-11 18:13:08 UTC) #7
teknico
11 years, 11 months ago (2013-07-11 19:08:10 UTC) #8
*** Submitted:

Fix charm deployment from browser in GUI.

Spurred by problems in deploying the Discourse charm by Marco Ceppi
<http://jujucharms.com/~marcoceppi/precise/discourse>, get the charm
id from the charm URL for the browser model. The problem arises in
translation between the two different model code paths we have
currently. Thanks to Matt and Rick for the help.

R=rharding, gary.poster
CC=
https://codereview.appspot.com/10888048
Sign in to reply to this message.

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