Use 'title' field for snap apps
Bug #1555569 reported by
David Planella
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Undecided
|
Unassigned | ||
Software Center Agent |
Fix Released
|
Undecided
|
Unassigned | ||
gnome-software (Ubuntu) |
Fix Released
|
High
|
Robert Ancell | ||
Xenial |
Fix Released
|
Medium
|
Robert Ancell | ||
Yakkety |
Won't Fix
|
Medium
|
Unassigned | ||
Zesty |
Fix Released
|
Medium
|
Robert Ancell | ||
Artful |
Fix Released
|
High
|
Robert Ancell |
Bug Description
[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.
[Test Case]
1. Start GNOME Software
2. Search for 'moon'
Expected result:
A snap called 'Moon Buggy' is shown.
Observed result:
A snap called 'moon-buggy' is shown.
[Regression Potential]
The fix is to use the new field if it is present.
information type: | Public → Private |
tags: | added: sdoc |
Changed in gnome-software (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
summary: |
- Show human-readable names for store apps + [snaps] Show human-readable names for store apps |
Changed in click-reviewers-tools: | |
assignee: | James Tait (jamestait) → nobody |
Changed in software-center-agent: | |
assignee: | James Tait (jamestait) → nobody |
information type: | Private → Public |
tags: | added: gnome-software |
tags: | added: trello-import |
tags: | removed: trello-import |
Changed in gnome-software (Ubuntu): | |
importance: | Medium → High |
no longer affects: | click-reviewers-tools |
description: | updated |
To post a comment you must log in.
I was under the mistaken impression that we wanted to retain the tagline field specifically because it was metadata we extracted from the package manifest. According to http:// click.readthedo cs.org/ en/latest/ file-format. html this is not the case.
Given that, and the fact that the closest map we have to the old click `title` field in the new snap manifest is `summary`, the recommendation is to map `summary` in `snap.yaml` to `title` in the Store API and, as dobey suggested in bug #1303354, drop tagline altogether.
I'm re-assigning this bug to software- center- agent for now, as that's where the immediate work will take place, but soon this metadata will be extracted by click-reviewers -tools so the code will move there instead.