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

Issue 14426046: provider/*: standardise boilerplate

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by rog
Modified:
10 years, 6 months ago
Reviewers:
dimitern, mp+189850, natefinch
Visibility:
Public.

Description

provider/*: standardise boilerplate We make the attribute descriptions full sentences to aid comprehension, and separates them with newlines to make the boundaries clear. Since the entries are a little longer now, I've changed it to use 4-space indentation to make the transition between providers more obvious. We also remove optional standard config entries such as admin-secret. We should have a place in help where these attributes are documented. https://code.launchpad.net/~rogpeppe/juju-core/443-update-init-output/+merge/189850 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : provider/*: standardise boilerplate #

Total comments: 18

Patch Set 3 : provider/*: standardise boilerplate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -145 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/init_test.go View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M environs/boilerplate_config.go View 1 2 2 chunks +21 lines, -17 lines 0 comments Download
M provider/azure/config.go View 1 2 1 chunk +33 lines, -23 lines 0 comments Download
M provider/dummy/environs.go View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M provider/ec2/ec2.go View 1 2 1 chunk +11 lines, -13 lines 0 comments Download
M provider/local/environprovider.go View 1 2 1 chunk +18 lines, -15 lines 0 comments Download
M provider/maas/environprovider.go View 1 2 1 chunk +12 lines, -11 lines 0 comments Download
M provider/null/config.go View 2 chunks +3 lines, -1 line 0 comments Download
M provider/null/provider.go View 2 chunks +29 lines, -16 lines 0 comments Download
M provider/openstack/provider.go View 1 2 1 chunk +54 lines, -43 lines 0 comments Download

Messages

Total messages: 6
rog
Please take a look.
10 years, 6 months ago (2013-10-08 13:44:36 UTC) #1
natefinch
LGTM with some small tweaks. Definitely like the more readable configurations with line breaks.
10 years, 6 months ago (2013-10-08 14:33:52 UTC) #2
natefinch
https://codereview.appspot.com/14426046/diff/3001/provider/azure/config.go File provider/azure/config.go (right): https://codereview.appspot.com/14426046/diff/3001/provider/azure/config.go#newcode130 provider/azure/config.go:130: type: azure Can we include a link to the ...
10 years, 6 months ago (2013-10-08 14:34:04 UTC) #3
dimitern
https://codereview.appspot.com/14426046/diff/3001/provider/azure/config.go File provider/azure/config.go (right): https://codereview.appspot.com/14426046/diff/3001/provider/azure/config.go#newcode138 provider/azure/config.go:138: management-subscription-id: 886413e1-3b8a-5382-9b90-0c9aee199e5d On 2013/10/08 14:34:04, nate.finch wrote: > These ...
10 years, 6 months ago (2013-10-08 14:39:46 UTC) #4
rog
Please take a look. https://codereview.appspot.com/14426046/diff/3001/provider/azure/config.go File provider/azure/config.go (right): https://codereview.appspot.com/14426046/diff/3001/provider/azure/config.go#newcode130 provider/azure/config.go:130: type: azure On 2013/10/08 14:34:04, ...
10 years, 6 months ago (2013-10-11 14:07:06 UTC) #5
natefinch
10 years, 6 months ago (2013-10-11 14:30:37 UTC) #6
Great, LGTM.
Sign in to reply to this message.

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