Shared content example - ubuntu-app-platform

knitzsche kyle.nitzsche at canonical.com
Wed Nov 30 15:39:29 UTC 2016


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" section. But it is not present it seems.

For this I just filed: 
https://github.com/ubuntudesign/snapcraft.io/issues/226

Also, the "apps:" section does not clearly explain the required 
hierarchy of keys. The actual app name key is not clearly explained:

You need something like this:

apps:
   appname1: <-- this is not obvious from docs
     command:
     plugs:
   appname2: <-- this is not obvious from docs
     command:
     plugs:

This is not as clear as it could/should be:
"apps (yaml subsection) A map of keys for applications"

For this second point I filed 
https://github.com/ubuntudesign/snapcraft.io/issues/225









More information about the Snapcraft mailing list