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

Issue 7950044: state/api/params: add CharmURL to ServiceInfo

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by rog
Modified:
11 years, 1 month ago
Reviewers:
mp+154778, fwereade
Visibility:
Public.

Description

state/api/params: add CharmURL to ServiceInfo This is by way of an example of how new info can be added to the data produced by the AllWatcher. https://code.launchpad.net/~rogpeppe/juju-core/253-allwatcher-service-charm-info/+merge/154778 Requires: https://code.launchpad.net/~rogpeppe/juju-core/252-charm-url-json/+merge/154766 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state/api/params: add CharmURL to ServiceInfo #

Total comments: 3

Patch Set 3 : state/api/params: add CharmURL to ServiceInfo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+477 lines, -256 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M charm/dir_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M charm/repo_test.go View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M charm/url.go View 1 2 2 chunks +23 lines, -0 lines 0 comments Download
M charm/url_test.go View 1 2 2 chunks +30 lines, -14 lines 0 comments Download
M cmd/juju/main_test.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cmd/juju/ssh_test.go View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M cmd/juju/status_test.go View 1 2 3 chunks +2 lines, -5 lines 0 comments Download
M cmd/jujud/bootstrap.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cmd/jujud/bootstrap_test.go View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M cmd/jujud/upgrade.go View 1 2 2 chunks +9 lines, -2 lines 0 comments Download
M cmd/logging.go View 1 2 2 chunks +23 lines, -12 lines 0 comments Download
M cmd/logging_test.go View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M cmd/supercommand_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
A doc/hacking-state.txt View 1 2 1 chunk +147 lines, -0 lines 0 comments Download
M environs/agent/agent.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M environs/config/config.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M environs/config/config_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M environs/dummy/environs.go View 1 2 4 chunks +6 lines, -4 lines 0 comments Download
M environs/ec2/ec2.go View 1 2 5 chunks +8 lines, -4 lines 0 comments Download
M environs/ec2/live_test.go View 1 2 5 chunks +9 lines, -15 lines 0 comments Download
M environs/ec2/local_test.go View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M environs/interface.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M environs/jujutest/livetests.go View 1 2 4 chunks +12 lines, -32 lines 0 comments Download
M environs/jujutest/tests.go View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M environs/openstack/local_test.go View 1 2 4 chunks +6 lines, -7 lines 0 comments Download
M environs/openstack/provider.go View 1 2 3 chunks +7 lines, -3 lines 0 comments Download
M juju/conn.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M juju/conn_test.go View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M juju/testing/conn.go View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M log/log.go View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M log/log_test.go View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M state/api/params/params.go View 3 chunks +8 lines, -2 lines 0 comments Download
M state/api/params/params_test.go View 2 chunks +5 lines, -3 lines 0 comments Download
M state/conn_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M state/export_test.go View 1 2 2 chunks +4 lines, -10 lines 0 comments Download
M state/megawatcher_internal_test.go View 1 2 3 chunks +12 lines, -5 lines 0 comments Download
M state/open.go View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M state/settings_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M state/state_test.go View 1 2 15 chunks +19 lines, -19 lines 0 comments Download
M state/unit_test.go View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M worker/firewaller/firewaller_test.go View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M worker/provisioner/provisioner.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M worker/provisioner/provisioner_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M worker/uniter/context.go View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M worker/uniter/context_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M worker/uniter/jujuc/juju-log_test.go View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M worker/uniter/jujuc/server.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M worker/uniter/uniter.go View 1 2 2 chunks +12 lines, -9 lines 0 comments Download
M worker/uniter/uniter_test.go View 1 2 6 chunks +51 lines, -42 lines 0 comments Download

Messages

Total messages: 7
rog
Please take a look.
11 years, 1 month ago (2013-03-21 18:10:49 UTC) #1
fwereade
Let's not go too much further down this road without a discussion of where it's ...
11 years, 1 month ago (2013-03-22 00:59:02 UTC) #2
dave_cheney.net
https://codereview.appspot.com/7950044/diff/2001/state/api/params/params.go File state/api/params/params.go (right): https://codereview.appspot.com/7950044/diff/2001/state/api/params/params.go#newcode237 state/api/params/params.go:237: // machineDoc etc). This note sounds important, but it ...
11 years, 1 month ago (2013-03-22 01:04:33 UTC) #3
gary.poster
On 2013/03/22 00:59:02, fwereade wrote: > Let's not go too much further down this road ...
11 years, 1 month ago (2013-03-22 09:23:26 UTC) #4
rog
*** Submitted: state/api/params: add CharmURL to ServiceInfo This is by way of an example of ...
11 years, 1 month ago (2013-03-22 17:04:42 UTC) #5
fwereade
The approach got my grudging approval in live discussion, which I'm ok with considering an ...
11 years, 1 month ago (2013-03-23 20:08:55 UTC) #6
rog
11 years, 1 month ago (2013-03-24 12:11:27 UTC) #7
On 23 March 2013 20:08,  <fwereade@gmail.com> wrote:
> The approach got my grudging approval in live discussion, which I'm ok
> with considering an implicit LGTM, but it doesn't look like it got a
> second, and dfc's comments were not addressed. This looks like enough of
> a beast that trying to back it out from history will be hard, so I'm not
> going to insist, but please follow up with dfc. He made a very good
> point re charm URLs -- I accept the internal dirtiness, but I am very
> much unconvinced that it's smart to have multiple representations of
> charm urls in the API.

Oops, for some reason I had got it in my head that all my pending
CLs were approved without qualification, and submitted them all in
quick succession without re-checking each one. *smacks palm with a ruler*

I will update to address earlier comments.

> FWIW, launchpad is confused about whether or not this was merged; please
> figure out and fix whatever happened there too :).

Looking at trunk, it's definitely merged. Will check lp on Monday.

  cheers,
    rog.
Sign in to reply to this message.

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