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

Issue 12744049: Search for available upgrades for services

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by matthew.scott
Modified:
12 years, 3 months ago
Reviewers:
rharding, jeff.pihach, mp+181173
Visibility:
Public.

Description

Search for available upgrades for services This searches the charm store for available upgrades to services when they're loaded. If an upgrade is available, the service is marked as such, and the most recent charm id is added as an attribute, providing a quick means to link to a charm in the store. This is under the feature flag `upgradeCharm` as part of the same work, so QA with /:flags:/upgradeCharm and inspect the models in the db - you'll have to use improv or a deployment of an old charm. https://code.launchpad.net/~makyo/juju-gui/upgrade-charm-1100904/+merge/181173 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 8

Patch Set 2 : Search for available upgrades for services #

Total comments: 1

Patch Set 3 : Search for available upgrades for services #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -14 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/app.js View 1 chunk +2 lines, -1 line 0 comments Download
M app/models/charm.js View 1 chunk +1 line, -1 line 0 comments Download
M app/models/model-controller.js View 1 5 chunks +30 lines, -6 lines 0 comments Download
M app/models/models.js View 1 1 chunk +19 lines, -0 lines 0 comments Download
M app/store/charm.js View 1 1 chunk +25 lines, -0 lines 0 comments Download
M test/test_charm_store.js View 1 2 2 chunks +29 lines, -1 line 0 comments Download
M test/test_endpoints.js View 2 chunks +2 lines, -0 lines 0 comments Download
M test/test_fakebackend.js View 1 chunk +3 lines, -1 line 0 comments Download
M test/test_model_controller.js View 1 4 chunks +30 lines, -2 lines 0 comments Download
M test/test_websocket_logging.js View 3 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 8
matthew.scott
Please take a look.
12 years, 3 months ago (2013-08-20 23:21:52 UTC) #1
rharding
Per our call then I'll wait for a final ok based on where the updates ...
12 years, 3 months ago (2013-08-21 16:14:50 UTC) #2
jeff.pihach
LGTM with trivial and QA OK! https://codereview.appspot.com/12744049/diff/1/test/test_model_controller.js File test/test_model_controller.js (right): https://codereview.appspot.com/12744049/diff/1/test/test_model_controller.js#newcode260 test/test_model_controller.js:260: window.flags.upgradeCharm = true; ...
12 years, 3 months ago (2013-08-21 16:41:14 UTC) #3
matthew.scott
I've moved some of the upgrade-available logic to the store. Reproposing. https://codereview.appspot.com/12744049/diff/1/app/models/models.js File app/models/models.js (right): ...
12 years, 3 months ago (2013-08-21 23:27:08 UTC) #4
matthew.scott
Please take a look.
12 years, 3 months ago (2013-08-21 23:28:49 UTC) #5
rharding
LGTM, one note below and wonder if a test to the store for the new ...
12 years, 3 months ago (2013-08-22 00:03:40 UTC) #6
matthew.scott
Thanks for the reviews. On 2013/08/22 00:03:40, rharding wrote: > LGTM, one note below and ...
12 years, 3 months ago (2013-08-22 14:58:56 UTC) #7
matthew.scott
12 years, 3 months ago (2013-08-22 15:09:30 UTC) #8
*** Submitted:

Search for available upgrades for services

This searches the charm store for available upgrades to services when they're
loaded.  If an upgrade is available, the service is marked as such, and the most
recent charm id is added as an attribute, providing a quick means to link to a
charm in the store.  This is under the feature flag `upgradeCharm` as part of
the same work, so QA with /:flags:/upgradeCharm and inspect the models in the db
- you'll have to use improv or a deployment of an old charm.

R=rharding, jeff.pihach
CC=
https://codereview.appspot.com/12744049
Sign in to reply to this message.

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