← Back to issue list

Adding "icon" filed in the snapcraft.yaml template to define a package icon

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1662034
Type
issue
State
open
Author
~liu-xiao-guo
Labels
Created
Updated
Closed

Current evaluation

Feature request to add an icon field to the snapcraft init template so developers know how to set a package icon for the Ubuntu Store. Filed ~9.5 years ago with no labels, no comments, and no maintainer interaction; request remains unaddressed.

Suggested action: close stale

Reason: The issue is 3494 days old with 0 comments, no labels, and no maintainer interaction, and it predates the current snapcraft 8.x codebase by years — the template and workflow it references are from the pre-rewrite era and no longer exist in that form. The underlying request (a one-line template addition) is trivial to re-file if still desired, so closing as stale is appropriate rather than keeping a 9.5-year-old untriaged request open.

Impact: 20 Quick Win: 18.0 Staleness: 92 Complexity: 10 Confidence: 65 Support Request: 10

Issue body

Currently, if I use "snapcraft init", it generates a template snapcraft.yaml for developers to start with. However, it misses "icon" field in the file, which is not so obvious to developers if a package icon is needed for making it different in the ubuntu store. Currently, a lot of snap apps just show a default icon which makes them look the same. It would be nice for each of them having a dedicated icon in the Ubuntu Store. In the template, it would be good to have the icon field defined like: icon: xxx.png/svg so that developers know where to customize the snap package icon. They can easily design their own icon and replace it with their own. Thanks & best regards, XiaoGuo

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 20
Quick Win: 18.0
Staleness: 92
Complexity: 10
Confidence: 65
Support Request: 10
close stale Feature request to add an icon field to the snapcraft init template so developers know how to set a package icon for the Ubuntu Store. Filed ~9.5 years ago with no labels, no comments, and no maintainer interaction; request remains unaddressed.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 10
Confidence: 85
Support Request: 10
close stale Request to add an icon field to the snapcraft init template to guide developers on setting package icons for the Ubuntu Store. Unaddressed for nearly 9.5 years with no maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 10
close stale Request to add an icon field to the snapcraft.yaml template generated by snapcraft init. Issue is over 9 years old with zero maintainer engagement or activity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 10
Confidence: 85
Support Request: 5
close stale Feature request to add an icon field to the snapcraft init template. Untriaged, inactive for over 9 years with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 100
Complexity: 5
Confidence: 95
Support Request: 0
close stale Add an icon field to the snapcraft init template to help developers customize Ubuntu Store package icons. Open, zero comments, no labels, inactive for over nine years, and pending triage.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#914 (confidence 55%)

    Merged PR that dedeprecated the icon field in snapcraft.yaml (prioritizes it over the setup directory), confirming the icon field is supported in the schema but not a fix for the template request.

  • Related To: snapcraft (launchpad)#1567041 (confidence 50%)

    Older LP bug reporting that snapcraft init created an icon entry in the template; closed without resolution, suggesting the template's icon handling was revisited historically.

Related issues

Issue Project State Summary Similarity
#1567041 snapcraft init creates icon entry snapcraft (launchpad) closed Closed without resolution. The request to prevent snapcraft init from generating an icon entry was abandoned after over 3800 days with no associated pull requests or follow-up comments.
70%
#1995856 Get Desktop icon from snap instead of source tree snapcraft (launchpad) open Feature request to allow icon field in snapcraft.yaml to reference files in the snap instead of source tree. Issue is 3.8 years old with no maintainer interaction.
70%