← 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

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

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.

Suggested action:

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
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

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1610268 icon and license are deprecated snapcraft (launchpad) closed Closed as WONTFIX. The deprecation of custom icon and license paths in snapcraft.yaml aligns with upstream snapcraft requirements. Projects must now use snapcraft's mandated directory structure. No code changes or workarounds provided.
72%