The source field was changed by GNOME Software upstream to infer the
source based on the icon/screenshot metadata (which is where
dashboard.snapcraft.io comes from). The reason for this change was on
other distros the source may not have been the Ubuntu store.

To fix this correctly we probably need more information from snapd. The
snapd system information has a 'store' field [1] which we can use to
decide if this is not the default store. If it's blank is signifies the
"default store", but this is not 100% clear this can be assumed that
it's the Ubuntu store. We also need to clarify if this is a code or a
user-visible string.

It needs to be investigated if installed snaps can tell where they came
from. This might be possible by checking assertions. Otherwise we can
only say a search result is from a given store, but an installed snap
could be from anywhere (e.g. sideloaded).

While this bug seems simple at first glance, some thought needs to be
put into it.

[1] https://github.com/snapcore/snapd/wiki/REST-API#get-v2system-info

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1706500

Title:
  Update snap store name "Ubuntu Store"

Status in gnome-software package in Ubuntu:
  Triaged
Status in gnome-software source package in Xenial:
  Triaged
Status in gnome-software source package in Zesty:
  Triaged
Status in gnome-software source package in Artful:
  Triaged

Bug description:
  [Impact]
  Currently various things are shown for the snap "Source" field:
  3.20: "Ubuntu Snappy Store" - hard-coded
  3.22 / 3.24: "dashboard.snapcraft.io" - is inferred from the snap metadata
  The officially decided store name is "Ubuntu Store" and this should show in 
this field.

  [Test Case]
  1. Open GNOME Software.
  2. Install a snap (e.g. moon-buggy).
  3. Select installed tab.
  4. Look at the "Source" field when looking at the app details.

  Expected result:
  The source is "Ubuntu Store"

  Observed result:
  The source is something else.

  [Regression Potential]
  Small risk of breaking existing code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1706500/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to