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

Issue 5655043: state: add Info type and make Open use it

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

Description

https://code.launchpad.net/~rogpeppe/juju/go-state-info/+merge/92321 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 10

Patch Set 2 : state: add Info type and make Open use it #

Total comments: 17

Patch Set 3 : state: add Info type and make Open use it #

Total comments: 5

Patch Set 4 : state: add Info type and make Open use it #

Patch Set 5 : state: add Info type and make Open use it #

Patch Set 6 : state: add Info type and make Open use it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -82 lines) Patch
A state/export_test.go View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
M state/internal_test.go View 1 2 3 4 5 4 chunks +15 lines, -29 lines 0 comments Download
A state/open.go View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
M state/state.go View 1 2 3 4 5 2 chunks +29 lines, -34 lines 0 comments Download
M state/state_test.go View 1 2 3 4 5 2 chunks +8 lines, -19 lines 0 comments Download

Messages

Total messages: 14
rog
Please take a look.
12 years, 3 months ago (2012-02-09 17:06:16 UTC) #1
TheMue
https://codereview.appspot.com/5655043/diff/1/state/export_test.go File state/export_test.go (right): https://codereview.appspot.com/5655043/diff/1/state/export_test.go#newcode1 state/export_test.go:1: package state What is the idea behind this test ...
12 years, 3 months ago (2012-02-09 20:41:27 UTC) #2
rog
Please take a look.
12 years, 3 months ago (2012-02-10 09:02:39 UTC) #3
rog
PTAL https://codereview.appspot.com/5655043/diff/1/state/export_test.go File state/export_test.go (right): https://codereview.appspot.com/5655043/diff/1/state/export_test.go#newcode1 state/export_test.go:1: package state On 2012/02/09 20:41:27, TheMue wrote: > ...
12 years, 3 months ago (2012-02-10 09:03:51 UTC) #4
fwereade
https://codereview.appspot.com/5655043/diff/2003/state/open.go File state/open.go (right): https://codereview.appspot.com/5655043/diff/2003/state/open.go#newcode17 state/open.go:17: Addrs []string I'm not totally wild about turning a ...
12 years, 3 months ago (2012-02-10 12:07:42 UTC) #5
niemeyer
https://codereview.appspot.com/5655043/diff/2003/state/open.go File state/open.go (right): https://codereview.appspot.com/5655043/diff/2003/state/open.go#newcode10 state/open.go:10: // Info encapsulates information about a juju state server ...
12 years, 3 months ago (2012-02-10 12:12:26 UTC) #6
rog
Please take a look.
12 years, 3 months ago (2012-02-10 12:22:37 UTC) #7
rog
https://codereview.appspot.com/5655043/diff/2003/state/open.go File state/open.go (right): https://codereview.appspot.com/5655043/diff/2003/state/open.go#newcode17 state/open.go:17: Addrs []string On 2012/02/10 12:07:42, fwereade wrote: > I'm ...
12 years, 3 months ago (2012-02-10 12:23:14 UTC) #8
TheMue
https://codereview.appspot.com/5655043/diff/6001/state/open.go File state/open.go (right): https://codereview.appspot.com/5655043/diff/6001/state/open.go#newcode17 state/open.go:17: Addrs []string How about an own type Addresses []string ...
12 years, 3 months ago (2012-02-10 12:31:09 UTC) #9
niemeyer
https://codereview.appspot.com/5655043/diff/6001/state/open.go File state/open.go (right): https://codereview.appspot.com/5655043/diff/6001/state/open.go#newcode34 state/open.go:34: // throw away subsequent session events. Please remove that. ...
12 years, 3 months ago (2012-02-10 12:36:12 UTC) #10
rog
Please take a look.
12 years, 3 months ago (2012-02-10 12:48:30 UTC) #11
rog
https://codereview.appspot.com/5655043/diff/2003/state/open.go File state/open.go (right): https://codereview.appspot.com/5655043/diff/2003/state/open.go#newcode10 state/open.go:10: // Info encapsulates information about a juju state server ...
12 years, 3 months ago (2012-02-10 12:48:43 UTC) #12
niemeyer
LGTM https://codereview.appspot.com/5655043/diff/2003/state/open.go File state/open.go (right): https://codereview.appspot.com/5655043/diff/2003/state/open.go#newcode31 state/open.go:31: if !(<-session).Ok() { On 2012/02/10 12:48:44, rog wrote: ...
12 years, 3 months ago (2012-02-10 13:05:58 UTC) #13
rog
12 years, 3 months ago (2012-02-10 13:49:29 UTC) #14
*** Submitted:

state: add Info type and make Open use it

R=TheMue, fwereade, niemeyer
CC=
https://codereview.appspot.com/5655043
Sign in to reply to this message.

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