← Back to issue list

Use `snapcraft pack` for snapcraft >=8

View original Github issue

Metadata

Project
craft-actions
Number
#53
Type
issue
State
closed
Author
mr-cal
Labels
Type: Enhancement Status: Triaged
Created
Updated
Closed

Current evaluation

Closed without a documented implementation; only an automated CRAFT-5028 ticket comment was posted, and no resolving PR or commit was identified.

Resolution: closed stale

Reason: The issue was closed without a documented code change or maintainer explanation; its only comment is an automated internal-ticket notice for CRAFT-5028. Repository search found no resolving PR or commit implementing version-dependent Snapcraft invocation.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Snapcraft 8 deprecated calling `snapcraft` in favor of `snapcraft pack`. Snapcraft 9 will raise an error when calling just `snapcraft`. Older versions of snapcraft don't support `snapcraft pack`, so we need to: - run `snapcraft --version` - call `snapcraft` for versions < 8 and `snapcraft pack` for everything else

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Closed without a documented implementation; only an automated CRAFT-5028 ticket comment was posted, and no resolving PR or commit was identified.
stealth/space-bunny-alpha — closed stale Closed without a documented implementation; the only comment links internal ticket CRAFT-5028, with no resolving PR, commit, or release identified.
stealth/space-bunny-alpha — closed stale Closed unimplemented after 202 days of inactivity; no resolving PR or commit was linked, and the only comment was a bot notice for internal ticket CRAFT-5028.
qwen/qwen3.6-35b-a3b — — Closed without a fix or merge. The enhancement to conditionally use snapcraft pack for version 8 and above remains unimplemented and was likely abandoned after Jira synchronization.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The enhancement proposed adding a version check to execute snapcraft pack for snapcraft 8+ while falling back to snapcraft for older versions. No merge or fix was applied.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The enhancement was abandoned and tracked externally via Jira ticket CRAFT-5028. No code changes or merges were applied.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1797232 suppress `snap pack` for non app types snapcraft (launchpad) closed Linked to snapcore/snapcraft#2340 to restrict snap pack to app snaps, but the PR was closed unmerged after 2,906 days without a replacement.
73%
#1448 snapcraft build using manifest.yaml snapcraft closed Closed silently with no body, discussion, resolving PR, or commit; no repository history links canonical/snapcraft#1448 to a documented implementation.
71%
#4870 snapcraft pack error obtuse on snapd errors snapcraft closed Closed as a duplicate of #4548, which was tracked by #4499; hidden snapd pack diagnostics were fixed by merged PR #5188 (a9fc44093).
70%