<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 11, 2015 at 4:19 PM, Jamie Strandboge <span dir="ltr"><<a href="mailto:jamie@canonical.com" target="_blank">jamie@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 11/11/2015 11:40 AM, Gustavo Niemeyer wrote:<br>
> Hello again,<br>
><br>
> We've recently worked heavily on snapcraft to push its behavior and used<br>
> metadata to be more aligned with the plans for 16.04, and that work is almost<br>
> complete. It's now time to look at some of the output of snapcraft to see how<br>
> much it is aligned with these plans. Currently we have two different metadata<br>
> files that are shipping within the snap: a package.yaml file, and a json<br>
> manifest which was inherited from the clickdeb days. The store currently looks<br>
> at the json file only, and snappy currently looks mainly at package.yaml, but<br>
> does use (and hacks it!) the json manifest in some of the security support<br>
> inherited from clickdeb. The plan which is already in progress is to replace<br>
> package.yaml with a file that looks a lot like it, called snap.yaml, and to get<br>
> rid of the json manifest altogether.<br>
><br>
</span>Actually, the store looks at both the package.yaml and the click compat json. If<br>
it is a snap, it looks at package.yaml almost exclusively (mostly except where<br>
it needs to make sure the two are in sync).<br></blockquote><div><br></div><div>Ah, interesting. That's not the information I had today from Martin, but I guess it shouldn't affect the plan much either way.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">FYI, the click compat and security json removal is very far along and close to<br>
merging. I figured when that was merged I'd adjust the review tools accordingly<br>
(ie, there are a lot of cleanups to be made if the click compatibility is gone).<br>
This sorta is called out as phase 4, but I think it can be done much sooner than<br>
that. Obviously, the other snap.yaml metadata changes we can adjust as needed in<br>
phase 4.<br></blockquote><div><br></div><div>Right, indeed. Thanks for your help on that work, Jamie. Much appreciated.</div></div><div><br></div><div class="gmail_signature"><br>gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div></div>