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

Issue 54740043: Remove obsolete default tools url (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 3 months ago by wallyworld
Modified:
10 years, 3 months ago
Reviewers:
mp+202391, axw
Visibility:
Public.

Description

Remove obsolete default tools url Synctools was defining it's own DefaultToolsLocation URL which sort of duplicated the default simplestreams default URL. But sync tools has been refactored to use simplestreams and so this duplication is unecessary. There were also a number of other small refactorings to clean up the tools code. https://code.launchpad.net/~wallyworld/juju-core/remove-obsolete-synctools-url/+merge/202391 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -44 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/bootstrap.go View 2 chunks +2 lines, -1 line 0 comments Download
M cmd/juju/bootstrap_test.go View 3 chunks +3 lines, -3 lines 0 comments Download
M cmd/plugins/juju-metadata/toolsmetadata.go View 2 chunks +1 line, -4 lines 0 comments Download
M cmd/plugins/juju-metadata/toolsmetadata_test.go View 2 chunks +1 line, -2 lines 0 comments Download
M environs/bootstrap/bootstrap_test.go View 1 chunk +2 lines, -0 lines 0 comments Download
M environs/bootstrap/synctools.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/sync/sync.go View 3 chunks +6 lines, -20 lines 0 comments Download
M environs/sync/sync_test.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/testing/tools.go View 3 chunks +3 lines, -8 lines 0 comments Download
M environs/tools/tools_test.go View 1 chunk +2 lines, -0 lines 0 comments Download
M environs/tools/urls.go View 2 chunks +33 lines, -2 lines 0 comments Download
M environs/tools/urls_test.go View 1 chunk +13 lines, -0 lines 2 comments Download
M state/apiserver/client/client_test.go View 4 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 3
wallyworld
Please take a look.
10 years, 3 months ago (2014-01-20 23:36:07 UTC) #1
axw
LGTM, but I would like to see an additional test https://codereview.appspot.com/54740043/diff/1/environs/tools/urls_test.go File environs/tools/urls_test.go (right): https://codereview.appspot.com/54740043/diff/1/environs/tools/urls_test.go#newcode95 ...
10 years, 3 months ago (2014-01-21 01:26:51 UTC) #2
wallyworld
10 years, 3 months ago (2014-01-21 02:37:32 UTC) #3
https://codereview.appspot.com/54740043/diff/1/environs/tools/urls_test.go
File environs/tools/urls_test.go (right):

https://codereview.appspot.com/54740043/diff/1/environs/tools/urls_test.go#ne...
environs/tools/urls_test.go:95: "foo":        "file://foo/tools",
On 2014/01/21 01:26:51, axw wrote:
> How about a test for a path with an absolute filesystem path?

Done.
Sign in to reply to this message.

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