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

Issue 6441078: state: make agents have proposed tools not versions.

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

Description

state: make agents have proposed tools not versions. With the proposed upgrade changes, we want to propose a version of the tools and a URL to find the tools. To do that, we move the Tool type into state and make the old agentVersion type use it, renaming it to agentTools. https://code.launchpad.net/~rogpeppe/juju-core/state-propose-tools/+merge/117482 Requires: https://code.launchpad.net/~rogpeppe/juju-core/version-number/+merge/117407 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: make agents have proposed tools not versions. #

Total comments: 3

Patch Set 3 : state: make agents have proposed tools not versions. #

Patch Set 4 : state: make agents have proposed tools not versions. #

Patch Set 5 : state: make agents have proposed tools not versions. #

Patch Set 6 : state: make agents have proposed tools not versions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -140 lines) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M environs/dummy/environs.go View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M environs/ec2/ec2.go View 3 chunks +4 lines, -4 lines 0 comments Download
M environs/interface.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/jujutest/livetests.go View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M environs/tools.go View 1 2 3 6 chunks +9 lines, -14 lines 0 comments Download
M environs/tools_test.go View 1 2 3 7 chunks +8 lines, -7 lines 0 comments Download
M state/machine.go View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M state/machine_test.go View 1 2 3 4 6 chunks +59 lines, -36 lines 0 comments Download
M state/tools_test.go View 1 2 1 chunk +46 lines, -29 lines 0 comments Download
M state/unit.go View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M state/util.go View 1 2 3 4 2 chunks +69 lines, -43 lines 0 comments Download

Messages

Total messages: 4
rog
Please take a look.
11 years, 9 months ago (2012-07-31 16:33:54 UTC) #1
niemeyer
Nice changes too. LGTM. https://codereview.appspot.com/6441078/diff/1001/state/tools_test.go File state/tools_test.go (right): https://codereview.appspot.com/6441078/diff/1001/state/tools_test.go#newcode11 state/tools_test.go:11: AgentTools() (*state.Tools, error) Nice. https://codereview.appspot.com/6441078/diff/1001/state/util.go ...
11 years, 9 months ago (2012-07-31 18:57:46 UTC) #2
rog
Please take a look. https://codereview.appspot.com/6441078/diff/1001/state/util.go File state/util.go (right): https://codereview.appspot.com/6441078/diff/1001/state/util.go#newcode136 state/util.go:136: defer errorContextf(&err, "cannot set %s ...
11 years, 9 months ago (2012-08-01 13:59:27 UTC) #3
rog
11 years, 9 months ago (2012-08-01 17:10:05 UTC) #4
*** Submitted:

state: make agents have proposed tools not versions.

With the proposed upgrade changes, we want to propose
a version of the tools and a URL to find the tools.
To do that, we move the Tool type into state and
make the old agentVersion type use it, renaming
it to agentTools.

R=niemeyer
CC=
https://codereview.appspot.com/6441078
Sign in to reply to this message.

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