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

Issue 14663043: Merge new image metadata with existing (Closed)

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

Description

Merge new image metadata with existing When image id metadata is generated, any existing metadata is now loaded and then the new metadata is merged in. This allows the generate-image plugin to be run multiple times to build up metadata for multiple images. Some fairly extensive refactoring to how image metadata search constraints are set up was required. https://code.launchpad.net/~wallyworld/juju-core/merge-new-image-metadata/+merge/190898 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Merge new image metadata with existing #

Total comments: 35

Patch Set 3 : Merge new image metadata with existing #

Patch Set 4 : Merge new image metadata with existing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+835 lines, -274 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/plugins/juju-metadata/imagemetadata.go View 1 2 3 4 chunks +13 lines, -6 lines 0 comments Download
M cmd/plugins/juju-metadata/imagemetadata_test.go View 1 2 3 8 chunks +19 lines, -19 lines 0 comments Download
M cmd/plugins/juju-metadata/validateimagemetadata_test.go View 1 2 3 4 chunks +9 lines, -6 lines 0 comments Download
M environs/imagemetadata/generate.go View 1 2 3 1 chunk +92 lines, -125 lines 0 comments Download
A environs/imagemetadata/generate_test.go View 1 2 3 1 chunk +206 lines, -0 lines 0 comments Download
A environs/imagemetadata/marshal.go View 1 2 3 1 chunk +91 lines, -0 lines 0 comments Download
A environs/imagemetadata/marshal_test.go View 1 2 3 1 chunk +130 lines, -0 lines 0 comments Download
M environs/imagemetadata/simplestreams.go View 1 5 chunks +36 lines, -18 lines 0 comments Download
M environs/imagemetadata/simplestreams_test.go View 1 3 chunks +138 lines, -84 lines 0 comments Download
A environs/imagemetadata/testing/testing.go View 1 chunk +70 lines, -0 lines 0 comments Download
M environs/imagemetadata/validation_test.go View 1 2 3 2 chunks +9 lines, -4 lines 0 comments Download
M environs/simplestreams/simplestreams.go View 1 4 chunks +19 lines, -11 lines 0 comments Download
M environs/tools/marshal.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
wallyworld
Please take a look.
10 years, 6 months ago (2013-10-14 09:42:18 UTC) #1
wallyworld
Please take a look.
10 years, 6 months ago (2013-10-15 00:46:52 UTC) #2
thumper
https://codereview.appspot.com/14663043/diff/4001/cmd/plugins/juju-metadata/imagemetadata.go File cmd/plugins/juju-metadata/imagemetadata.go (right): https://codereview.appspot.com/14663043/diff/4001/cmd/plugins/juju-metadata/imagemetadata.go#newcode64 cmd/plugins/juju-metadata/imagemetadata.go:64: if store, err := configstore.Default(); err == nil { ...
10 years, 6 months ago (2013-10-16 00:47:59 UTC) #3
wallyworld
https://codereview.appspot.com/14663043/diff/4001/cmd/plugins/juju-metadata/imagemetadata.go File cmd/plugins/juju-metadata/imagemetadata.go (right): https://codereview.appspot.com/14663043/diff/4001/cmd/plugins/juju-metadata/imagemetadata.go#newcode64 cmd/plugins/juju-metadata/imagemetadata.go:64: if store, err := configstore.Default(); err == nil { ...
10 years, 6 months ago (2013-10-16 01:52:13 UTC) #4
wallyworld
Please take a look.
10 years, 6 months ago (2013-10-16 02:51:32 UTC) #5
wallyworld
Please take a look.
10 years, 6 months ago (2013-10-16 04:41:10 UTC) #6
thumper
10 years, 6 months ago (2013-10-17 04:06:50 UTC) #7
LGTM
Sign in to reply to this message.

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