← Back to issue list

icon deprecation message doesn't explain the new way

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1561327
Type
issue
State
closed
Author
~elopio
Labels
—
Created
Updated
Closed

Current evaluation

Fixed by merged ubuntu-core/snapcraft PR #409, which clarified where to move the icon; merge commit 4073f89fc.

Resolution: closed resolved

Reason: PR #409 merged branch bugfix/1561327/icon-in-setup as commit 4073f89fc, implementing guidance to move the icon into the setup directory.

Evaluated by: mr-cal-bot

No scores available.

Issue body

When I snap the libpipeline example I get the following deprecation warning: DEPRECATED: 'icon' defined in snapcraft.yaml The warning is ok, but it should also say what to do to adjust to the new rules. So something like: DEPRECATED: 'icon' defined in snapcraft.yaml. Move it to the setup directory.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged ubuntu-core/snapcraft PR #409, which clarified where to move the icon; merge commit 4073f89fc.
stealth/space-bunny-alpha — closed resolved Snapcraft PR #409 merged as d460d9db1, updating the icon deprecation warning to explain the new setup/gui location.
stealth/space-bunny-alpha — closed resolved Merged snapcraft#409 (commit d460d9db1), updating the icon deprecation warning to explain that icons should move to the setup/gui directory.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #409 (commit d460d9db1), which updated the icon deprecation warning to explain the setup-directory replacement.
qwen/qwen3.6-35b-a3b — — Requesting clearer migration guidance for the deprecated 'icon' field in snapcraft.yaml was closed without resolution. The warning message remains unchanged, likely superseded by newer snapcraft releases.
qwen/qwen3.6-35b-a3b — — Abandoned. The request to add migration instructions to the snapcraft.yaml icon deprecation warning was closed without resolution.
qwen/qwen3.6-35b-a3b — — Closed without discussion or resolution. The suggested deprecation warning improvement was abandoned. No merge or fix details were recorded.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. The deprecation warning for the icon field in snapcraft.yaml lacks migration instructions, but no fix was implemented.

Update history

Date Change
created

Related work

  • Likely Fixed By: ubuntu-core/snapcraft#409 (confidence 100%)

    The referenced PR targets bug 1561327 and was merged into the project.

Related issues

Issue Project State Summary Similarity
#914 meta: icon is now dedeprecated snapcraft merged PR #914 merged as commit 4a4435cbe, re-deprecating the icon deprecation: the icon entry in snapcraft.yaml is again the preferred method, overriding any icon in the setup directory (LP: #1610268).
79%
#1610268 icon and license are deprecated snapcraft (launchpad) closed Icon paths in snapcraft.yaml were restored as preferred by canonical/snapcraft#914 (4a4435cbe); unsupported license metadata was removed by canonical/snapcraft#880 (1dab7aaed).
71%