The bug description is misleading. There's a single name field in snaps
today, and its called "name". Summary is not a name, and description is
not a name. If gnome-software or anything else is using "summary" as a
name, that's a pretty obvious bug that would be great to see fixed.

We can discuss the introduction of an alternative name field which is
free-form and not unique, but that's a separate conversation. Proper
applications supporting the snap format shouldn't mangle snap names, and
shouldn't misuse fields for incorrect purposes.

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

Title:
  Add a title field to snap metadata

Status in Developer registration portal:
  New
Status in Snappy:
  New
Status in gnome-software package in Ubuntu:
  Confirmed
Status in snapcraft package in Ubuntu:
  Confirmed
Status in snapd package in Ubuntu:
  Triaged
Status in snapd-glib package in Ubuntu:
  Confirmed

Bug description:
  There are currently three naming fields in the snap metadata:
  name: a codename for the snap (can't contain spaces)
  summary: a one-line description of the snap
  description: A multi-line description of the snap

  For example for the Ubuntu calculator app we have:
  name: ubuntu-calculator-app
  summary: Ubuntu Calculator app
  description: The calculator app for all Ubuntu devices.

  What is missing is the 'title' field from the store - this is more
  appropriate to use in a graphical system to display this. For example,
  this should be "Calculator" for ubuntu-calculator-app.

  I think the following needs to be done:
  1. A title field needs to be specified in the .snap metadata.
  2. snapd needs to return this field for local snaps from the metadata, and 
return the store field for searches.
  3. The store should take the title field from the metadata when uploading and 
automatically set it in the store.
  4. Snapcraft needs to have updated documentation / prompt the user to enter 
this field.
  5. snapd-glib needs support for this field.
  6. GNOME Software should use this field where appropriate.

To manage notifications about this bug go to:
https://bugs.launchpad.net/developer-portal/+bug/1663060/+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