Support sideloading snap packages

Bug #1570182 reported by Robert Ancell on 2016-04-14
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)

Bug Description

You can't currently sideload a snap (i.e. install a .snap file).

This requires gnome-software to be subscribed to the .snap mime type and gnome-software to be able to extract the snap metadata.

Robert Ancell (robert-ancell) wrote :

The method snappy uses for extracting metadata is:
$ unsquashfs -d (some temp dir) package.snap meta/snap.yaml meta/gui/icon.png meta/icon.png

This will pull out these metadata files to a temp directory and then they can be parsed by GNOME Software.

Will Cooke (willcooke) on 2016-04-25
tags: added: trello-import
Will Cooke (willcooke) on 2016-04-25
tags: removed: trello-import
description: updated
Robert Ancell (robert-ancell) wrote :

Really would like a libunsquashfs to do this and make life simpler, but it doesn't seem to exist. It might be a good idea to wrap this into snapd-glib and potentially fix it later.

tags: added: julyshakedown
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers