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

Issue 14152043: Add/clean up a bunch of help docs

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by natefinch
Modified:
10 years, 7 months ago
Reviewers:
mp+188455, fwereade
Visibility:
Public.

Description

Add/clean up a bunch of help docs Help docs were primarily added around constraints, but I also tried to clean up related docs that I came across. https://code.launchpad.net/~natefinch/juju-core/016-cons-docs/+merge/188455 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 17
Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -14 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/addmachine.go View 1 chunk +15 lines, -3 lines 4 comments Download
M cmd/juju/addunit.go View 2 chunks +11 lines, -3 lines 0 comments Download
M cmd/juju/bootstrap.go View 2 chunks +24 lines, -0 lines 2 comments Download
M cmd/juju/constraints.go View 3 chunks +38 lines, -2 lines 2 comments Download
M cmd/juju/deploy.go View 1 chunk +16 lines, -3 lines 2 comments Download
M cmd/juju/get.go View 1 chunk +1 line, -1 line 0 comments Download
M cmd/juju/help_topics.go View 1 chunk +94 lines, -0 lines 5 comments Download
M cmd/juju/main.go View 1 chunk +1 line, -0 lines 0 comments Download
M cmd/juju/status.go View 1 chunk +9 lines, -1 line 2 comments Download
M cmd/juju/switch.go View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4
natefinch
Please take a look.
10 years, 7 months ago (2013-09-30 21:06:12 UTC) #1
fwereade
LGTM (progress-not-perfection) but a fewcomments that might be useful. Please also ping evilnickveitch and let ...
10 years, 7 months ago (2013-10-01 08:00:48 UTC) #2
natefinch
Made all the changes suggested, thanks for looking this over. https://codereview.appspot.com/14152043/diff/1/cmd/juju/addmachine.go File cmd/juju/addmachine.go (right): https://codereview.appspot.com/14152043/diff/1/cmd/juju/addmachine.go#newcode26 ...
10 years, 7 months ago (2013-10-01 14:38:55 UTC) #3
fwereade
10 years, 7 months ago (2013-10-04 10:17:29 UTC) #4
https://codereview.appspot.com/14152043/diff/1/cmd/juju/help_topics.go
File cmd/juju/help_topics.go (right):

https://codereview.appspot.com/14152043/diff/1/cmd/juju/help_topics.go#newcod...
cmd/juju/help_topics.go:256: provisioned by the command.  Constraints specified
with --constraints will
On 2013/10/01 14:38:55, nate.finch wrote:
> On 2013/10/01 08:00:48, fwereade wrote:
> > This implies that we have add-unit --constraints. Do we? If so that's a
> massive
> > screwup.
> 
> We have deploy --constraints, which functions as juju set-constraints
<service>
> && juju deploy <service>.  I actually assumed we had --constraints for
add-unit,
> and why not? It could function the same way as deploy does, as juju
> set-constraints <service> && juju add-unit <service>.  
> 
> However, you're right that add-unit doesn't actually support --constraints. 
> I'll remove the comment here and just leave deploy's help to explain how it's
> constraints flag works.

The big reason why not is that juju is about *service* orchestration, and that
we would prefer to present a worldview in which there's nothing special about
any individual unit.

Individual unit placement messes with this a bit, it's true, but there's still
currently a hard line between juju doing things automatically at service level,
and a unit-level backdoor which is completely user-driven.
Sign in to reply to this message.

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