Looking to distribute a commercial package as a snap

stelefx at gmail.com stelefx at gmail.com
Thu Oct 6 15:59:52 UTC 2016

One of the problems I'm running into is although I'm seeing lots of 
examples of source-driven projects, I can't find a clear example of 
taking, say, a binary and its immediate custom-built dependencies and 
resources, all nicely contained in a directory with a launch script, and 
building a snap out of it.

The other thing I haven't found is any clear indication that snaps work 
at all on Centos yet. I've found several cases of people practically 
begging for help to get it working there, with their threads closed as 
"off-topic" or with no responses at all. Someone else wanted to get a 
snap working on Ubuntu 14 and was told it only works on 16, which 
doesn't instill much confidence in this new "universal linux package" 

On 10/6/16 10:43 AM, Jamie Strandboge wrote:
> On Wed, 2016-10-05 at 23:57 -0300, Gustavo Niemeyer wrote:
>> On Wed, Oct 5, 2016 at 11:34 PM, Spencer <spencertparkin at gmail.com> wrote:
>>> My entry into the snap world has been a tough one.  There is online
>>> documentation, but it is not kept up-to-date.  I get the feeling that the
>>> bar for entry is the need to be the kind of person who loves to learn
>>> everything about a system by becoming one of its developers.  For example,
>>> I couldn't figure out how to use the scons plugin until I dug into the
>>> python code for it.  Is it documented somewhere?  I don't know.
>> I share your feeling. We're doing a suboptimal job on documentation, both
>> for snapcraft and for snapd itself. We need fix that.
>> Anyhow, talking with someone on this mailing list, I learned a very useful
>>> thing: if you go down the snap road, you want to learn how to get the log
>>> information from you
>> app when it's installed in strict mode.  I know of no other way to diagnose
>>> problems with your app exhibited in strict mode, but no where else.
>> Logs are indeed the best way at the moment. We need to introduce some
>> further tooling to help out on the process.
> There is a tool that can help:
> $ sudo snap install snappy-debug
> $ sudo snap connect snappy-debug:log-observe ubuntu-core:log-observe
> $ sudo snappy-debug.security scanlog
> $ <exercise your snap>
> This will look at the logs and make suggestions. It has some limitations
> currently but it's useful as is. We'll get those sorted and I plan to work with
> Gustavo on how to improve the tool (I suspect it might include a rename as
> well). I know this tool is documented in some places, but based on your feedback
> it seems it too is underdocumented.
> PS - soon you'll need to use 'core:log-observe' instead of 'ubuntu-core:log-
> observe' with the snap connect command.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161006/148fbdb9/attachment.html>

More information about the Snapcraft mailing list