<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 27, 2017 at 1:49 PM Sergio Schvezov <<a href="mailto:sergio.schvezov@canonical.com">sergio.schvezov@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 27 Jan 2017 17:40:13 +0000, Adam Stokes wrote:<br class="gmail_msg">
> Since releasing the conjure-up snap I have gotten a few questions as to why<br class="gmail_msg">
> we have to pass in --classic when the snapcraft.yaml defines the<br class="gmail_msg">
> confinement mode already.<br class="gmail_msg">
><br class="gmail_msg">
> I understand that this is similar to if a user was to snap install a snap<br class="gmail_msg">
> that was strictly devmode. We do want make the user aware of what they are<br class="gmail_msg">
> installing and any possible caveats that go along with that. Forcing the<br class="gmail_msg">
> use of --classic and --devmode make sense in the overall picture, however,<br class="gmail_msg">
> cosmetically and user happiness (i guess?) this just seems like a _lot_ of<br class="gmail_msg">
> typing.<br class="gmail_msg">
><br class="gmail_msg">
> So I'm not arguing the use of --classic or --devmode but what if we take<br class="gmail_msg">
> another approach and treat both --classic and --devmode as a 'force/yes' in<br class="gmail_msg">
> the apt world and provide a simple Y/n prompt asking the user if they are<br class="gmail_msg">
> sure they wish to install said snap because of it's current confinement<br class="gmail_msg">
> mode?<br class="gmail_msg">
><br class="gmail_msg">
> I much rather advertise running:<br class="gmail_msg">
><br class="gmail_msg">
> $ snap install conjure-up<br class="gmail_msg">
<br class="gmail_msg">
This *should* be what you advertise and I think snapd 2.22 solves that.<br class="gmail_msg"></blockquote><div><br></div><div>Does this mean we don't require users to 'snap login' anymore? </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="gmail_msg">
> And the experience be:<br class="gmail_msg">
><br class="gmail_msg">
> Fetching info..checking confinement mode..<br class="gmail_msg">
> This is a classic snap, are you sure you wish to continue? [Y/n]<br class="gmail_msg">
> conjure-up installed<br class="gmail_msg">
><br class="gmail_msg">
> Thoughts?<br class="gmail_msg">
<br class="gmail_msg">
+1 (if on an interactive shell), if not it should fail with a nice message telling me this needs explicit concent as it is a classic confined snap.<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
Sent using Dekko from my Ubuntu device<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
Snapcraft mailing list<br class="gmail_msg">
<a href="mailto:Snapcraft@lists.snapcraft.io" class="gmail_msg" target="_blank">Snapcraft@lists.snapcraft.io</a><br class="gmail_msg">
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a><br class="gmail_msg">
</blockquote></div></div>