** Description changed:

- 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).
+ [Impact]
+ Snaps show using the snap 'name', which has a limited character set and is 
not translatable (e.g. 'moon-buggy'). The store contained a 'title' which is 
more appropriate (e.g. 'Moon Buggy') which was not exposed via snapd. Now snapd 
supports this field we should use it in GNOME Software.
  
- 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.
+ [Test Case]
+ 1. Start GNOME Software
+ 2. Search for 'moon'
  
- 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.
+ Expected result:
+ A snap called 'Moon Buggy' is shown.
  
- 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"
- }
+ Observed result:
+ A snap called 'moon-buggy' is shown.
  
- 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.​
+ [Regression Potential]
+ The fix is to use the new field if it is present.

-- 
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:
  Use 'title' field for snap apps

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1555569/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to