Metadata clean up

Gustavo Niemeyer gustavo.niemeyer at
Wed Nov 11 18:30:24 UTC 2015

On Wed, Nov 11, 2015 at 4:19 PM, Jamie Strandboge <jamie at>

> On 11/11/2015 11:40 AM, Gustavo Niemeyer wrote:
> > Hello again,
> >
> > We've recently worked heavily on snapcraft to push its behavior and used
> > metadata to be more aligned with the plans for 16.04, and that work is
> almost
> > complete. It's now time to look at some of the output of snapcraft to
> see how
> > much it is aligned with these plans. Currently we have two different
> metadata
> > files that are shipping within the snap: a package.yaml file, and a json
> > manifest which was inherited from the clickdeb days. The store currently
> looks
> > at the json file only, and snappy currently looks mainly at
> package.yaml, but
> > does use (and hacks it!) the json manifest in some of the security
> support
> > inherited from clickdeb. The plan which is already in progress is to
> replace
> > package.yaml with a file that looks a lot like it, called snap.yaml, and
> to get
> > rid of the json manifest altogether.
> >
> Actually, the store looks at both the package.yaml and the click compat
> json. If
> it is a snap, it looks at package.yaml almost exclusively (mostly except
> where
> it needs to make sure the two are in sync).

Ah, interesting. That's not the information I had today from Martin, but I
guess it shouldn't affect the plan much either way.

> FYI, the click compat and security json removal is very far along and
> close to
> merging. I figured when that was merged I'd adjust the review tools
> accordingly
> (ie, there are a lot of cleanups to be made if the click compatibility is
> gone).
> This sorta is called out as phase 4, but I think it can be done much
> sooner than
> that. Obviously, the other snap.yaml metadata changes we can adjust as
> needed in
> phase 4.

Right, indeed. Thanks for your help on that work, Jamie. Much appreciated.

gustavo @
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the snappy-devel mailing list