[Bug 1555569] Re: [snaps] Show human-readable names for store apps
The title field can be set in the store website, but there's still work required for snapcraft to allow you to set this field and the store to extract it on upload. ** Changed in: gnome-software (Ubuntu Zesty) Assignee: (unassigned) => Robert Ancell (robert-ancell) ** Changed in: gnome-software (Ubuntu Xenial) Assignee: (unassigned) => Robert Ancell (robert-ancell) ** Also affects: gnome-software (Ubuntu Artful) Importance: High Assignee: Robert Ancell (robert-ancell) Status: Fix Committed ** Changed in: gnome-software (Ubuntu Zesty) Status: Triaged => Fix Committed ** Changed in: gnome-software (Ubuntu Xenial) Status: Triaged => Fix Committed ** Summary changed: - [snaps] Show human-readable names for store apps + Use 'title' field for snap apps -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/169 Title: Use 'title' field for snap apps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
** Description changed: - 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). + [Impact] + Snaps show using the snap 'name', which has a limited character set and is not translatable (e.g. 'moon-buggy'). The store contained a 'title' which is more appropriate (e.g. 'Moon Buggy') which was not exposed via snapd. Now snapd supports this field we should use it in GNOME Software. - 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. + [Test Case] + 1. Start GNOME Software + 2. Search for 'moon' - 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. + Expected result: + A snap called 'Moon Buggy' is shown. - 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" - } + Observed result: + A snap called 'moon-buggy' is shown. - 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. + [Regression Potential] + The fix is to use the new field if it is present. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/169 Title: Use 'title' field for snap apps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
Will be in gnome-software 3.25.4 and will work once the next snapd release is made. ** Changed in: gnome-software (Ubuntu) Status: Triaged => Fix Committed ** Changed in: gnome-software (Ubuntu) Assignee: (unassigned) => Robert Ancell (robert-ancell) ** Also affects: gnome-software (Ubuntu Zesty) Importance: Undecided Status: New ** Also affects: gnome-software (Ubuntu Yakkety) Importance: Undecided Status: New ** Also affects: gnome-software (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: gnome-software (Ubuntu Yakkety) Status: New => Won't Fix ** Changed in: gnome-software (Ubuntu Xenial) Status: New => Triaged ** Changed in: gnome-software (Ubuntu Zesty) Status: New => Triaged ** Changed in: gnome-software (Ubuntu Zesty) Importance: Undecided => Medium ** Changed in: gnome-software (Ubuntu Yakkety) Importance: Undecided => Medium ** Changed in: gnome-software (Ubuntu Xenial) Importance: Undecided => Medium ** No longer affects: snappy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/169 Title: [snaps] Show human-readable names for store apps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
Snapcraft forum topic: https://forum.snapcraft.io/t/snap-title-field -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/169 Title: [snaps] Show human-readable names for store apps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
I’ve added Snapcraft because Sergio Schvezov tells me the problem also occurs there: there is no way to record an app name in the snapcraft.yaml, and the “name” field in that file is a store ID rather than a name as users and app developers would understand the term. ** Also affects: snapcraft 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/169 Title: [snaps] Show human-readable names for store apps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
** No longer affects: click-reviewers-tools -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/169 Title: [snaps] Show human-readable names for store apps To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
** Changed in: gnome-software (Ubuntu) Importance: Medium => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/169 Title: [snaps] Show human-readable names for store apps To manage notifications about this bug go to: https://bugs.launchpad.net/click-reviewers-tools/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
** 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/169 Title: [snaps] Show human-readable names for store apps To manage notifications about this bug go to: https://bugs.launchpad.net/click-reviewers-tools/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
** Tags removed: trello-import -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/169 Title: [snaps] Show human-readable names for store apps To manage notifications about this bug go to: https://bugs.launchpad.net/click-reviewers-tools/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
** Tags added: trello-import -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/169 Title: [snaps] Show human-readable names for store apps To manage notifications about this bug go to: https://bugs.launchpad.net/click-reviewers-tools/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
** Tags added: gnome-software -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/169 Title: [snaps] Show human-readable names for store apps To manage notifications about this bug go to: https://bugs.launchpad.net/click-reviewers-tools/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
Hello all, Let me share the current state about title, summary and description fields. Currently, the store API exposes these fields for each snap (among others): package_name -> the "technical" package name, such as generic-amd64 (not-editable, but could change due to name disputes or similar) name -> fully qualified name of a package, such as "generic-amd64.canonical" (not-editable, same remark as before) summary -> the package summary, matches the summary field in the snap.yaml file (editable from Store UI) description -> the package description, matches the description field in the snap.yaml file (editable from Store UI) title -> the human readable string for a package, initially is filled with the snap name, but can be edited from the Store UI There is a pending improvement from snappy so the title is also required in the snap.yaml, once that is done, the store will use that to populate the title field. For current examples: https://search.apps.ubuntu.com/api/v1/package/generic-amd64 https://search.apps.ubuntu.com/api/v1/package/bar So specifically to this bug report, I think the Gnome Software should always use the 'title' property from the Store results as the human readable string to show to the user. ** Changed in: software-center-agent Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/169 Title: [snaps] Show human-readable names for store apps To manage notifications about this bug go to: https://bugs.launchpad.net/click-reviewers-tools/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1555569] Re: [snaps] Show human-readable names for store apps
** Information type changed from Private to Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/169 Title: [snaps] Show human-readable names for store apps To manage notifications about this bug go to: https://bugs.launchpad.net/click-reviewers-tools/+bug/169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs