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

Issue 6081044: environs: add client version argument to Bootstrap

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

Description

environs: add client version argument to Bootstrap https://code.launchpad.net/~rogpeppe/juju/go-environs-add-bootstrap-version/+merge/102896 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : environs: add client version argument to Bootstrap #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -15 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M environs/dummy/environs.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/ec2/ec2.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/ec2/local_test.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/interface.go View 1 chunk +3 lines, -1 line 3 comments Download
M environs/jujutest/livetests.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/jujutest/test.go View 2 chunks +3 lines, -1 line 0 comments Download
M environs/jujutest/tests.go View 3 chunks +8 lines, -5 lines 0 comments Download
M store/charmd/main.go View 1 chunk +1 line, -1 line 0 comments Download
M store/server_test.go View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 6
rog
Please take a look.
12 years ago (2012-04-20 16:30:33 UTC) #1
fwereade
LGTM
12 years ago (2012-04-20 16:32:41 UTC) #2
TheMue
On 2012/04/20 16:30:33, rog wrote: > Please take a look. LGTM
12 years ago (2012-04-20 17:12:38 UTC) #3
niemeyer
https://codereview.appspot.com/6081044/diff/2001/environs/interface.go File environs/interface.go (right): https://codereview.appspot.com/6081044/diff/2001/environs/interface.go#newcode58 environs/interface.go:58: Bootstrap(clientVersion string) error Why is this necessary? Bootstrap must ...
11 years, 12 months ago (2012-04-24 00:41:48 UTC) #4
rog
https://codereview.appspot.com/6081044/diff/2001/environs/interface.go File environs/interface.go (right): https://codereview.appspot.com/6081044/diff/2001/environs/interface.go#newcode58 environs/interface.go:58: Bootstrap(clientVersion string) error On 2012/04/24 00:41:49, niemeyer wrote: > ...
11 years, 12 months ago (2012-04-24 15:51:03 UTC) #5
niemeyer
11 years, 12 months ago (2012-04-24 17:53:51 UTC) #6
https://codereview.appspot.com/6081044/diff/2001/environs/interface.go
File environs/interface.go (right):

https://codereview.appspot.com/6081044/diff/2001/environs/interface.go#newcode58
environs/interface.go:58: Bootstrap(clientVersion string) error
On Tue, Apr 24, 2012 at 12:51,  <rogpeppe@gmail.com> wrote:
> two issues here:
> 1) It might be useful to be able to deploy a particular
> client version, not just the current client's version,
> for testing purposes.

Maybe, but that's an advanced need we can cover down the road. We should get the
basics working first. This will also enable us to avoid such an open ended
branch that changes an API without connecting it to the backend or frontend in a
way we can be sure makes sense.

> 2) I'm not sure of the best place to put the version number. Do we have
> a package specifically to hold the version number?

juju/version might be a good candidate. We could have the simplified
version.Version type there, and version.Current as an instance of it.

> I'll rephrase if we keep the argument. I'd intended that meaning. "The
> client version is used to select ..."?

Yeah, that'd sound good, but I suggest getting rid of the argument, at least for
the moment.
Sign in to reply to this message.

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