Re: [Bug 1663060] [NEW] Add a title field to snap metadata

2017-02-09 Thread Mark Shuttleworth
Yeah yeah patches welcome :p

Would it be sensible to have title be an optional field, and use the
Capitalized name if it is not provided? In the past, we've seen it's
hard to get complete and accurate metadata when there is a lot of
duplication in the schema.

And yes, appstream would be welcome.

Mark

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


[Bug 1663060] [NEW] Add a title field to snap metadata

2017-02-08 Thread Robert Ancell
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