Metadata clean up
gustavo.niemeyer at canonical.com
Wed Nov 11 18:30:24 UTC 2015
On Wed, Nov 11, 2015 at 4:19 PM, Jamie Strandboge <jamie at canonical.com>
> 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
> > 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
> > 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
> > 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
> > inherited from clickdeb. The plan which is already in progress is to
> > 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
> 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
> (ie, there are a lot of cleanups to be made if the click compatibility is
> 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 @ http://niemeyer.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the snappy-devel