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

2017-05-04 Thread Robert Ancell
*** This bug is a duplicate of bug 169 *** https://bugs.launchpad.net/bugs/169 See bug 1688407 for the reversion in 17.04. (Also not this bug is a duplicate and comment on bug 169 if you have more information to add). -- You received this bug notification because you are a

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

2017-05-04 Thread Aaron Ogle
*** This bug is a duplicate of bug 169 *** https://bugs.launchpad.net/bugs/169 ** Also affects: rocket.chat Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

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

2017-05-04 Thread Gustavo Niemeyer
*** This bug is a duplicate of bug 169 *** https://bugs.launchpad.net/bugs/169 We just got a bug report saying gnome-software is actually showing summaries as a title: https://forum.snapcraft.io/t/title-summary-pulled-from/469 -- You received this bug notification because you are a

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

2017-02-14 Thread Robert Ancell
*** This bug is a duplicate of bug 169 *** https://bugs.launchpad.net/bugs/169 Oh (insert expletive here). Natalia - you are right, this is a duplicate of bug 169. I was reviewing our outstanding issues with snapd and for some reason I didn't find that bug and opened a new one.

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

2017-02-14 Thread Mark Shuttleworth
IIRC, the idea was to capture the AppStream link in the store, and have snapd query the store for that if asked? I'm happy to go forward with that, no additional snap.yaml data needed. Mark -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

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

2017-02-14 Thread Matthias Klumpp
Okay, I think I need to point out that the AppStream metainfo format solves all the problems you have (providing a human-readable translated name, associating a snap and a .desktop file, integrating it with GNOME Software)- it will even allow one to specify multiple launch-commands per software

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

2017-02-14 Thread Natalia Bidart
Hi Robert, Would you mind clarifying for me the difference between this bug and LP #169? As per the bug I linked, and the email thread conversation with subject "Package metadata: title, description and tagline" (sorry for the public in general but that happened in an internal mailing list),

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

2017-02-14 Thread James Tait
For reference Click Package Index ("the store") already has a title field. It is returned by default in the details and search endpoints: $ curl -s 'https://search.apps.ubuntu.com/api/v1/snaps/search?q=ubuntu-clock-app=1' -H 'X-Ubuntu-Series: 16' | jq . { "_embedded": {

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

2017-02-14 Thread Mark Shuttleworth
OK. I have a feeling though that the apps: section is not ordered, which means we need some other way to call out the "definitive" app for the snap, i.e. the one which is represented in GNOME Software. So it feels to me that we need: * a way to associate desktop files with the apps in the snap

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

2017-02-13 Thread Robert Ancell
For completeness, some reasons why the "name" field is bad for displaying: - It's not translatable. - It's not able to accurately express the name of snap/app (limited characters allowed). - It's optimised for command line usage, not desktop cases (tends to be unnecessarily short, abbreviated).

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

2017-02-13 Thread Robert Ancell
The challenge with the desktop display name is the one to many relationship of snaps to apps. Here's a couple of cases: 1. A single snap with a single (graphical) app. This is probably going to be the vast majority of snaps used on desktop. In this case using the "Name" field from the is both

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

2017-02-13 Thread Mark Shuttleworth
The name field today is the best fallback, but it is obviously unsatisfying ("ubuntu-personal-calculator") as primary keys don't make nice human-friendly names. I think what we want is a translatable displayname, and I would support that, but Robert, why not just have this in the desktop file

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

2017-02-12 Thread Gustavo Niemeyer
If gnome-software is using summary as a name, it needs to be fixed to not do that, ASAP. Whether to have a different field is an unrelated conversation which is of less urgency than that. We have a name field today, and it should be used. -- You received this bug notification because you are a

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

2017-02-12 Thread Robert Ancell
Please ignore what gnome-software is currently using. The title and description of this bug is about adding a new field because none of the current fields are sufficient. Please don't get hung up on the semantics on the fields; call them "naming", "describing", "metadata" - whatever. I don't

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

2017-02-10 Thread Gustavo Niemeyer
Yes, but the discussion above also implies that we have multiple naming fields, and that gnome-software is currently using summary as it ("Currently gnome-software is using sumary or name instead of this field."). We should discuss the possibility of another field, per above note, but let's

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

2017-02-10 Thread Mark Shuttleworth
I think Robert is using 'name' in the 'primary key' sense, and 'title' in the 'display name' sense. 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

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

2017-02-10 Thread Gustavo Niemeyer
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

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

2017-02-09 Thread Mark Shuttleworth
Good point. Perhaps just fallback to name - uncapitalised - would be best. -- 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

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

2017-02-09 Thread Robert Ancell
Given the current name conventions I think capitalizing the name would be a bad heuristic, e.g. ubuntu-calculator-app -> "Ubuntu Calculator App" (should be "Calculator" or "Ubuntu Calculator") minecraft-server-jdstrand -> "Minecraft Server Jdstrand" (should be "Minecraft Server")

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

2017-02-09 Thread Matthias Klumpp
If Snappy would support AppStream metadata... ;-) -- 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:

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

2017-02-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd-glib (Ubuntu) Status: New => Confirmed -- 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:

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

2017-02-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-software (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663060

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

2017-02-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapcraft (Ubuntu) Status: New => Confirmed -- 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:

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

2017-02-08 Thread Robert Ancell
** Also affects: snappy 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

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

2017-02-08 Thread Robert Ancell
Currently gnome-software is using sumary or name instead of this field. ** Also affects: developer-portal Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.