Public bug reported:

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.

** Affects: developer-portal
     Importance: Undecided
         Status: New

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

** Affects: snapcraft (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: snapd (Ubuntu)
     Importance: Medium
         Status: Triaged

** Affects: snapd-glib (Ubuntu)
     Importance: Undecided
         Status: New

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

** Description changed:

  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.

** Also affects: snapd-glib (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: snapcraft (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  Add a title field to snap metadata

To manage notifications about this bug go to:
https://bugs.launchpad.net/developer-portal/+bug/1663060/+subscriptions

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

Reply via email to