Your first snap: Use of icon in snapcraft.yaml is deprecated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Leo Arias | ||
Ubuntu Developer Portal |
Fix Released
|
Medium
|
David Callé | ||
snapcraft (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
https:/
In the last example snapscraft.yaml file icon: icon.png is listed. This has now been deprecated so the tutorial needs updating.
Instead, the github docs state the following:
Snap icon
Providing an icon for your snap is important, even for command-line applications, if for nothing else than discoverability from management interfaces such as store fronts like webdm.
To use an icon to represent the snap, just drop a PNG or SVG in setup/gui named icon.png for the former or icon.svg for the latter such that the (reduced) project tree would look like:
setup/
snapcraft.yaml
or
setup/
snapcraft.yaml
[Impact]
* The documentation is outdated and misleading.
* This doc will end up in developer.
[Test Case]
* N/A.
[Regression Potential]
* None, just a documentation change.
Changed in snapcraft: | |
importance: | Undecided → Medium |
milestone: | none → 2.10 |
status: | New → Triaged |
assignee: | nobody → Leo Arias (elopio) |
Changed in snapcraft: | |
status: | Triaged → In Progress |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in developer-ubuntu-com: | |
status: | New → Fix Released |
importance: | Undecided → Medium |
assignee: | nobody → David Callé (davidc3) |
Changed in snapcraft (Ubuntu): | |
milestone: | none → xenial-updates |
Changed in snapcraft (Ubuntu Yakkety): | |
milestone: | xenial-updates → none |
Changed in snapcraft (Ubuntu Xenial): | |
milestone: | none → xenial-updates |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
This is automatically pulled in from snapcraft. It needs to be fixed there.