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

Issue 11028043: remove state.Tools and use tools.Tools

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by thumper
Modified:
10 years, 9 months ago
Reviewers:
dimitern, dave, jameinel, mp+173645
Visibility:
Public.

Description

remove state.Tools and use tools.Tools Mega-move, but this branch just moves environ/agent/tools.go and tests into tools. Also moves state bson marshalling into tools. https://code.launchpad.net/~thumper/juju-core/move-environs-tools/+merge/173645 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -362 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/bootstrap_test.go View 1 chunk +1 line, -1 line 0 comments Download
M cmd/juju/status.go View 2 chunks +2 lines, -1 line 0 comments Download
M cmd/juju/status_test.go View 3 chunks +3 lines, -2 lines 0 comments Download
M cmd/juju/synctools.go View 3 chunks +3 lines, -4 lines 0 comments Download
M cmd/juju/synctools_test.go View 1 chunk +1 line, -1 line 0 comments Download
M cmd/juju/upgradejuju.go View 1 chunk +1 line, -1 line 0 comments Download
M cmd/juju/upgradejuju_test.go View 2 chunks +2 lines, -3 lines 0 comments Download
M cmd/jujud/agent.go View 2 chunks +2 lines, -1 line 0 comments Download
M cmd/jujud/agent_test.go View 7 chunks +16 lines, -16 lines 1 comment Download
M cmd/jujud/machine_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M cmd/jujud/unit_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M cmd/jujud/upgrade.go View 8 chunks +14 lines, -14 lines 0 comments Download
M cmd/jujud/upgrade_test.go View 7 chunks +13 lines, -14 lines 0 comments Download
M container/lxc/lxc.go View 6 chunks +7 lines, -5 lines 0 comments Download
M container/lxc/lxc_test.go View 2 chunks +2 lines, -2 lines 0 comments Download
M environs/agent/agent.go View 3 chunks +3 lines, -2 lines 0 comments Download
M environs/cloudinit/cloudinit.go View 4 chunks +4 lines, -3 lines 0 comments Download
M environs/cloudinit/cloudinit_test.go View 3 chunks +4 lines, -3 lines 0 comments Download
M environs/ec2/ec2.go View 2 chunks +2 lines, -2 lines 0 comments Download
M environs/jujutest/livetests.go View 6 chunks +5 lines, -5 lines 0 comments Download
M environs/maas/environ.go View 2 chunks +2 lines, -2 lines 0 comments Download
M environs/maas/environ_test.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/maas/util_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M environs/openstack/export_test.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/openstack/provider.go View 2 chunks +2 lines, -2 lines 0 comments Download
M environs/testing/storage.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/testing/tools.go View 2 chunks +5 lines, -6 lines 0 comments Download
M environs/tools.go View 2 chunks +2 lines, -3 lines 0 comments Download
M environs/tools_test.go View 1 chunk +1 line, -1 line 0 comments Download
M state/api/params/internal.go View 1 chunk +1 line, -1 line 0 comments Download
M state/api/upgrader/upgrader_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M state/apiserver/upgrader/upgrader.go View 2 chunks +13 lines, -12 lines 0 comments Download
M state/apiserver/upgrader/upgrader_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M state/machine.go View 4 chunks +5 lines, -4 lines 0 comments Download
M state/machine_test.go View 3 chunks +3 lines, -2 lines 0 comments Download
M state/state.go View 2 chunks +0 lines, -33 lines 0 comments Download
M state/state_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M state/tools_test.go View 4 chunks +6 lines, -39 lines 0 comments Download
M state/unit.go View 4 chunks +4 lines, -3 lines 0 comments Download
M tools/agent.go View 6 chunks +8 lines, -8 lines 0 comments Download
M tools/agent_test.go View 5 chunks +35 lines, -34 lines 0 comments Download
M tools/build.go View 1 chunk +2 lines, -1 line 0 comments Download
M tools/diskmanager.go View 2 chunks +3 lines, -9 lines 0 comments Download
M tools/diskmanager_test.go View 3 chunks +0 lines, -30 lines 0 comments Download
M tools/export_test.go View 0 chunks +-1 lines, --1 lines 0 comments Download
M tools/list.go View 3 chunks +7 lines, -7 lines 0 comments Download
M tools/list_test.go View 1 chunk +6 lines, -9 lines 0 comments Download
A tools/marshal.go View 1 chunk +36 lines, -0 lines 2 comments Download
A tools/marshal_test.go View 1 chunk +57 lines, -0 lines 0 comments Download
M tools/storage.go View 4 chunks +6 lines, -6 lines 1 comment Download
M tools/storage_test.go View 3 chunks +11 lines, -10 lines 0 comments Download
M tools/tools_test.go View 1 chunk +0 lines, -24 lines 0 comments Download
M worker/deployer/simple.go View 4 chunks +5 lines, -4 lines 3 comments Download
M worker/deployer/simple_test.go View 3 chunks +4 lines, -3 lines 0 comments Download
M worker/provisioner/lxc-broker.go View 3 chunks +3 lines, -2 lines 0 comments Download
M worker/provisioner/lxc-broker_test.go View 3 chunks +3 lines, -3 lines 0 comments Download
M worker/provisioner/provisioner.go View 2 chunks +3 lines, -3 lines 0 comments Download
M worker/uniter/tools_test.go View 2 chunks +3 lines, -3 lines 0 comments Download
M worker/uniter/uniter.go View 2 chunks +10 lines, -8 lines 0 comments Download
M worker/uniter/uniter_test.go View 3 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4
thumper
Please take a look.
10 years, 9 months ago (2013-07-09 05:08:27 UTC) #1
dave_cheney.net
Phew! LGTM with minor comments. https://codereview.appspot.com/11028043/diff/1/cmd/jujud/agent_test.go File cmd/jujud/agent_test.go (right): https://codereview.appspot.com/11028043/diff/1/cmd/jujud/agent_test.go#newcode123 cmd/jujud/agent_test.go:123: c.Assert(err, IsNil) unfortunate https://codereview.appspot.com/11028043/diff/1/tools/marshal.go ...
10 years, 9 months ago (2013-07-09 05:36:03 UTC) #2
jameinel
We chatted a bit on IRC, and I think we sorted out that we'd rather ...
10 years, 9 months ago (2013-07-09 07:37:43 UTC) #3
dimitern
10 years, 9 months ago (2013-07-11 20:44:33 UTC) #4
LGTM, nice!
Sign in to reply to this message.

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