<div dir="ltr">The current behavior is to present the full configuration every time, so it'll definitely result in a healthy configuration every time no matter what subset has changed, assuming the whole configuration is actually valid, because changing 2 or 10 options at once results in the same behavior on the script end. This was one of the important changes we pursued during the reimplementation last year. What we need now is adding some features to help with the complex cases, when there are hundreds of options and you want to optimize the implementation having in mind exactly which pieces have changed.<div><br></div><div>That optimization may actually be implemented completely internally to the configure script, if we had an urgent use case today, since we can always cache the last valid configuration and diff it. But it'll be nice to have that as a standard feature instead.</div><div><br>Also, a good problem to have.</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 1, 2017 at 9:53 AM, Mark Shuttleworth <span dir="ltr"><<a href="mailto:mark@ubuntu.com" target="_blank">mark@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
We definitely want some sort of "dry-run" capability, where you could<br>
present a snippet of YAML covering a subset of config and learn whether<br>
that would result in a healthy config, and what changes it would<br>
actually imply.<br>
<span class="m_4749688070363218972HOEnZb"><font color="#888888"><br>
Mark<br>
<br>
</font></span><br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div></div>