← Back to issue list

snap directory excluded from cleanbuild tarball

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1661391
Type
issue
State
closed
Author
~kyrofa
Labels
cleanbuild regression
Created
Updated
Closed

Current evaluation

Cleanbuild now includes snap/ in its source tarball, fixing missing snap/snapcraft.yaml; merged via snapcore/snapcraft#1102 (e35826ed4).

Resolution: closed resolved

Reason: The regression was fixed by merged PR snapcore/snapcraft#1102, commit e35826ed4, titled “cleanbuild: include snap directory in tarball.” The maintainer linked that PR as the fix.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The upcoming snapcraft release moves to using the `snap/` directory for holding plugins and the snapcraft.yaml, but the `snap/` directory gets excluded from the cleanbuild tarball (because `prime/` was historically called `snap/`).

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Cleanbuild now includes snap/ in its source tarball, fixing missing snap/snapcraft.yaml; merged via snapcore/snapcraft#1102 (e35826ed4).
stealth/space-bunny-alpha — closed resolved Fixed by merged PR snapcraft#1102 (commit e35826ed4), restoring snap/ in cleanbuild tarballs so snap/snapcraft.yaml is available inside container builds.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR canonical/snapcraft#1102 (commit e35826ed4), restoring snap/ to cleanbuild tarballs so plugins and snapcraft.yaml are included.
qwen/qwen3.6-35b-a3b — — Closed and fixed. Cleanbuild tarball packaging was updated to include the snap directory, resolving the regression caused by historical naming conflicts with the prime directory.
qwen/qwen3.6-35b-a3b — — Closed. The cleanbuild tarball configuration was updated to include the snap directory, resolving the regression where it was incorrectly excluded due to historical naming conflicts.

Update history

Date Change
created

Related work

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

    Merged commit e35826ed4 changed cleanbuild packaging to include the snap directory.

Related issues

Issue Project State Summary Similarity
#1102 cleanbuild: include snap directory in tarball. snapcraft merged Merged PR #1102 (commit e35826ed4) stopped cleanbuild tarballs from excluding the restored snap/ directory, fixing LP #1661391.
84%
#2256 local source: don't include .snapcraft directory snapcraft merged Merged #2256 (commit abbc92427), fixing LP #1791773 by excluding .snapcraft from local-source copies and stale-part checks.
72%
#1772584 Having a "snap" directory with actual content causes build failures snapcraft (launchpad) closed Resolved by adding build-aux as an alternative location for Snapcraft assets, preserving source-tree snap directories; merged in snapcraft#2496 and #2551.
72%
#1558965 Snap building fails due to missing include directory snapcraft (launchpad) closed Fixed by merged PR snapcraft#397: configured include and library paths are now ensured to exist before use.
71%
#1796980 Remove cleanbuild snapcraft (launchpad) closed Merged snapcore/snapcraft#2335 as 27ec9ba63, removing LXD lifecycle builds for base-based snaps and making cleanbuild redundant for them.
70%