← Back to issue list

Add support for snap/local directory

View original Launchpad issue

Metadata

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

Current evaluation

snap/local support was merged in canonical/snapcraft#2268 via commit 10bdb0473, allowing snap-specific local-source files and adding tests.

Resolution: closed resolved

Reason: PR canonical/snapcraft#2268 was merged as commit 10bdb0473. Its changes allowed the snap/local directory and added coverage for it.

Evaluated by: mr-cal-bot

No scores available.

Issue body

It's natural for folks creating snaps (especially those accustomed to debian packaging) to want to put all snap-specific files into the snap/ directory. This is not currently supported by the snapcraft CLI. Add support for a special snap/local directory that folks can use for local sources.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved snap/local support was merged in canonical/snapcraft#2268 via commit 10bdb0473, allowing snap-specific local-source files and adding tests.
stealth/space-bunny-alpha — closed resolved Support for snap/local was implemented by merged PR snapcore/snapcraft#2268 in commit 10bdb0473, allowing snap-specific local source files.
stealth/space-bunny-alpha — closed resolved Snap/local directory support was delivered by merged PR canonical/snapcraft#2268, allowing snap-specific files in that directory.
qwen/qwen3.6-35b-a3b — — The request to add snap/local directory support was closed without implementation or discussion. Zero comments and no follow-up activity indicate the feature request was abandoned or deferred.
qwen/qwen3.6-35b-a3b — — Support for a snap/local directory was closed without implementation. With zero comments and nearly eight years of inactivity, the request was abandoned.
qwen/qwen3.6-35b-a3b — — Abandoned. The request to add snap/local directory support for local sources was closed without implementation or discussion.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The feature request was abandoned due to inactivity, with zero comments and no code changes or official resolution provided.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#2268 (confidence 100%)

    Merged PR that implemented snap/local support and resolved the issue.

Related issues

Issue Project State Summary Similarity
#2268 sanity checks: allow snap/local dir snapcraft merged Merged PR #2268 via commit 10bdb0473 allowed snapcraft-specific files under snap/local/ and added tests, resolving LP #1792203.
78%
#2502 meta: fix management of snap/local snapcraft merged Merged PR #2502 stopped snap/local from being copied into built snaps and improved copying for embedded directories in commit e48cd84d6.
74%
#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.
73%
#1791773 Local source change detection doesn't filter out snap/.snapcraft directory snapcraft (launchpad) closed Local-source change detection now excludes the snap/.snapcraft directory; the fix was merged in canonical/snapcraft#2256 as commit abbc92427.
72%
#38 sources: add the local source handler craft-parts merged Merged PR #38 via 0f3c434b, adding pull/update support for host-filesystem sources with a Snapcraft-derived implementation and tests.
71%
#567 Add Subversion support snapcraft merged Merged Subversion source support, tests, and packaging updates in canonical/snapcraft#567 (commit 0e1ec16e6), fixing Launchpad bug 1543243 and shipping in Snapcraft 2.12.
70%