Re: snapd 2.20 release available in {xenial,yakkety}-updates

2017-01-05 Thread David Callé
On 05/01/2017 23:22, Dan Kegel wrote:
> Can you say a few words about classic confinement?  I didn't see doc...
Hopefully, http://snapcraft.io/docs/reference/confinement will shed some
light on the different confinement policies.

David
>
> (Like the fact that you're supporting 14.04.  Some large customers
> are stuck on that version still, could be handy.)
>
> On Thu, Jan 5, 2017 at 2:13 PM, Michael Vogt  
> wrote:
>> Hi,
>>
>>
>> the new snapd version 2.20 is now available for everyone on Ubuntu
>> 16.04 and 16.10 via xenial-updates and yakkety-updates. It contains
>> some nice improvements and fixes, see [1] for the details.
>>
>> The other distros will be updated shortly. The snapd 14.04 version is
>> not quite ready yet, we are working on a seccomp filtering bug [2] on
>> amd64 and also on a xserver related problem [3]. We hope to resolve
>> those soon.
>>
>> Please let us know if you notice any issue.
>>
>>
>> Happy snapping,
>>  Michael (on behalf of the snappy team)
>>
>>
>> [1] https://lists.ubuntu.com/archives/snapcraft/2016-December/002095.html
>> [2] https://bugs.launchpad.net/ubuntu/+source/libseccomp/+bug/1653487
>> [3] https://bugs.launchpad.net/snappy/+bug/1650389
>>
>> --
>> Snapcraft mailing list
>> Snapcraft@lists.snapcraft.io
>> Modify settings or unsubscribe at: 
>> https://lists.ubuntu.com/mailman/listinfo/snapcraft



-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-13 Thread David Callé
On 13/12/2016 20:46, Dan Kegel wrote:
> Hi,
> I'm building debs and snaps for a raspberry pi 3.
> Questions:
> 1) when last I did this, https://ubuntu-pi-flavour-maker.org/ was the
> best place to get real ubuntu for the pi 3 (the one listed on the
> ubuntu wiki didn't boot reliably).  Is that still true?  What do other
> folks use?
> 2) if one were to want to use the official snappy core ubuntu 16.04
> for raspberry pi 3 as a development host, is there a reasonable way to
> do that?  e.g. installing lxd on it and running an ubuntu desktop
> environment inside lxd?

An easy way to achieve this is to install the "classic" snap [1]. It
gives you a classic ubuntu environment on top of Ubuntu Core, to install
snapcraft for example.

Here is another piece of doc [2] on this topic, not published yet, that
will be helpful in terms of dev workflow on your pi.

[1]
http://snapcraft.io/docs/build-snaps/build-for-another-arch#on-an-ubuntu-core-device
[2]
https://github.com/ubuntudesign/developer.ubuntu.com/blob/master/templates/pages/core/get-started/developer-setup.md

> 3) more simply, is there a snap for snapcraft yet (aside from whether
> that's useful)?
>
> Thanks,
> Dan
>


-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Is there any guidance/document about how to write App-provided slots

2016-11-09 Thread David Callé
On 09/11/2016 10:47, Enwei Zhang wrote:
> Hello,
> For now, all slots are provided by ubuntu-core. I saw the concept of
> App-provided slots from
> https://github.com/snapcore/snapd/blob/master/interfaces/builtin/basedeclaration.go#L72
> But I didn't find any guidance/document about how to do that.
> Could you please help advise?

I don't think we have a document for this yet, except the general
interfaces overview that only mentions it as a possibility (
http://snapcraft.io/docs/core/interfaces ).

As far as I know, only two snaps are providing their own slots: the core
snap and bluez.
If it can help in the meantime, the source code I've found for the bluez
snap is at:
http://bazaar.launchpad.net/~bluetooth/bluez/snap-core-rolling/files

CCing Morphis and Zyga for more information.

Cheers,
David

> Thanks so much.
>
> Br
> Enwei
>
>

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Python2 plugin deprecated, but new plugin not documented?

2016-10-02 Thread David Callé
On 02/10/2016 16:05, Marco Ceppi wrote:
> Hello,
>
> I'm trying to do another clean build of my snap, this is a 0 change
> build, but I've got a few problems. After updating to the latest
> snapcraft (2.18.1), I'm getting a few new error messages and a snap
> that's 1/2 the size but no longer works.
>
> > "grade" property not specified: defaulting to "stable"
>
> The only reference I can find to grade anywhere is a bug requesting it
> be implemented
>
> > DEPRECATED: The 'python2' plugin's functionality has been replaced
> by the 'python' plugin, and it will soon be removed.
>
> However, http://snapcraft.io/docs/reference/plugins/ does not list the
> python plugin.
>
> Finally, my snap is 1/2 the size (woot) but does not work.
> Dependencies which were being brought in previously are no longer
> showing up. I'm not sure if this is because I should be using the new
> python plugin or if something else has changed.
>
> I'll be trying to chase down the last issue, but it's hard without
> documentation for the first two.

Hi Marco,

that doc is on its way to the site. In the meantime, you can run
`snapcraft help python`.

Cheers,
David

>
> Marco
>
>

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: DEPRECATED: 'license' defined in snapcraft.yaml

2016-09-05 Thread David Callé
On 05/09/2016 13:03, Jamie Bennett wrote:
> On 04/09/16 at 01:42am, Joseph Rushton Wakeling wrote:
>> Just got the above error message as I was finishing up my LDC snap.
>>
>> What's the recommended way to include license information?  I ask because
>> the 'snapcraft syntax' page on snapcraft.io lists the `licence` attribute
>> without any mention of deprecation or an alternative for it:
>> http://snapcraft.io/docs/build-snaps/syntax
>>
>> Apologies if the question has been asked and answered before, but I didn't
>> find anything obvious in the mailing list archives, so I thought I would ask
>> the question very obviously in order to correct that ;-)
> License files can be copied across if they are present in the setup/
> directory. Reproduced from docs/meta.md
>
> "
> ## Fixed assets
>
> Some metadata is provided in the form of conventions, such as license files,
> icons and desktop files among others. For these fixed files to make it into
> your final snap they need to be in a `setup` directory at the same level of
> your `snapcraft.yaml`.
> "
>
> Of course the website needs updating to reflect the new syntax (and the fact
> that icon e.t.c also uses the setup/ dir now).

You can find these details in the docs here:
http://snapcraft.io/docs/build-snaps/metadata#fixed-assets

Cheers,
David
>
>> Thanks & best wishes,
>>
>>  -- Joe
> Regards,
> Jamie.
>
>> -- 
>> Snapcraft mailing list
>> Snapcraft@lists.snapcraft.io
>> Modify settings or unsubscribe at: 
>> https://lists.ubuntu.com/mailman/listinfo/snapcraft



-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft