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

Issue 6245048: environs/ec2: use Go client on server.

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

Description

environs/ec2: use Go client on server. https://code.launchpad.net/~rogpeppe/juju/go-ec2-use-go-client/+merge/107246 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : environs/ec2: use Go client on server. #

Total comments: 24

Patch Set 3 : environs/ec2: use Go client on server. #

Patch Set 4 : environs/ec2: use Go client on server. #

Total comments: 6

Patch Set 5 : environs/ec2: use Go client on server. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -404 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M environs/ec2/cloudinit.go View 1 2 7 chunks +49 lines, -186 lines 0 comments Download
M environs/ec2/cloudinit_test.go View 7 chunks +29 lines, -143 lines 0 comments Download
M environs/ec2/config.go View 3 chunks +0 lines, -10 lines 0 comments Download
M environs/ec2/config_test.go View 1 chunk +0 lines, -26 lines 0 comments Download
M environs/ec2/ec2.go View 1 2 5 chunks +13 lines, -8 lines 0 comments Download
M environs/ec2/export_test.go View 2 chunks +9 lines, -0 lines 0 comments Download
M environs/ec2/live_test.go View 1 2 4 chunks +20 lines, -3 lines 0 comments Download
M environs/ec2/local_test.go View 1 2 3 4 8 chunks +38 lines, -11 lines 0 comments Download
M environs/jujutest/test.go View 1 chunk +1 line, -2 lines 0 comments Download
M environs/tools.go View 1 2 3 4 3 chunks +7 lines, -8 lines 0 comments Download
M environs/tools_test.go View 1 2 3 4 2 chunks +3 lines, -7 lines 0 comments Download
M testing/log.go View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6
rog
Please take a look.
11 years, 11 months ago (2012-05-24 17:21:50 UTC) #1
niemeyer
Great stuff! https://codereview.appspot.com/6245048/diff/2001/environs/ec2/cloudinit.go File environs/ec2/cloudinit.go (right): https://codereview.appspot.com/6245048/diff/2001/environs/ec2/cloudinit.go#newcode34 environs/ec2/cloudinit.go:34: // executables. s/gives/is/ s/executables.// https://codereview.appspot.com/6245048/diff/2001/environs/ec2/cloudinit.go#newcode94 environs/ec2/cloudinit.go:94: addScripts(c, ...
11 years, 11 months ago (2012-05-25 02:29:56 UTC) #2
rog
Please take a look. https://codereview.appspot.com/6245048/diff/2001/environs/ec2/cloudinit.go File environs/ec2/cloudinit.go (right): https://codereview.appspot.com/6245048/diff/2001/environs/ec2/cloudinit.go#newcode34 environs/ec2/cloudinit.go:34: // executables. On 2012/05/25 02:29:56, ...
11 years, 11 months ago (2012-05-25 07:28:47 UTC) #3
rog
Please take a look.
11 years, 11 months ago (2012-05-25 17:12:03 UTC) #4
niemeyer
LGTM, with the following sorted. https://codereview.appspot.com/6245048/diff/2001/environs/ec2/cloudinit.go File environs/ec2/cloudinit.go (right): https://codereview.appspot.com/6245048/diff/2001/environs/ec2/cloudinit.go#newcode94 environs/ec2/cloudinit.go:94: addScripts(c, On 2012/05/25 07:28:47, ...
11 years, 11 months ago (2012-05-25 17:21:54 UTC) #5
rog
11 years, 11 months ago (2012-05-28 08:24:36 UTC) #6
*** Submitted:

environs/ec2: use Go client on server.

R=niemeyer
CC=
https://codereview.appspot.com/6245048

https://codereview.appspot.com/6245048/diff/2001/environs/ec2/cloudinit.go
File environs/ec2/cloudinit.go (right):

https://codereview.appspot.com/6245048/diff/2001/environs/ec2/cloudinit.go#ne...
environs/ec2/cloudinit.go:94: addScripts(c,
On 2012/05/25 17:21:54, niemeyer wrote:
> On 2012/05/25 07:28:47, rog wrote:
> > if i put in a comment, can we keep it here?
> 
> Sure, you can also keep them uncommented, but please at least pull up the "//
> TODO start machine agent" comment here, since this is what these variables are
> here for.

Done.

https://codereview.appspot.com/6245048/diff/3015/environs/ec2/local_test.go
File environs/ec2/local_test.go (right):

https://codereview.appspot.com/6245048/diff/3015/environs/ec2/local_test.go#n...
environs/ec2/local_test.go:122: path :=
environs.ToolsPathForVersion(version.Current, environs.CurrentSeries,
environs.CurrentArch)
On 2012/05/25 17:21:54, niemeyer wrote:
> s/ForVersion//? There's no other ToolsPath, and it's just not for the Version
> (version+arch+...).

Done.

https://codereview.appspot.com/6245048/diff/3015/environs/tools.go
File environs/tools.go (right):

https://codereview.appspot.com/6245048/diff/3015/environs/tools.go#newcode35
environs/tools.go:35: // store the juju tools with the given version, OS and
architecture.
On 2012/05/25 17:21:54, niemeyer wrote:
> // ToolsPath returns the path that is used to store and
> // retrieve the juju tools in a Storage.

Done.

https://codereview.appspot.com/6245048/diff/3015/environs/tools.go#newcode36
environs/tools.go:36: // It intended for testing purposes only.
On 2012/05/25 17:21:54, niemeyer wrote:
> Please drop the last line. If it's part of the API, it is indeed part of the
> API.

Done.
Sign in to reply to this message.

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