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

Issue 7326052: state/statecmd: new package

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

Description

state/statecmd: new package This is the place where the command implementations in common between cmd/juju and state/api will live. In the next CL we'll make state/api call statecmd.SetConfig. https://code.launchpad.net/~rogpeppe/juju-core/224-api-config-set/+merge/149329 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state/statecmd: new package #

Total comments: 28

Patch Set 3 : state/statecmd: new package #

Patch Set 4 : state/statecmd: new package #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -133 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/config_test.go View 2 chunks +42 lines, -67 lines 0 comments Download
M cmd/juju/set.go View 1 2 3 chunks +20 lines, -66 lines 0 comments Download
A state/statecmd/config.go View 1 2 1 chunk +91 lines, -0 lines 0 comments Download
A state/statecmd/config_test.go View 1 2 1 chunk +139 lines, -0 lines 0 comments Download

Messages

Total messages: 8
rog
Please take a look.
11 years, 2 months ago (2013-02-19 16:45:21 UTC) #1
dimitern
Overall LGTM, but I have some questions/comments. https://codereview.appspot.com/7326052/diff/1001/cmd/juju/config_test.go File cmd/juju/config_test.go (right): https://codereview.appspot.com/7326052/diff/1001/cmd/juju/config_test.go#newcode114 cmd/juju/config_test.go:114: about: "--config ...
11 years, 2 months ago (2013-02-19 17:12:01 UTC) #2
fwereade
Needs a bit more thought, I'm afraid. https://codereview.appspot.com/7326052/diff/1001/cmd/juju/config_test.go File cmd/juju/config_test.go (right): https://codereview.appspot.com/7326052/diff/1001/cmd/juju/config_test.go#newcode135 cmd/juju/config_test.go:135: c.Check(code, Not(Equals), ...
11 years, 2 months ago (2013-02-20 08:01:16 UTC) #3
rog
https://codereview.appspot.com/7326052/diff/1001/cmd/juju/config_test.go File cmd/juju/config_test.go (right): https://codereview.appspot.com/7326052/diff/1001/cmd/juju/config_test.go#newcode114 cmd/juju/config_test.go:114: about: "--config $FILE test", On 2013/02/19 17:12:01, dimitern wrote: ...
11 years, 2 months ago (2013-02-20 08:43:42 UTC) #4
fwereade
As discussed online: statecmd is not sensible long term, and must be clearly documented as ...
11 years, 2 months ago (2013-02-20 10:41:12 UTC) #5
fwereade
On 2013/02/20 10:41:12, fwereade wrote: > As discussed online: statecmd is not sensible long term, ...
11 years, 2 months ago (2013-02-20 10:42:02 UTC) #6
rog
Please take a look. https://codereview.appspot.com/7326052/diff/1001/cmd/juju/set.go File cmd/juju/set.go (right): https://codereview.appspot.com/7326052/diff/1001/cmd/juju/set.go#newcode60 cmd/juju/set.go:60: } On 2013/02/20 08:01:16, fwereade ...
11 years, 2 months ago (2013-02-20 11:30:49 UTC) #7
rog
11 years, 2 months ago (2013-02-20 12:08:38 UTC) #8
*** Submitted:

state/statecmd: new package

This is the place where the command implementations in
common between cmd/juju and state/api will live.

In the next CL we'll make state/api call statecmd.SetConfig.

R=dimitern, fwereade
CC=
https://codereview.appspot.com/7326052
Sign in to reply to this message.

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