Snapping Neovim

Andrew McDermott andrew.mcdermott at canonical.com
Fri Aug 26 16:30:17 UTC 2016


Hi,

I'm interested in accessing dotfiles in $HOME too.

I tried to snap some KVM MAAS scripts[0] but ran into issues because I
couldn't read .maascli.db.

[0] https://github.com/frobware/kvm-maas

On 26 August 2016 at 17:19, Matthew Williams <matthew.williams at canonical.com
> wrote:

> Hey folks,
>
> So I decided to have a go at snapping neovim (https://github.com/mattyw/
> neovim/blob/01-snapcraft/snapcraft.yaml)
>
> Getting it going with devmode was easy - I loved not having to mess around
> with confinement while getting the rest of the snap working, that's a great
> feature.
>
> My problem now is what kind of thing I should be doing for classes of
> application like this when confinement is strict.  As you can see from the
> above yaml I've added the home part which means I can read and write files
> in home. But for things like configuration files neovim looks in hidden
> files and directories, and as a user you want to be able to edit these
> files, and indeed any file on disk. But this doesn't fit the confinement
> model very well.
>
> I was wondering if anyone on the list had a good suggestion for what I
> should be doing?
>
> Thanks
>
> Matty
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 
Andrew McDermott <andrew.mcdermott at canonical.com>
Juju Core Sapphire team <http://juju.ubuntu.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160826/b728f82c/attachment.html>


More information about the Snapcraft mailing list