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

Issue 6458085: cmd/juju: add expose (Closed)

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

Description

cmd/juju: add expose Adds juju expose command, also normalises the format of commadn descriptions (no capital letters, no trailing period). https://code.launchpad.net/~dave-cheney/juju-core/go-cmd-juju-expose/+merge/118324 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : cmd/juju: add expose #

Patch Set 3 : cmd/juju: add expose #

Total comments: 7

Patch Set 4 : cmd/juju: add expose #

Patch Set 5 : cmd/juju: add expose #

Total comments: 4

Patch Set 6 : cmd/juju: add expose #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -1 line) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/cmd_test.go View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
A cmd/juju/expose.go View 1 2 3 4 5 1 chunk +55 lines, -0 lines 0 comments Download
A cmd/juju/expose_test.go View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download
M cmd/juju/main.go View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cmd/juju/main_test.go View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cmd/juju/status.go View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8
dfc
Please take a look.
11 years, 8 months ago (2012-08-06 09:48:02 UTC) #1
fwereade
Couple of suggestions https://codereview.appspot.com/6458085/diff/4001/cmd/juju/expose.go File cmd/juju/expose.go (right): https://codereview.appspot.com/6458085/diff/4001/cmd/juju/expose.go#newcode49 cmd/juju/expose.go:49: service, err := st.Service(c.ServiceName) I'm pretty ...
11 years, 8 months ago (2012-08-06 11:04:40 UTC) #2
dfc
Please take a look. https://codereview.appspot.com/6458085/diff/4001/cmd/juju/expose.go File cmd/juju/expose.go (right): https://codereview.appspot.com/6458085/diff/4001/cmd/juju/expose.go#newcode49 cmd/juju/expose.go:49: service, err := st.Service(c.ServiceName) On ...
11 years, 8 months ago (2012-08-06 21:52:50 UTC) #3
dfc
Please take a look.
11 years, 8 months ago (2012-08-07 01:42:58 UTC) #4
fwereade
LGTM
11 years, 8 months ago (2012-08-07 07:31:05 UTC) #5
niemeyer
https://codereview.appspot.com/6458085/diff/4001/cmd/juju/expose.go File cmd/juju/expose.go (right): https://codereview.appspot.com/6458085/diff/4001/cmd/juju/expose.go#newcode49 cmd/juju/expose.go:49: service, err := st.Service(c.ServiceName) On 2012/08/06 21:52:50, dfc wrote: ...
11 years, 8 months ago (2012-08-07 11:17:49 UTC) #6
niemeyer
LGTM https://codereview.appspot.com/6458085/diff/4003/juju/expose.go File juju/expose.go (right): https://codereview.appspot.com/6458085/diff/4003/juju/expose.go#newcode3 juju/expose.go:3: // Expose exposes a service to the internet. ...
11 years, 8 months ago (2012-08-07 13:01:47 UTC) #7
dfc
11 years, 8 months ago (2012-08-08 02:12:06 UTC) #8
*** Submitted:

cmd/juju: add expose

Adds juju expose command, also normalises the format of
commadn descriptions (no capital letters, no trailing period).

R=fwereade, niemeyer
CC=
https://codereview.appspot.com/6458085

https://codereview.appspot.com/6458085/diff/4003/juju/expose.go
File juju/expose.go (right):

https://codereview.appspot.com/6458085/diff/4003/juju/expose.go#newcode3
juju/expose.go:3: // Expose exposes a service to the internet.
Thank you for your comments. As discussed on juju-dev there is no clear
consensus on the utility of conn.State(). In light of that I have rolled this
functionality back into cmd/juju/expose.go directly.
Sign in to reply to this message.

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