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

Issue 9074045: Move RepoSuite to live alongside JujuConnSuite

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by matthew.scott
Modified:
10 years, 11 months ago
Reviewers:
bac, teknico, mp+162457
Visibility:
Public.

Description

Move RepoSuite to live alongside JujuConnSuite This is the first step to implementing the upgrade-charm command, so that many of the tests involved with upgrading a charm can be performed from the statecmd_test package. This is a mostly mechanical change that moves the RepoSuite from just the cmd/juju package to juju/testing. The next step will be to refactor the deploy API command to be a proper statecmd, which can then be tested properly (it isn't, at the moment). Finally, as portions of the upgrade-charm statecmd will require deploying charms, the upgrade charm command can be moved to statecmd and tested properly. These branches will be proposed in order with requisites. https://code.launchpad.net/~makyo/juju-core/reposuite-refactor/+merge/162457 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move RepoSuite to live alongside JujuConnSuite #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -152 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/addrelation_test.go View 1 2 chunks +6 lines, -5 lines 0 comments Download
M cmd/juju/addunit_test.go View 1 2 chunks +6 lines, -5 lines 0 comments Download
M cmd/juju/deploy_test.go View 1 7 chunks +20 lines, -111 lines 0 comments Download
M cmd/juju/destroymachine_test.go View 1 2 chunks +3 lines, -2 lines 0 comments Download
M cmd/juju/destroyrelation_test.go View 1 2 chunks +4 lines, -3 lines 0 comments Download
M cmd/juju/destroyservice_test.go View 1 2 chunks +3 lines, -2 lines 0 comments Download
M cmd/juju/destroyunit_test.go View 1 2 chunks +4 lines, -3 lines 0 comments Download
M cmd/juju/environment_test.go View 1 2 chunks +3 lines, -2 lines 0 comments Download
M cmd/juju/expose_test.go View 1 2 chunks +4 lines, -3 lines 0 comments Download
M cmd/juju/resolved_test.go View 1 2 chunks +3 lines, -2 lines 0 comments Download
M cmd/juju/unexpose_test.go View 1 2 chunks +4 lines, -3 lines 0 comments Download
M cmd/juju/upgradecharm_test.go View 1 9 chunks +11 lines, -11 lines 0 comments Download
A juju/testing/repo.go View 1 chunk +98 lines, -0 lines 0 comments Download

Messages

Total messages: 5
matthew.scott
Please take a look.
11 years ago (2013-05-03 19:40:44 UTC) #1
teknico
LGTM. Mostly mechanical changes, as you said.
10 years, 11 months ago (2013-05-14 16:28:34 UTC) #2
bac
LGTM
10 years, 11 months ago (2013-05-15 17:52:21 UTC) #3
fwereade
just a comment https://codereview.appspot.com/9074045/diff/1/juju/testing/repo.go File juju/testing/repo.go (right): https://codereview.appspot.com/9074045/diff/1/juju/testing/repo.go#newcode19 juju/testing/repo.go:19: JujuConnSuite FWIW, JujuConnSuite is evil and ...
10 years, 11 months ago (2013-05-16 08:00:20 UTC) #4
matthew.scott
10 years, 11 months ago (2013-05-16 15:43:15 UTC) #5
*** Submitted:

Move RepoSuite to live alongside JujuConnSuite

This is the first step to implementing the upgrade-charm command, so that many
of the tests involved with upgrading a charm can be performed from the
statecmd_test package.  This is a mostly mechanical change that moves the
RepoSuite from just the cmd/juju package to juju/testing.  The next step will be
to refactor the deploy API command to be a proper statecmd, which can then be
tested properly (it isn't, at the moment).  Finally, as portions of the
upgrade-charm statecmd will require deploying charms, the upgrade charm command
can be moved to statecmd and tested properly.  These branches will be proposed
in order with requisites.

R=teknico, bac, fwereade
CC=
https://codereview.appspot.com/9074045
Sign in to reply to this message.

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