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

Issue 12833043: Parse and validate tools metadata (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by wallyworld
Modified:
10 years, 8 months ago
Reviewers:
mp+179845, jameinel, fwereade
Visibility:
Public.

Description

Parse and validate tools metadata Tools metadata in simplestreams format can be parsed and validated. A new environs/tools package is created, and the existing environs/tools.go is moved there, and the new simplestreams support added also. The agent/tools package is disambiguated as agenttools where there were clashes. The metadata plugin is extended to support validating tools metadata in the same way as image metadata. The next branches will support using the tools metadata when finding tools to bootstrap with. https://code.launchpad.net/~wallyworld/juju-core/parse-tools-simplestreams/+merge/179845 Requires: https://code.launchpad.net/~wallyworld/juju-core/refactor-simplestreams/+merge/178878 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 11

Patch Set 2 : Parse and validate tools metadata #

Patch Set 3 : Parse and validate tools metadata #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1285 lines, -166 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/bootstrap.go View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M cmd/juju/upgradejuju.go View 1 2 9 chunks +10 lines, -9 lines 0 comments Download
M cmd/plugins/juju-metadata/metadata.go View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/plugins/juju-metadata/metadataplugin_test.go View 2 chunks +5 lines, -0 lines 0 comments Download
M cmd/plugins/juju-metadata/validateimagemetadata.go View 2 chunks +3 lines, -3 lines 0 comments Download
M cmd/plugins/juju-metadata/validateimagemetadata_test.go View 8 chunks +19 lines, -19 lines 0 comments Download
A cmd/plugins/juju-metadata/validatetoolsmetadata.go View 1 chunk +174 lines, -0 lines 0 comments Download
A cmd/plugins/juju-metadata/validatetoolsmetadata_test.go View 1 chunk +189 lines, -0 lines 0 comments Download
M environs/azure/environ.go View 1 2 5 chunks +8 lines, -7 lines 0 comments Download
M environs/azure/environ_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M environs/azure/instancetype.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/dummy/environs.go View 3 chunks +4 lines, -3 lines 0 comments Download
M environs/ec2/ec2.go View 10 chunks +13 lines, -12 lines 0 comments Download
M environs/ec2/export_test.go View 2 chunks +4 lines, -4 lines 0 comments Download
M environs/ec2/local_test.go View 2 chunks +2 lines, -2 lines 0 comments Download
M environs/imagemetadata/simplestreams.go View 1 chunk +3 lines, -0 lines 0 comments Download
M environs/imagemetadata/simplestreams_test.go View 3 chunks +3 lines, -1 line 0 comments Download
M environs/imagemetadata/validation.go View 1 chunk +1 line, -17 lines 0 comments Download
M environs/local/environ.go View 4 chunks +6 lines, -5 lines 0 comments Download
M environs/maas/environ.go View 5 chunks +8 lines, -7 lines 0 comments Download
M environs/openstack/local_test.go View 2 chunks +2 lines, -2 lines 0 comments Download
M environs/openstack/provider.go View 10 chunks +13 lines, -12 lines 0 comments Download
M environs/simplestreams/simplestreams.go View 1 2 3 chunks +4 lines, -5 lines 0 comments Download
M environs/simplestreams/simplestreams_test.go View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M environs/simplestreams/testing/testing.go View 1 2 3 chunks +77 lines, -1 line 0 comments Download
A environs/simplestreams/validation.go View 1 chunk +20 lines, -0 lines 0 comments Download
A environs/tools/boilerplate.go View 1 2 1 chunk +152 lines, -0 lines 0 comments Download
A environs/tools/simplestreams.go View 1 2 1 chunk +117 lines, -0 lines 0 comments Download
A environs/tools/simplestreams_test.go View 1 1 chunk +235 lines, -0 lines 0 comments Download
M environs/tools/tools.go View 1 2 6 chunks +9 lines, -8 lines 0 comments Download
M environs/tools/tools_test.go View 1 2 18 chunks +41 lines, -40 lines 0 comments Download
A environs/tools/validation.go View 1 chunk +55 lines, -0 lines 0 comments Download
A environs/tools/validation_test.go View 1 1 chunk +92 lines, -0 lines 0 comments Download
M state/apiserver/upgrader/upgrader.go View 4 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 7
wallyworld
Please take a look.
10 years, 8 months ago (2013-08-13 05:03:03 UTC) #1
fwereade
I feel like I need to do another pass, but that I can do it ...
10 years, 8 months ago (2013-08-13 17:13:18 UTC) #2
jameinel
Maybe I'm misunderstanding what you are concerned about? https://codereview.appspot.com/12833043/diff/1/environs/simplestreams/testing/testing.go File environs/simplestreams/testing/testing.go (right): https://codereview.appspot.com/12833043/diff/1/environs/simplestreams/testing/testing.go#newcode101 environs/simplestreams/testing/testing.go:101: "1130preciseamd64": ...
10 years, 8 months ago (2013-08-14 10:28:33 UTC) #3
wallyworld
Launchpad's merge proposal diffs handle the moves renames properly without the noise and it's a ...
10 years, 8 months ago (2013-08-14 23:46:16 UTC) #4
wallyworld
Please take a look.
10 years, 8 months ago (2013-08-14 23:47:56 UTC) #5
wallyworld
Please take a look.
10 years, 8 months ago (2013-08-15 04:02:15 UTC) #6
fwereade
10 years, 8 months ago (2013-08-19 10:55:34 UTC) #7
LGTM, sorry for the delay.
Sign in to reply to this message.

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