← Back to issue list

snapcraft needs to migrate to a snap directory

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1659085
Type
issue
State
closed
Author
~sergiusens
Labels
qa-ok
Created
Updated
Closed

Current evaluation

Closed as fixed by sergiusens after snapcraft merged snap-directory support: PR #1073 (snap/snapcraft.yaml, commit 78f3d4fe3), PR #1082 (new plugin directory, eb884b074) and PR #1083 (GUI support, 8332c5740); parts/stage/prime item split to a separate bug.

Resolution: closed resolved

Reason: The three tracking PRs were merged into snapcraft (78f3d4fe3, eb884b074, 8332c5740) and lpqabot reported the fix shipped in stable r18321; the parts/stage/prime sub-task was explicitly moved to a separate bug by the maintainer.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Tasks involve: - add the option for snapcraft to live in snap/snapcraft.yaml - parts, stage and prime moving parts need to be in snap - building blocks need to be available in the resulting snap in a snap directory (hidden with a feature flag). - plugins need to migrate to this snap directory.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Closed as fixed by sergiusens after snapcraft merged snap-directory support: PR #1073 (snap/snapcraft.yaml, commit 78f3d4fe3), PR #1082 (new plugin directory, eb884b074) and PR #1083 (GUI support, 8332c5740); parts/stage/prime item split to a separate bug.
stealth/space-bunny-alpha — closed resolved Snap-directory support merged in PRs #1073, #1082, and #1083 and shipped in stable r18321; lifecycle-directory placement moved to LP #1747778.
stealth/space-bunny-alpha — closed resolved Snap-directory migration landed via PRs #1073, #1082, and #1083; the change was reported fixed in stable r18321.
stealth/space-bunny-alpha — closed resolved Added support for snap/snapcraft.yaml in #1073, alongside the migration of parts and build directories into snap/.
qwen/qwen3.6-35b-a3b — — Closed without discussion. The migration requirement was superseded by native snapcraft support for the snap/ directory structure, which now natively handles snapcraft.yaml placement and part organization.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The proposed migration of snapcraft to a snap directory, including build artifact relocation and plugin updates, was abandoned or superseded by subsequent architecture changes.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The proposed snap directory migration was abandoned and superseded by subsequent snapcraft architecture updates.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The proposed snapcraft directory migration, including relocating build artifacts and updating plugins, was abandoned. Later snapcraft versions adopted equivalent structural changes.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#1073 (confidence 95%)

    Adds snap/snapcraft.yaml project support, commit 78f3d4fe3

  • Likely Fixed By: snapcraft#1082 (confidence 95%)

    Moves plugins to new snap directory location, commit eb884b074

  • Likely Fixed By: snapcraft#1083 (confidence 90%)

    GUI plugin support via snap/ directory, commit 8332c5740

  • Related To: snapcraft#1102 (confidence 60%)

    cleanbuild includes snap directory in tarball, follow-up work

  • Related To: snapcraft#1180 (confidence 55%)

    Tests updated to support snap directory, follow-up

Related issues

Issue Project State Summary Similarity
#1910298 ~/snap directory should be o0700 snapcraft (launchpad) closed Closed as stale without a final documented fix; snapcraft-desktop-helpers PR #218 was merged, while broader snapd remediation remained in PRs #9897 and #10992.
72%
#1069 snapcraft.yaml and building in snap directory snapcraft closed Closed unmerged after #1073 superseded the manifest-location change; #1073 was merged as 78f3d4fe3 to support snap/snapcraft.yaml.
71%