Re: Shared content example - ubuntu-app-platform

2017-01-02 Thread Timo Jyrinki
2016-12-08 2:56 GMT+02:00 knitzsche : > How do consumers (snap devs) know the lib/API versions contained? On touch > we had the concept of a "framework", whose version implied a set of API > commitments. Since this puts QT together with other (Ubuntu &etc) libs, > what's the reasonable expectation

Re: Shared content example - ubuntu-app-platform

2016-12-07 Thread Mark Shuttleworth
On 07/12/16 16:56, knitzsche wrote: > Great idea! > > How do consumers (snap devs) know the lib/API versions contained? On > touch we had the concept of a "framework", whose version implied a set > of API commitments. Since this puts QT together with other (Ubuntu > &etc) libs, what's the reasonab

Re: Shared content example - ubuntu-app-platform

2016-12-07 Thread knitzsche
Great idea! How do consumers (snap devs) know the lib/API versions contained? On touch we had the concept of a "framework", whose version implied a set of API commitments. Since this puts QT together with other (Ubuntu &etc) libs, what's the reasonable expectation? On 11/11/2016 02:46 PM, T

Re: Shared content example - ubuntu-app-platform

2016-11-30 Thread Enwei Zhang
Hi Stuart, I never got "write" working, it always tells me "permission denied". For your mount issue, I guess you need to create a empty folder locally called "test-share-target". Br Enwei On Wed, Nov 30, 2016 at 9:39 PM, Stuart Bishop wrote: > On 29 November 2016 at 08:36, Enwei Zhang > wrote

Re: Shared content example - ubuntu-app-platform

2016-11-30 Thread Dan Kegel
On Fri, Nov 11, 2016 at 6:46 AM, Timo Jyrinki wrote: > I hinted at this earlier but 'ubuntu-app-platform' (name bikeshedded a > few times) is now there offering a huge amount of libraries via > content interface. We're using it for some builds of for example > Calculator, Calendar and other apps,

Re: Shared content example - ubuntu-app-platform

2016-11-30 Thread knitzsche
On 11/30/2016 08:39 AM, Stuart Bishop wrote: I can't even find anything about the plugs: stanza in snapcraft.yaml, but that might just be a lack of Google juice. I would have expected "plugs:" to be documented here: http://snapcraft.io/docs/build-snaps/syntax In the "Apps and commands" secti

Re: Shared content example - ubuntu-app-platform

2016-11-30 Thread Stuart Bishop
On 29 November 2016 at 08:36, Enwei Zhang wrote: > Thank you Timo. > I changed from "./bin" to "/bin", then it works. > Did you have any luck getting 'write' to work? I'm getting as far as running my app and it failing with: cannot mount /snap/prov/x2 at /snap/cons/x1/test-share-target with

Re: Shared content example - ubuntu-app-platform

2016-11-28 Thread Enwei Zhang
Thank you Timo. I changed from "./bin" to "/bin", then it works. Br Enwei On Sun, Nov 27, 2016 at 3:18 AM, Timo Jyrinki wrote: > Hi Enwei, > > I think you might be running into bugs, given how in this and other > threads people are bumping into bugs with the content interface. > > I haven't tri

Shared content example - ubuntu-app-platform

2016-11-26 Thread Timo Jyrinki
Hi Enwei, I think you might be running into bugs, given how in this and other threads people are bumping into bugs with the content interface. I haven't tried write, but I did have ubuntu-app-platform using paths at first and that did work fine, aside from the mounting bug discussed in this threa

Re: Shared content example - ubuntu-app-platform

2016-11-22 Thread Enwei Zhang
Hello, Thanks Timo for the good example. While I tried to write two snaps(server to share paths to client) that use content interface to share files, I found "write" slot doesn't work. The code snippet from server side snapcraft.yaml slots: test-share: content: test-content-server interf

Re: Shared content example - ubuntu-app-platform

2016-11-11 Thread Timo Jyrinki
2016-11-11 20:45 GMT+02:00 Marco Trevisan : > Although it seems I've some troubles since I can't connect the gallery > properly: I suspect there may be a snappy bug or a couple involved, I've run into similar problems myself. I still need to occasionally run for example: sudo /usr/lib/snapd/snap-

Re: Shared content example - ubuntu-app-platform

2016-11-11 Thread Renato Filho
2016-11-11 15:45 GMT-03:00 Marco Trevisan : > Il 11/11/2016 15:46, Timo Jyrinki ha scritto: >> >> Hi, >> >> I hinted at this earlier but 'ubuntu-app-platform' (name bikeshedded a >> few times) is now there offering a huge amount of libraries via >> content interface. We're using it for some builds

Re: Shared content example - ubuntu-app-platform

2016-11-11 Thread Marco Trevisan
Il 11/11/2016 15:46, Timo Jyrinki ha scritto: Hi, I hinted at this earlier but 'ubuntu-app-platform' (name bikeshedded a few times) is now there offering a huge amount of libraries via content interface. We're using it for some builds of for example Calculator, Calendar and other apps, dropping

Shared content example - ubuntu-app-platform

2016-11-11 Thread Timo Jyrinki
Hi, I hinted at this earlier but 'ubuntu-app-platform' (name bikeshedded a few times) is now there offering a huge amount of libraries via content interface. We're using it for some builds of for example Calculator, Calendar and other apps, dropping the size of those from 50+MB to even under 1MB.