Re: Snap sources

2016-10-10 Thread Spencer
One advantage of snaps, I believe, is that the dependencies are baked into them. Otherwise, your app can stop working after installation if a dependency is updated or otherwise changed. I'm not sure what other advantages there may be. One downside is extra memory cost, but with storage up to

Re: Snap sources

2016-10-10 Thread Manik Taneja
On Mon, Oct 10, 2016 at 5:41 PM, Chris wrote: > On Mon, 2016-10-10 at 16:06 -0700, Manik Taneja wrote: > > > > > > > > On Mon, Oct 10, 2016 at 2:45 PM, Chris > > wrote: > > > Other than those shown here - https://uappexplorer.com/apps?type=sn > > > appy > > > &sort=title are there other places t

Re: Snap sources

2016-10-10 Thread Chris
On Mon, 2016-10-10 at 16:06 -0700, Manik Taneja wrote: > > > > On Mon, Oct 10, 2016 at 2:45 PM, Chris > wrote: > > Other than those shown here - https://uappexplorer.com/apps?type=sn > > appy > > &sort=title are there other places to get Snaps from? > uappexplorer is just a web frontend to the

Re: Snap sources

2016-10-10 Thread Manik Taneja
On Mon, Oct 10, 2016 at 2:45 PM, Chris wrote: > Other than those shown here - https://uappexplorer.com/apps?type=snappy > &sort=title are there other places to get Snaps from? > uappexplorer is just a web frontend to the Ubuntu Store infrastructure, which is our repository of snaps. There are no

Re: Different values of environment variables during build time and run time, eg. JAVA_HOME and PATH

2016-10-10 Thread Jian LUO
Hi, I don't think it counts as cross compiling since Java (at least in my case) is cross platform. Just wanted to compile Java with one JDK and run with another. Jian On Oct 10, 2016 20:05, "Manik Taneja" wrote: > > > On Mon, Oct 10, 2016 at 6:33 AM, Jian LUO wrote: > >> Hi List, >> >> Is the

Snap sources

2016-10-10 Thread Chris
Other than those shown here - https://uappexplorer.com/apps?type=snappy &sort=title are there other places to get Snaps from? -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 16:44:21 up 4:49, 1 user, load average: 0.38, 0.20, 0.12 Ubuntu 16.04.1 LTS, kernel 4.4.0-38-generic

Re: Ports,ports,ports..

2016-10-10 Thread Kyle Fazzari
On Oct 10, 2016 10:25, "Leo Arias" wrote: > > On Mon, Oct 10, 2016 at 11:19 AM, Robert Park wrote: >> >> Any suggestions on how best to do that? Snaps don't offer any sort of configuration interface like charms do. > > > I suppose that will be documented soon: https://trello.com/c/PpM4XRUQ/30-con

Re: Different values of environment variables during build time and run time, eg. JAVA_HOME and PATH

2016-10-10 Thread Manik Taneja
On Mon, Oct 10, 2016 at 6:33 AM, Jian LUO wrote: > Hi List, > > Is there any formal way in snapcraft to set environment variables > separately for build time and run time? The use case I'm facing is building > a Java snap on amd64 host for armhf target. > Snapcraft does not support cross-compila

Re: Ports,ports,ports..

2016-10-10 Thread Victor Palau
Hi Robert Depends on the snap but adding an cli to configure it and then restart the service could be an option (see local-proxy as an example) On 10 Oct 2016 18:19, "Robert Park" wrote: On Oct 10, 2016 10:05 AM, "Victor Palau" wrote: > > Overall, seems like it would be good practice that if a

Re: Ports,ports,ports..

2016-10-10 Thread Leo Arias
On Mon, Oct 10, 2016 at 11:19 AM, Robert Park wrote: > Any suggestions on how best to do that? Snaps don't offer any sort of > configuration interface like charms do. > I suppose that will be documented soon: https://trello.com/c/PpM4XRUQ/30-configuration-support -- ¡paz y baile! http://www.ub

Re: Ports,ports,ports..

2016-10-10 Thread Robert Park
On Oct 10, 2016 10:05 AM, "Victor Palau" wrote: > > Overall, seems like it would be good practice that if a snap publishes a service to a port, that: > the port can be easily changed Any suggestions on how best to do that? Snaps don't offer any sort of configuration interface like charms do. --

Re: Ports,ports,ports..

2016-10-10 Thread Victor Palau
+1 On Mon, Oct 10, 2016 at 6:11 PM, Leo Arias wrote: > Nice! > > On Mon, Oct 10, 2016 at 11:03 AM, Victor Palau > wrote: > >> Overall, seems like it would be good practice that if a snap publishes a >> service to a port, that: >> >>- the port can be easily changed >>- the snap can be up

Re: Ports,ports,ports..

2016-10-10 Thread Leo Arias
Nice! On Mon, Oct 10, 2016 at 11:03 AM, Victor Palau wrote: > Overall, seems like it would be good practice that if a snap publishes a > service to a port, that: > >- the port can be easily changed >- the snap can be updated told that it will be proxy-ed, and work well > > I would add th

Ports,ports,ports..

2016-10-10 Thread Victor Palau
Hi, As more snaps are published, the more I want to install on my PC, device,... Many of them expose some cool services in localhost:[randomport], and I find it that it is getting hard to remember them all. Building on an existing tinyproxy snap, I have published (amd64 only at the mo) a local re

Re: Has anybody ever snapped gunicorn?

2016-10-10 Thread Leo Arias
Hello, On Mon, Oct 10, 2016 at 10:51 AM, Robert Park wrote: > Well so far the only interfaces i need were network and network-bind. Is > there even a snap interface that provides dac_override and chown? I > couldn't find any in a quick google. > This is for chown: https://bugs.launchpad.net/sna

Re: Has anybody ever snapped gunicorn?

2016-10-10 Thread Robert Park
Hi Alfonso, thanks for the response On Oct 9, 2016 11:59 PM, "Alfonso Sanchez-Beato" < alfonso.sanchez-be...@canonical.com> wrote: > On Mon, Oct 10, 2016 at 1:56 AM, Robert Park wrote: >> >> Right, so that was a $PYTHONPATH issue indeed which I've fixed by >> setting this in a wrapper script: >>

Qt 5.7 cloud part now available

2016-10-10 Thread Timo Jyrinki
Hi! I started experimenting with bringing upstream Qt as is as a cloud part. I can happily announce an early let's say "alpha" version of it is working and available with "after: [qt57]". This is not the "qt-ubuntu" I've a vision of as being available via content interface, but rather building up

Different values of environment variables during build time and run time, eg. JAVA_HOME and PATH

2016-10-10 Thread Jian LUO
Hi List, Is there any formal way in snapcraft to set environment variables separately for build time and run time? The use case I'm facing is building a Java snap on amd64 host for armhf target. Thanks! Jian -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe

Re: Has anybody ever snapped gunicorn?

2016-10-10 Thread Alfonso Sanchez-Beato
On Mon, Oct 10, 2016 at 1:56 AM, Robert Park wrote: > Right, so that was a $PYTHONPATH issue indeed which I've fixed by > setting this in a wrapper script: > > export PYTHONPATH="$SNAP/usr/lib/python3/dist-packages:$SNAP/src" > > > But still gunicorn is not working. When I run it, I get this erro