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

Issue 5444043: juju/go: add cloudinit package.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by rog
Modified:
12 years, 4 months ago
Reviewers:
niemeyer, mp+83584
Visibility:
Public.

Description

The cloudinit package encapsulates knowledge about the format of the cloudinit configuration data. https://code.launchpad.net/~rogpeppe/juju/go-cloudinit/+merge/83584 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : - #

Total comments: 8

Patch Set 3 : - #

Patch Set 4 : - #

Patch Set 5 : - #

Patch Set 6 : - #

Total comments: 18

Patch Set 7 : juju/go: add cloudinit package. #

Patch Set 8 : juju/go: add cloudinit package. #

Total comments: 1

Patch Set 9 : juju/go: add cloudinit package. #

Patch Set 10 : juju/go: add cloudinit package. #

Total comments: 14

Patch Set 11 : juju/go: add cloudinit package. #

Patch Set 12 : juju/go: add cloudinit package. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+521 lines, -18 lines) Patch
all.bash View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A all.bash View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -18 lines 0 comments Download
cloudinit/Makefile View 1 2 3 4 5 6 7 8 9 10 1 chunk +24 lines, -0 lines 0 comments Download
cloudinit/cloudinit.go View 1 2 3 4 5 6 7 8 9 10 1 chunk +66 lines, -0 lines 0 comments Download
cloudinit/cloudinit_test.go View 1 2 3 4 5 6 7 8 9 10 1 chunk +199 lines, -0 lines 0 comments Download
cloudinit/options.go View 1 2 3 4 5 6 7 8 9 10 1 chunk +214 lines, -0 lines 0 comments Download

Messages

Total messages: 22
niemeyer
http://codereview.appspot.com/5444043/diff/2001/cloudinit/cloudinit.go File cloudinit/cloudinit.go (right): http://codereview.appspot.com/5444043/diff/2001/cloudinit/cloudinit.go#newcode2 cloudinit/cloudinit.go:2: // a cloudinit configuration file. s/cloudinit conf/cloud-init conf/ Our ...
12 years, 4 months ago (2011-12-07 21:08:13 UTC) #1
rog
On 7 December 2011 21:08, <n13m3y3r@gmail.com> wrote: > Also note that we don't need _all_ ...
12 years, 4 months ago (2011-12-08 16:49:15 UTC) #2
niemeyer
> my idea was to make this package useful for others too. > now that ...
12 years, 4 months ago (2011-12-08 17:21:12 UTC) #3
rog
oops, i never published these! http://codereview.appspot.com/5444043/diff/2001/cloudinit/cloudinit.go File cloudinit/cloudinit.go (right): http://codereview.appspot.com/5444043/diff/2001/cloudinit/cloudinit.go#newcode2 cloudinit/cloudinit.go:2: // a cloudinit configuration ...
12 years, 4 months ago (2011-12-08 18:26:55 UTC) #4
rog
PTAL
12 years, 4 months ago (2011-12-08 18:30:50 UTC) #5
niemeyer
The interface is still following the same underlying principle, and still feels more verbose than ...
12 years, 4 months ago (2011-12-09 15:34:15 UTC) #6
rog
it's a little more verbose because it's more regular. the same operators apply to any ...
12 years, 4 months ago (2011-12-09 15:43:11 UTC) #7
niemeyer
> it's a little more verbose because it's more regular. > the same operators apply ...
12 years, 4 months ago (2011-12-09 16:03:59 UTC) #8
rog
On 9 December 2011 16:03, Gustavo Niemeyer <n13m3y3r@gmail.com> wrote: >> it's a little more verbose ...
12 years, 4 months ago (2011-12-09 16:11:21 UTC) #9
rog
PTAL it probably needs a few more comments, but i hope it's more to your ...
12 years, 4 months ago (2011-12-09 17:55:16 UTC) #10
niemeyer
> it means sacrificing the ability to do: > > config.SetOption(cloudinit.Whatever(a, b, c)) This means ...
12 years, 4 months ago (2011-12-09 18:05:05 UTC) #11
niemeyer
Much better now, thank you. A few last details: https://codereview.appspot.com/5444043/diff/18001/cloudinit/cloudinit_test.go File cloudinit/cloudinit_test.go (right): https://codereview.appspot.com/5444043/diff/18001/cloudinit/cloudinit_test.go#newcode21 cloudinit/cloudinit_test.go:21: ...
12 years, 4 months ago (2011-12-13 11:58:07 UTC) #12
rog
https://codereview.appspot.com/5444043/diff/18001/cloudinit/cloudinit_test.go File cloudinit/cloudinit_test.go (right): https://codereview.appspot.com/5444043/diff/18001/cloudinit/cloudinit_test.go#newcode21 cloudinit/cloudinit_test.go:21: name string On 2011/12/13 11:58:07, niemeyer wrote: > I ...
12 years, 4 months ago (2011-12-13 16:15:15 UTC) #13
rog
Please take a look.
12 years, 4 months ago (2011-12-13 16:42:56 UTC) #14
niemeyer
It's looking good. Just one problem I noticed now, plus the comments, and it should ...
12 years, 4 months ago (2011-12-13 21:54:14 UTC) #15
rog
Please take a look.
12 years, 4 months ago (2011-12-14 12:56:01 UTC) #16
rog
Please take a look.
12 years, 4 months ago (2011-12-14 12:58:21 UTC) #17
rog
PTAL
12 years, 4 months ago (2011-12-14 12:59:14 UTC) #18
niemeyer
Another round. https://codereview.appspot.com/5444043/diff/25007/cloudinit/options.go File cloudinit/options.go (right): https://codereview.appspot.com/5444043/diff/25007/cloudinit/options.go#newcode80 cloudinit/options.go:80: // AddRunCommand adds a command to be ...
12 years, 4 months ago (2011-12-14 13:57:57 UTC) #19
rog
Please take a look.
12 years, 4 months ago (2011-12-14 15:25:20 UTC) #20
rog
https://codereview.appspot.com/5444043/diff/25007/cloudinit/options.go File cloudinit/options.go (right): https://codereview.appspot.com/5444043/diff/25007/cloudinit/options.go#newcode80 cloudinit/options.go:80: // AddRunCommand adds a command to be executed On ...
12 years, 4 months ago (2011-12-14 15:25:52 UTC) #21
niemeyer
12 years, 4 months ago (2011-12-14 16:07:45 UTC) #22
LGTM
Sign in to reply to this message.

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