Snapcraft forum topic:
https://forum.snapcraft.io/t/snap-title-field

-- 
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/1555569

Title:
  [snaps] Show human-readable names for store apps

Status in Snapcraft:
  New
Status in Snappy:
  New
Status in Software Center Agent:
  Fix Released
Status in gnome-software package in Ubuntu:
  Triaged

Bug description:
  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.​

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to