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

Issue 6624062: jujuc: HookContext now implements Context

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by fwereade
Modified:
13 years, 4 months ago
Reviewers:
mp+128443
Visibility:
Public.

Description

jujuc: HookContext now implements Context ...and RelationContext implements ContextRelation. Name collisions have been resolved with trailing _s, which will persist for a little while, but are not intended to be long-term features. Note that some logic in ConfigGetCommand moved behind the implementation of Config: it needs to be implemented, but it's best that it's only done once ;). https://code.launchpad.net/~fwereade/juju-core/juju-context-implement-interface/+merge/128443 Requires: https://code.launchpad.net/~fwereade/juju-core/jujuc-context-interface/+merge/128266 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : jujuc: HookContext now implements Context #

Total comments: 36

Patch Set 3 : jujuc: HookContext now implements Context #

Patch Set 4 : jujuc: HookContext now implements Context #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -80 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M worker/uniter/jujuc/config-get.go View 2 chunks +4 lines, -23 lines 0 comments Download
M worker/uniter/jujuc/context.go View 1 2 7 chunks +117 lines, -27 lines 0 comments Download
M worker/uniter/jujuc/context_test.go View 1 4 chunks +87 lines, -4 lines 0 comments Download
M worker/uniter/jujuc/relation-get.go View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M worker/uniter/jujuc/relation-ids_test.go View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M worker/uniter/jujuc/relation-list.go View 1 chunk +1 line, -1 line 0 comments Download
M worker/uniter/jujuc/relation-list_test.go View 1 chunk +1 line, -1 line 0 comments Download
M worker/uniter/jujuc/util_test.go View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M worker/uniter/relationer_test.go View 8 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 6
fwereade
Please take a look.
13 years, 4 months ago (2012-10-08 08:58:55 UTC) #1
fwereade
Please take a look.
13 years, 4 months ago (2012-10-08 13:21:46 UTC) #2
niemeyer
https://codereview.appspot.com/6624062/diff/3001/worker/uniter/jujuc/context.go File worker/uniter/jujuc/context.go (right): https://codereview.appspot.com/6624062/diff/3001/worker/uniter/jujuc/context.go#newcode20 worker/uniter/jujuc/context.go:20: // HookContext allows clients to run hooks against a ...
13 years, 4 months ago (2012-10-08 14:12:43 UTC) #3
fwereade
Please take a look. https://codereview.appspot.com/6624062/diff/3001/worker/uniter/jujuc/context.go File worker/uniter/jujuc/context.go (right): https://codereview.appspot.com/6624062/diff/3001/worker/uniter/jujuc/context.go#newcode20 worker/uniter/jujuc/context.go:20: // HookContext allows clients to ...
13 years, 4 months ago (2012-10-08 15:02:02 UTC) #4
niemeyer
LGTM
13 years, 4 months ago (2012-10-08 16:40:48 UTC) #5
fwereade
13 years, 4 months ago (2012-10-09 06:28:02 UTC) #6
*** Submitted:

jujuc: HookContext now implements Context

...and RelationContext implements ContextRelation. Name collisions have been
resolved with trailing _s, which will persist for a little while, but are not
intended to be long-term features.

Note that some logic in ConfigGetCommand moved behind the implementation of
Config: it needs to be implemented, but it's best that it's only done once ;).

R=niemeyer
CC=
https://codereview.appspot.com/6624062
Sign in to reply to this message.

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