Private bug reported:

GNOME Software shows the package name from the app (the snap's name you
can't change in the store) instead of the human-readable one (the one
you can edit in the store).

That is, the entry in GNOME Software reads 'ubuntu-calculator-app'
instead of 'Calculator (Unity 7)'. The latter is specified as "Package
title" in the web UI, not sure which field name it's got in the store
API.

It seems, though, that snappy does not have the concept of a human-
readable name and it's using the "description" field for that. I'm not
sure if that's the intention, or if it's expected that any store clients
use the "Package title" from the store API instead.

snapd gives the following information for ubuntu-calculator-app (in this case, 
sideloaded):
{
  "description" : "Ubuntu Calculator app",
  "download_size" : -1,
  "icon" : "/2.0/icons/ubuntu-calculator-app.sideload/icon",
  "installed_size" : 581341041,
  "name" : "ubuntu-calculator-app",
  "origin" : "sideload",
  "resource" : "/2.0/snaps/ubuntu-calculator-app.sideload",
  "status" : "active",
  "type" : "app",
  vendor" : "",
 "version" : "IOBXFFOCRcXL"
}

>From James Tait:

The human-readable package display name, “Package name” in the upload
form, maps to the title field in the store API and takes its data from
the same field in a Click manifest, but seemingly has no equivalent in a
Snap manifest. The closest field in snap.yaml appears to be summary, but
I was intending to extract that to tagline and fix bug #1303354 so we
can surface that in the store API.

The ​description field in the store API maps to the “Tagline” and
“Description” fields in the upload form, and takes its data from the
title and description fields in Click manifests, and the description
field in Snap manifests.

​The name field in the store API maps to the unchangeable package name
in the store web UI, and takes its data from the same field in both
Click and Snap manifests, with the author’s short namespace appended if
the extracted package name is unqualified.​

** Affects: click-package-index
     Importance: Undecided
         Status: New

** Affects: gnome-software (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: sdoc

** Information type changed from Public to Private

** Also affects: click-package-index
   Importance: Undecided
       Status: New

** Tags added: sdoc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1555569

Title:
  Show human-readable names for store apps

To manage notifications about this bug go to:
https://bugs.launchpad.net/click-package-index/+bug/1555569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to