Re: Exposing commands

2017-04-08 Thread Stuart Bishop
rently unsupported, per https://bugs.launchpad.net/bugs/1616507 . The issue pre-dates the command aliases feature, so the rationales forbidding them have probably changed. -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Snap packages as build dependencies of other snaps

2017-04-08 Thread Stuart Bishop
ugs.launchpad.net/bugs/1677974 I don't know the time frame. I'm primarily interested in Launchpad building my snaps, which will also need updating once snapcraft can somehow handle snap package build dependencies. -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing list

Re: Experimental Python interpreter snap

2017-02-23 Thread Stuart Bishop
ot be seen or cause conflicts if I use the /usr/bin/python3, which is what I'm suggesting is an improvement. And they will not be seen by or cause conflicts with snaps using the content interface, no matter if they are confined or classic, which is also a good thing because they will be e

Re: Experimental Python interpreter snap

2017-02-22 Thread Stuart Bishop
on and the system python will coexist better (as there is no risk of snap python finding a package built by system python and vice versa). I have no idea if sitecustomize.py could do this though, and suspect it might involve patching. (do classic snaps actually have $SNAP_*DATA?) -- S

Re: Experimental Python interpreter snap

2017-02-21 Thread Stuart Bishop
pts located anywhere. And snaps using the interface would remain contained as they are. Assuming we are allowed to mix interfaces and classic confinement :) But now I think on it further, its probably not a good idea to pollute the main python snap when it is being used as a dependency. -- Stuart

Re: Experimental Python interpreter snap

2017-02-21 Thread Stuart Bishop
ould stick to using virtualenvs outside of the snap for this, assuming a modern enough Python. -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Currernt config hook implementation scales very badly

2017-02-01 Thread Stuart Bishop
(but look at 'jq' if you insist on shell scripts - it seemed very helpful for dealing with json) -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Please test my asciinema snap

2017-01-22 Thread Stuart Bishop
ment is cleaned? I think this will affect all classic snaps that need to run subprocesses, such as screen, vim, tmux... with other wrapper variables like the LD_* settings leaking :-( -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing list Snapcraft@lists.snapcra

Re: Command to check for updates?

2017-01-15 Thread Stuart Bishop
as supposed to have been fixed with 2.18. -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: SystemD Unit file customization for a snap

2017-01-11 Thread Stuart Bishop
On 12 January 2017 at 11:33, Stuart Bishop <stuart.bis...@canonical.com> wrote: > > On 12 January 2017 at 02:31, Charles Butler <charles.but...@canonical.com> > wrote: > You don't have much control over the generated systemd service file. Its > an open issue. So whi

Re: Snapcraft's state tracking improvements

2016-12-15 Thread Stuart Bishop
Maybe you could handle this by monitoring the files opened by the build process somehow? -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Recommended ways of installing configuration files in SNAP_USER_DATA?

2016-12-13 Thread Stuart Bishop
s sooner rather than later since pgbouncer is another app that refuses to run as root. I wasn't looking forward to documenting how to manually install systemd service definitions :) -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: Shared content example - ubuntu-app-platform

2016-11-30 Thread Stuart Bishop
;> > >> > slots: >> > test-share: >> > content: test-content-server >> > interface: content >> > write: >> > - . >> > >> > When accessing from client side snap, it shows "permission denied". >> >> >> -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Re: uwsgi systemd config (Type=notify)

2016-11-29 Thread Stuart Bishop
ry processes by pointing to someone elses pid file or overwriting arbitrary files by logging somewhere it shouldn't. -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

CLI UX for plugs with parameters?

2016-09-20 Thread Stuart Bishop
structure to declare what additional connections need to be made after installation of the snap. I'd like to get this right the first time since I'm going to be stuck with it. -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify se

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

2016-09-05 Thread Stuart Bishop
t mention the magic name(s) needed for license (nee licence, copyright, legal, copying etc.) files to be discovered and made available from the snap metadata by installers, the snap store or other consumers. Which is what we are really asking. -- Stuart Bishop <stuart.bis...@canonical.co

Re: Setting release version in snapcraft build

2016-09-02 Thread Stuart Bishop
On 2 September 2016 at 15:01, Stuart Bishop <stuart.bis...@canonical.com> wrote: > > > On 2 September 2016 at 00:46, Leo Arias <leo.ar...@canonical.com> wrote: > >> This is a pain point for me too. Most upstreams store the version number >> in only one

Re: Setting release version in snapcraft build

2016-09-02 Thread Stuart Bishop
; that. > > We could make that snapcraft --snap-version=$(git rev-parse HEAD) just > overwrites the version field, useful immediately for people not using > launchpad. > > pura vida > > > -- Stuart Bishop <stuart.bis...@canonical.com> -- Snapcraft mailing li