A question about using --devmode

XiaoGuo Liu xiaoguo.liu at canonical.com
Mon Jul 25 01:46:23 UTC 2016


Hi Michael,

Thanks for your explanation. Now, I get the idea of it though it is a
little bit confusing initially.

Best regards,
XiaoGuo

On Mon, Jul 25, 2016 at 9:20 AM, Michael Nelson <
michael.nelson at canonical.com> wrote:

> On Mon, Jul 25, 2016 at 11:12 AM XiaoGuo Liu <xiaoguo.liu at canonical.com>
> wrote:
>
>> Hi,
>>
>> If I use "--devmode" when installing a snap application, do I have to
>> define  "confinement"  in snapcraft.yaml to be ""devmode" exactly. What
>> happens if I defined "confinement" to be "strict"?
>>
>> The combination is as follows:
>>
>> - confinement: strict
>> - installation: --devmode
>>
>
> Using confinement: strict tells the store that it's OK to return this
> package as a result of `snap find` for users to install. Which means, if it
> doesn't work unless you use --devmode, you might have unhappy users :/
>
>
>
>>
>> - confinement: devmode
>> - installation: --devmode
>>
>
> Using confinement: devmode tells the store that this package should *not*
> be included in results of `snap find`. You (and any users who know) will
> still be able to `snap install --devmode` it, but it's not provided to
> general users via snap find/install.
>
> Hope that helps
>
>>
>> Thanks & best regards,
>> XiaoGuo
>>
>> --
>> XiaoGuo, Liu (刘晓国)
>> Mobile: +86-13911181302
>> --
>> Snapcraft mailing list
>> Snapcraft at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/snapcraft
>>
>


-- 
XiaoGuo, Liu (刘晓国)
Mobile: +86-13911181302
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160725/7f196732/attachment.html>


More information about the Snapcraft mailing list