common-id extractor to infer launchable for legacy support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Sergio Schvezov |
Bug Description
Currently the appstream extractor will only go looking for a desktop file iff a `launchable` is set in the appstream data. Unfortunately older desktop files may still rely on the previous functionality which was that the`id` == desktop-id (e.g. `org.kde.
To support that properly the extractor should also attempt to locate the desktop if no launchable is present BUT the id ends with '.desktop'.
For broadest compatibility the extractor could always go looking for the desktop file even when no launchable was provided, appending '.desktop' as necessary. This is however not required from a spec POV, just a thought.
See note at
https:/
tags: | added: 19.04 19.04-blue 19.04-external |
Changed in snapcraft: | |
milestone: | none → 3.1 |
assignee: | nobody → Sergio Schvezov (sergiusens) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/snapcore/ snapcraft/ pull/2435