After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 790967 - Support snap channels
Support snap channels
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: Snap
git master
Other Linux
: Normal normal
: ---
Assigned To: Robert Ancell
Robert Ancell
Depends on:
Blocks:
 
 
Reported: 2017-11-29 01:35 UTC by Robert Ancell
Modified: 2018-01-24 17:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Support snap channels (55.48 KB, patch)
2017-11-29 01:35 UTC, Robert Ancell
none Details | Review

Description Robert Ancell 2017-11-29 01:35:42 UTC
Created attachment 364596 [details] [review]
Support snap channels

Snaps have a concept of channels [1]. Essentially channels allow you to switch between stable and unstable versions of the application you have installed.

For example all snaps are installed from the "latest/stable" channel. You might want to test the next version of that snap in the "latest/candidate" channel or run an older version in the "2.0/stable" channel.

You can see the UI in the snapcraft forum [2].

To implement this in GNOME Software I had to add a channel concept to GsApp and a new plugin function gs_plugin_app_switch_channel. If a plugin adds channels to a GsApp the details page will show a channel button in the details section beside the version label.

[1] https://docs.snapcraft.io/reference/channels
[2] https://forum.snapcraft.io/t/channel-support-in-gnome-software
Comment 1 GNOME Infrastructure Team 2018-01-24 17:54:48 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/268.