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

Issue 11036043: tools: rename tools/ to agent/

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by jameinel
Modified:
10 years, 9 months ago
Reviewers:
jtv.canonical, fwereade, mp+173703
Visibility:
Public.

Description

tools: rename tools/ to agent/ This changes the top level package to 'agent', and moves all of the code from environs/agent into that file. This fits in with what Tim wants to do (drop state.Tools), and what William and I agreed (environs/agent shouldn't be in environs and doesn't, in fact, depend on environs anyway). https://code.launchpad.net/~jameinel/juju-core/tools-to-agent/+merge/173703 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3

Patch Set 2 : tools: rename tools/ to agent/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -129 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M agent/agent.go View 1 chunk +5 lines, -3 lines 0 comments Download
M agent/agent_test.go View 1 chunk +7 lines, -5 lines 0 comments Download
M agent/diskmanager.go View 2 chunks +4 lines, -8 lines 0 comments Download
M agent/diskmanager_test.go View 5 chunks +10 lines, -40 lines 0 comments Download
M agent/interfaces.go View 1 chunk +1 line, -1 line 0 comments Download
M agent/tools_compat_test.go View 1 1 chunk +14 lines, -17 lines 0 comments Download
M agent/tools_test.go View 1 chunk +6 lines, -4 lines 0 comments Download
M cmd/jujud/agent.go View 2 chunks +4 lines, -2 lines 0 comments Download
M cmd/jujud/agent_test.go View 2 chunks +7 lines, -5 lines 0 comments Download
M cmd/jujud/bootstrap_test.go View 1 chunk +3 lines, -1 line 0 comments Download
M cmd/jujud/machine_test.go View 2 chunks +6 lines, -4 lines 0 comments Download
M cmd/jujud/unit_test.go View 1 chunk +4 lines, -2 lines 0 comments Download
M cmd/jujud/upgrade.go View 1 chunk +6 lines, -4 lines 0 comments Download
M cmd/jujud/upgrade_test.go View 1 chunk +5 lines, -3 lines 0 comments Download
M environs/bootstrap.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/cloudinit/cloudinit.go View 1 chunk +1 line, -1 line 0 comments Download
M worker/deployer/simple.go View 1 chunk +1 line, -1 line 0 comments Download
M worker/deployer/simple_test.go View 1 chunk +2 lines, -1 line 0 comments Download
M worker/provisioner/lxc-broker.go View 1 chunk +2 lines, -1 line 0 comments Download
M worker/provisioner/lxc-broker_test.go View 1 chunk +2 lines, -1 line 0 comments Download
M worker/provisioner/provisioner.go View 1 chunk +4 lines, -3 lines 0 comments Download
M worker/uniter/tools_test.go View 1 chunk +6 lines, -4 lines 0 comments Download
M worker/uniter/uniter.go View 2 chunks +9 lines, -7 lines 0 comments Download
M worker/uniter/uniter_test.go View 2 chunks +12 lines, -10 lines 0 comments Download

Messages

Total messages: 4
jameinel
Please take a look.
10 years, 10 months ago (2013-07-09 12:03:01 UTC) #1
fwereade
LGTM
10 years, 9 months ago (2013-07-10 09:11:59 UTC) #2
jtv.canonical
I'm in no position to judge the intended change, but then that's not what reviews ...
10 years, 9 months ago (2013-07-10 11:31:59 UTC) #3
jameinel
10 years, 9 months ago (2013-07-10 13:14:47 UTC) #4
Please take a look.

https://codereview.appspot.com/11036043/diff/1/agent/tools_compat_test.go
File agent/tools_compat_test.go (right):

https://codereview.appspot.com/11036043/diff/1/agent/tools_compat_test.go#new...
agent/tools_compat_test.go:21: // When Tim's patch lands to use agent.Tools
everywhere, we can get rid of
On 2013/07/10 11:32:00, jtv.canonical wrote:
> 
> Maybe make this a TODO?
> 
> Also, is this entire test file meant for that kind of test, or might others
add
> more tests here that should not be deleted?
> 
> In the former case, best document the file's purpose.  In the latter case,
it'd
> be helpful to be precise about which files should go — e.g. by repeating a
> single TODO line for each.

I made it a TODO and made it clearer that the test suite (and file) can be
removed once we've transitioned to agent.Tools instead of state.Tools.
Sign in to reply to this message.

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