← Back to issue list

Snapcraft should use "prime" keyword instead of "snap"

View original Launchpad issue

Metadata

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

Current evaluation

Snapcraft’s schema now uses the documented `prime` filter instead of `snap`, fixed by snapcore/snapcraft#1006 in commit 7330d37fc.

Resolution: closed resolved

Reason: PR snapcore/snapcraft#1006 replaced the `snap` filter with `prime`; commit 7330d37fc is present in the repository history and directly resolves the documented-keyword mismatch.

Evaluated by: mr-cal-bot

No scores available.

Issue body

http://snapcraft.io/docs/reference/plugins/common Snapcraft 2.17 doesn't recognize the 'prime' keyword, uses 'snap' instead.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Snapcraft’s schema now uses the documented `prime` filter instead of `snap`, fixed by snapcore/snapcraft#1006 in commit 7330d37fc.
stealth/space-bunny-alpha — closed resolved Docs were right, code was wrong: merged PR #1006 (commit 7330d37fc) replaced the deprecated `snap` part filter with `prime` in snapcraft.yaml, fixing LP bug #1627781.
stealth/space-bunny-alpha — closed resolved Fixed in snapcore/snapcraft#1006 (commit 7330d37fc), replacing the unsupported snap filter with prime and rejecting use of both.
stealth/space-bunny-alpha — closed resolved Fixed the snap/prime filter mismatch in snapcraft#1006, commit 7330d37fc, which replaced the snap filter with prime.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Snapcraft 2.17's lack of support for the prime keyword was superseded by newer versions. No comments or fixes were applied.
qwen/qwen3.6-35b-a3b — — Abandoned. Closed without resolution or comments, likely superseded by upstream Snapcraft updates that later adopted the 'prime' keyword.
qwen/qwen3.6-35b-a3b — — Closed as abandoned due to prolonged inactivity. No comments or fixes were implemented, leaving the reported Snapcraft keyword recognition problem unresolved.
qwen3.6-35b-a3b-mtp-q6 — — Closed without discussion. The issue was abandoned or superseded by newer Snapcraft versions that natively support the prime keyword.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#1006 (confidence 100%)

    The PR implemented the schema change and was recorded as commit 7330d37fc.

Related issues

Issue Project State Summary Similarity
#1006 schema: replace `snap` filter with `prime` filter. snapcraft merged Merged #1006 replaced the `snap` project filter with `prime`, deprecated `snap`, rejected configurations using both, and added a warning test; it fixes LP #1627781.
71%