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

Issue 6011047: More watchers for Unit. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by TheMue
Modified:
12 years, 11 months ago
Reviewers:
rog, niemeyer, mp+101760
Visibility:
Public.

Description

More watchers for Unit. Adding of NeedsUpgradeWatcher, ResolvedWatcher and PortsWatcher for Units. They all are based on the new ExistenceWatcher for the creation, content changing and deletion of nodes. https://code.launchpad.net/~themue/juju/go-state-more-unit-watchers/+merge/101760 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 24

Patch Set 2 : More watchers for Unit. #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+720 lines, -102 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M state/state.go View 1 1 chunk +6 lines, -0 lines 1 comment Download
M state/state_test.go View 1 chunk +1 line, -1 line 0 comments Download
M state/unit.go View 1 9 chunks +246 lines, -16 lines 2 comments Download
M state/watch_test.go View 1 5 chunks +191 lines, -19 lines 0 comments Download
M state/watcher/watcher.go View 1 1 chunk +115 lines, -0 lines 3 comments Download
M state/watcher/watcher_test.go View 1 1 chunk +159 lines, -66 lines 0 comments Download

Messages

Total messages: 7
TheMue
Please take a look.
12 years, 11 months ago (2012-04-12 15:37:11 UTC) #1
rog
looks good. https://codereview.appspot.com/6011047/diff/1/state/unit.go File state/unit.go (right): https://codereview.appspot.com/6011047/diff/1/state/unit.go#newcode489 state/unit.go:489: // NeedsUpgradeWatcher observes changes to a upgrade ...
12 years, 11 months ago (2012-04-16 11:43:01 UTC) #2
TheMue
Please take a look. https://codereview.appspot.com/6011047/diff/1/state/unit.go File state/unit.go (right): https://codereview.appspot.com/6011047/diff/1/state/unit.go#newcode489 state/unit.go:489: // NeedsUpgradeWatcher observes changes to ...
12 years, 11 months ago (2012-04-16 15:45:30 UTC) #3
rog
https://codereview.appspot.com/6011047/diff/1/state/watch_test.go File state/watch_test.go (right): https://codereview.appspot.com/6011047/diff/1/state/watch_test.go#newcode13 state/watch_test.go:13: return change, ok, false On 2012/04/16 15:45:31, TheMue wrote: ...
12 years, 11 months ago (2012-04-16 16:02:50 UTC) #4
niemeyer
As we discussed over IRC, can you please break that down into smaller chunks? https://codereview.appspot.com/6011047/diff/6001/state/state.go ...
12 years, 11 months ago (2012-04-16 16:58:46 UTC) #5
niemeyer
More notes on the changes in watcher to get you going tomorrow. https://codereview.appspot.com/6011047/diff/6001/state/watcher/watcher.go File state/watcher/watcher.go ...
12 years, 11 months ago (2012-04-16 17:35:00 UTC) #6
niemeyer
12 years, 11 months ago (2012-04-18 19:16:28 UTC) #7
For the record, this work is being split down into other smaller branches.
Please do keep these reviews in mind, though.
Sign in to reply to this message.

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