Support sideloading snap packages

Bug #1570182 reported by Robert Ancell
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Triaged
Medium
Unassigned

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.

Revision history for this message
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)
tags: added: trello-import
Will Cooke (willcooke)
tags: removed: trello-import
description: updated
Revision history for this message
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.

Revision history for this message
Robert Ancell (robert-ancell) wrote :
tags: added: julyshakedown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.