|
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)
Total comments: 11
|
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
|
Total messages: 7
|