Bug 389012 - Support snap channels
Summary: Support snap channels
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Snap Backend (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 16:37 UTC by Nate Graham
Modified: 2018-07-05 15:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2018-01-15 16:37:56 UTC
Snap offers Stable, Candidate, Beta, and Edge channels, but currently we don't expose this in the UI anywhere. These channels are good candidates for being exposed as Sources on the settings page. That way users would be able to use the source chooser UI to determine which version they want.

We should make sure to default to the Stable channel.
Comment 1 Aleix Pol 2018-06-06 01:51:53 UTC
We definitely need to support channels somehow, I'm not sure if sources are the right abstraction. It could feel weird that installing one source will uninstall another. Also they all share description and all. Snap doesn't give different metadata per channel.

Gnome Software treats it differently as well, they have it as an option within their application page.
Comment 2 Aleix Pol 2018-07-05 15:40:38 UTC
Git commit 67293df0f26ff8a4497dc5596df3a8aa1a04f021 by Aleix Pol.
Committed on 05/07/2018 at 15:39.
Pushed by apol into branch 'master'.

Snap: Support configuring used snap channels

Adds a dialog that allows to choose the channel in use for a snap.

M  +97   -3    libdiscover/backends/SnapBackend/SnapResource.cpp
M  +16   -1    libdiscover/backends/SnapBackend/SnapResource.h
A  +58   -0    libdiscover/backends/SnapBackend/qml/ChannelsButton.qml     [License: BSD]
M  +1    -0    libdiscover/backends/SnapBackend/snapui.qrc
M  +10   -0    libdiscover/utils.h

https://commits.kde.org/discover/67293df0f26ff8a4497dc5596df3a8aa1a04f021