Comment 3 for bug 1650577

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1650577] Re: Get the model assertion from the store automatically

On Fri, Dec 16, 2016 at 04:05:32PM -0000, Barry Warsaw wrote:
> On Dec 16, 2016, at 03:33 PM, Steve Langasek wrote:

> >I am unconvinced that this belongs in ubuntu-image. Model assertions
> >may come from a number of different sources, including being locally
> >generated by the developer; I don't think ubuntu-image should treat
> >store-sourced model assertions specially.

> It would just be an optional convenience. Of course you'd always be able to
> specify a model assertion file on the cli. Anyway it was just a thought
> springing out from conversations w/infinity.

I assume that's related to ubuntu-image autobuilding. I definitely don't
see any reason for ubuntu-image to wrap this, considering launchpad
autobuilds are going to need to support building for arbitrary models, which
means exposing the full array of options to 'snap known' through the
launchpad json. So passing this through ubuntu-image instead of directly to
'snap known' doesn't buy us anything.