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

Issue 6430055: Add RelationUnit type

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by fwereade
Modified:
11 years, 9 months ago
Reviewers:
mp+115924
Visibility:
Public.

Description

Add RelationUnit type This is kinda like the original RelationUnit proposed a few days ago, but exposes its various bits of functionality separately rather than being a magical watch-and-join chimera. Notably, RelationUnitsWatcher is now exported, so the internal tests have been dropped. https://code.launchpad.net/~fwereade/juju-core/relation-unit-methods/+merge/115924 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Add RelationUnit functionality to Relation #

Patch Set 3 : Add RelationUnit type #

Total comments: 5

Patch Set 4 : Add RelationUnit type #

Patch Set 5 : Add RelationUnit type #

Unified diffs Side-by-side diffs Delta from patch set Stats (+631 lines, -205 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M state/relation.go View 1 2 3 3 chunks +71 lines, -1 line 0 comments Download
M state/relation_internal_test.go View 2 chunks +0 lines, -190 lines 0 comments Download
M state/relation_test.go View 1 2 3 2 chunks +544 lines, -0 lines 0 comments Download
M state/watcher.go View 7 chunks +14 lines, -14 lines 0 comments Download

Messages

Total messages: 6
fwereade
Please take a look.
11 years, 9 months ago (2012-07-20 09:52:06 UTC) #1
fwereade
Please take a look.
11 years, 9 months ago (2012-07-20 16:01:06 UTC) #2
niemeyer
This is awesome. Just needs thinking around errors. https://codereview.appspot.com/6430055/diff/5001/state/relation.go File state/relation.go (right): https://codereview.appspot.com/6430055/diff/5001/state/relation.go#newcode174 state/relation.go:174: if ...
11 years, 9 months ago (2012-07-23 11:10:44 UTC) #3
fwereade
Please take a look.
11 years, 9 months ago (2012-07-23 13:18:27 UTC) #4
niemeyer
LGTM, thanks.
11 years, 9 months ago (2012-07-23 17:10:35 UTC) #5
fwereade
11 years, 9 months ago (2012-07-23 18:16:09 UTC) #6
*** Submitted:

Add RelationUnit type

This is kinda like the original RelationUnit proposed a few days ago, but
exposes its various bits of functionality separately rather than being a
magical watch-and-join chimera.

Notably, RelationUnitsWatcher is now exported, so the internal tests have
been dropped.

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

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