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

Issue 13369043: simplestreams tools lookup on major.minor version (Closed)

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

Description

simplestreams tools lookup on major.minor version Juju's simplestreams support required exact matches on product id. The tools lookup functionality however requires inexact matches on major.minor version number. This branch enhances the simplestreams support to allow such inexact matches. The tools validation plugin is enhanced to use the new feature. This work is a pre-req for replacing the legacy tools lookup with simplestreams. https://code.launchpad.net/~wallyworld/juju-core/inexact-simplestreams-tools-match/+merge/182792 Requires: https://code.launchpad.net/~wallyworld/juju-core/bootstrap-exact-tools/+merge/182378 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 13

Patch Set 2 : simplestreams tools lookup on major.minor version #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -56 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/plugins/juju-metadata/validatetoolsmetadata.go View 1 6 chunks +40 lines, -7 lines 0 comments Download
M cmd/plugins/juju-metadata/validatetoolsmetadata_test.go View 1 2 chunks +39 lines, -0 lines 0 comments Download
M environs/imagemetadata/simplestreams.go View 1 2 chunks +3 lines, -1 line 1 comment Download
M environs/imagemetadata/simplestreams_test.go View 1 4 chunks +4 lines, -4 lines 0 comments Download
M environs/simplestreams/simplestreams.go View 1 5 chunks +22 lines, -7 lines 1 comment Download
M environs/simplestreams/simplestreams_test.go View 2 chunks +20 lines, -0 lines 0 comments Download
M environs/simplestreams/testing/testing.go View 1 6 chunks +56 lines, -4 lines 0 comments Download
M environs/tools/simplestreams.go View 1 4 chunks +41 lines, -9 lines 2 comments Download
M environs/tools/simplestreams_test.go View 1 6 chunks +89 lines, -17 lines 0 comments Download
M environs/tools/validation.go View 2 chunks +17 lines, -6 lines 0 comments Download
M environs/tools/validation_test.go View 2 chunks +39 lines, -1 line 0 comments Download

Messages

Total messages: 6
wallyworld
Please take a look.
10 years, 8 months ago (2013-08-29 00:58:55 UTC) #1
jameinel
I'm really hesitant to have an API take a string that "might be an exact ...
10 years, 8 months ago (2013-08-29 09:00:00 UTC) #2
fwereade
I have a few questions here. I may be missing something. https://codereview.appspot.com/13369043/diff/1/cmd/plugins/juju-metadata/validatetoolsmetadata.go File cmd/plugins/juju-metadata/validatetoolsmetadata.go (right): ...
10 years, 8 months ago (2013-08-30 06:46:45 UTC) #3
wallyworld
Please take a look. https://codereview.appspot.com/13369043/diff/1/cmd/plugins/juju-metadata/validatetoolsmetadata.go File cmd/plugins/juju-metadata/validatetoolsmetadata.go (right): https://codereview.appspot.com/13369043/diff/1/cmd/plugins/juju-metadata/validatetoolsmetadata.go#newcode102 cmd/plugins/juju-metadata/validatetoolsmetadata.go:102: This utility is for users ...
10 years, 8 months ago (2013-08-30 09:21:25 UTC) #4
jameinel
LGTM I have some comments, but we could just land this (progress not perfection). But ...
10 years, 8 months ago (2013-09-01 11:42:12 UTC) #5
wallyworld
10 years, 8 months ago (2013-09-02 04:02:50 UTC) #6
I've pushed changes which rework the format of the simplestreams metadata for
tools. The grouping is now based on series:arch like it is for image metadata.
This eliminates the need for any regexp code. I'll get the changes through
Scott's group.
Sign in to reply to this message.

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