← Back to issue list

deprecated field like "license" and "icon" are used in the document

View original Launchpad issue

Metadata

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

Current evaluation

Obsolete license metadata was removed by merged snapcore/snapcraft#880 (1dab7aaed); icon remained intentionally and was restored as preferred by #914 (4a4435cbe).

Resolution: closed resolved

Reason: Merged PR canonical/snapcraft#880, commit 1dab7aaed, removed obsolete license metadata from the documentation and schema. Maintainers intentionally retained icon; canonical/snapcraft#914, commit 4a4435cbe, later restored it as the preferred method.

Evaluated by: mr-cal-bot

No scores available.

Issue body

https://developer.ubuntu.com/en/snappy/build-apps/snapcraft-syntax/ and also in the link: https://github.com/snapcore/snapcraft/blob/master/docs/snapcraft-syntax.md Please double check the following fields: icon (string) Path to the icon that will be used for the snap. license (string) Path to a license file. license-agreement (string) Requires license to be set. The only valid value for this entry is explicit which requires the license to be accepted for the snap to install. A good example for this one is the Sun JRE/JDK being bundled in a snap. license-version (string) Requires license to be set. The version for the license. A change in version when license-accept is set to explicit requires a license to be reaccepted. "icon" is not recommended being used. Best regards, XiaoGuo

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Obsolete license metadata was removed by merged snapcore/snapcraft#880 (1dab7aaed); icon remained intentionally and was restored as preferred by #914 (4a4435cbe).
stealth/space-bunny-alpha — closed resolved PR canonical/snapcraft#880 merged as 1dab7aaed, removing obsolete license metadata from Snapcraft docs/schema. The icon field remained documented intentionally.
stealth/space-bunny-alpha — closed stale Closed without a recorded documentation update, maintainer explanation, or resolving reference after the report about deprecated license and icon fields.
qwen/qwen3.6-35b-a3b — — Closed without comments or resolution. The report flagged deprecated snapcraft fields in documentation, but no updates were applied to remove them.
qwen/qwen3.6-35b-a3b — — Fixed by updating the Snapcraft documentation to remove references to deprecated fields including icon, license, and license-agreement. The syntax guide was corrected and the issue closed.
qwen/qwen3.6-35b-a3b — — Documentation updated to remove deprecated snapcraft fields like icon and license from syntax guides. The issue was closed after the outdated references were corrected, with no further discussion.
qwen3.6-35b-a3b-mtp-q6 — — Documentation referencing deprecated snapcraft fields (icon, license) was closed without resolution. The outdated references remain unaddressed, indicating the report was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#880 (confidence 100%)

    Merged commit 1dab7aaed removed the obsolete license concepts.

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

    Merged commit 4a4435cbe reversed icon deprecation and made icon the preferred method.

Related issues

Issue Project State Summary Similarity
#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).
78%