← Back to issue list

stage-snaps

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1805214
Type
issue
State
closed
Author
~sergiusens
Labels
19.04 19.04-external
Created
Updated
Closed

Current evaluation

Feature request for a stage-snaps keyword (unpack a snap's content into the snap being built, like stage-packages) was implemented and merged in canonical/snapcraft#2468 (commit 0983e4063), then shipped in the 3.2 release; follow-up fixes in #2525 and #3211.

Resolution: closed resolved

Reason: Stage-snaps support was added by merged PR canonical/snapcraft#2468 (commit 0983e4063 "many: support for stage-snaps"), which introduced the stage-snaps grammar/keyword and a Snap source that downloads and unpacks a snap into the stage directory. The feature landed in the 3.2 release changelog, with later refinements in #2525 (catkin plugin ROS dependency check) and #3211 (pluginhandler fix for v2 plugins).

Evaluated by: mr-cal-bot

No scores available.

Issue body

It should be possible to dump the content of a snap into the snap being worked on akin to using stage-packages.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Feature request for a stage-snaps keyword (unpack a snap's content into the snap being built, like stage-packages) was implemented and merged in canonical/snapcraft#2468 (commit 0983e4063), then shipped in the 3.2 release; follow-up fixes in #2525 and #3211.
stealth/space-bunny-alpha — closed resolved Stage-snaps support was implemented by downloading and unpacking snap contents into the snap being built; merged in canonical/snapcraft#2468.
stealth/space-bunny-alpha — closed resolved Stage-snaps support was implemented and merged in canonical/snapcraft#2468 (commit 0983e4063), addressing LP #1805214.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments, indicating the feature request was abandoned. The capability to stage snap contents like packages was not implemented.
qwen/qwen3.6-35b-a3b — — Closed without comments or resolution. The request to stage snap contents like packages was abandoned due to prolonged inactivity.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. The request to stage snap contents like stage-packages was abandoned due to inactivity.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation or discussion. Zero comments and prolonged inactivity indicate the stage-snaps feature request was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#2468 (confidence 96%)

    Merged PR 'many: support for stage-snaps' (commit 0983e4063) adding stage-snaps keyword and Snap source that unpacks downloaded snaps.

  • Related To: canonical/snapcraft#2525 (confidence 55%)

    Follow-up: catkin plugin checks stage-snaps for ROS dependencies.

  • Related To: canonical/snapcraft#3211 (confidence 50%)

    Follow-up fix: pluginhandler handling of stage-snaps for v2 plugins.

Related issues

Issue Project State Summary Similarity
#2468 many: support for stage-snaps snapcraft merged Merged in PR #2468 as commit 0983e4063, adding stage-snaps, advanced grammar support, and a snap source for extracting downloaded snaps.
75%
#6095 Allow staging snap components snapcraft open Feature request to support snap components in stage-snaps (snap+component syntax). Triaged as feasible; implementation lives upstream in craft-parts PR #1604, currently on hold pending snapd UX decisions on component access/management.
74%
#1901733 stage-snaps not usable with branches snapcraft (launchpad) closed Stage/build-snap branch channels were identified as blocked by Snapcraft validation, but no fix landed; the item was eventually abandoned and closed as stale.
72%
#1604 feat: handle snap components in stage-snaps craft-parts open Adds snap component support to stage-snaps (unpacking component trees, SNAP_COMPONENTS). Marked draft by mr-cal pending snapd UX decisions; 3 unresolved review threads and 5 CI jobs still failing.
72%
#3211 pluginhandler: fix stage-snaps for v2 plugins snapcraft merged Merged in canonical/snapcraft#3211 (0870f1738), fixing v2 stage-snaps handling and preventing prepare_build from discarding unpacked snaps.
71%
#2127927 Allow {stage,build}-snaps and extensions to point to locally provided snaps snapcraft (launchpad) open Feature request to let build-snaps, stage-snaps, and extension dependencies reference local .snap files; support remains Store-only and the issue has not been triaged.
71%
#270 Support $SNAPCRAFT_STAGE for parts snapcraft merged Merged in canonical/snapcraft#270 via eb033b40c, adding part-time replacement of $SNAPCRAFT_STAGE with the absolute stage-directory path.
70%
#1575 feat(snaps): use '@' for separating stage-snap names from their channels. craft-parts merged Merged PR #1575 by lengau switches stage-snaps/build-snaps name/channel parsing to '@' (snaps.py uses split("@", 1) and rejects padded whitespace), fixing issue #1574; changelog entry added.
70%
#1747778 Snapcraft.yml in 'snap' directory. prime/parts/stage in '.' snapcraft (launchpad) open Feature request (2018) to let snapcraft put parts/stage/prime build dirs next to snap/snapcraft.yaml instead of the project root. Maintainer kyrofa agreed it is desirable; no implementation exists — lifecycle still uses Path.cwd() as work_dir.
70%
#1538688 Support referencing the stage dir from snapcraft.yaml snapcraft (launchpad) closed Implemented SNAPCRAFT_STAGE substitution for part properties and merged the fix in canonical/snapcraft#270 via eb033b40c.
70%