← Back to issue list

Allow source-type to specify local

View original Github issue

Metadata

Project
snapcraft
Number
#1352
Type
pull request
State
merged
Author
jocave
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1352 restored local as a valid source-type, allowing snapcraft.yaml overrides to switch remote parts to local sources; regression coverage accompanied the change.

Resolution: closed resolved

Reason: canonical/snapcraft#1352 was merged after approval from two reviewers. It made local an accepted source-type and added supporting changes and tests, resolving LP #1695886.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Allows local overriding of a source-type to local LP: #1695886

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1352 restored local as a valid source-type, allowing snapcraft.yaml overrides to switch remote parts to local sources; regression coverage accompanied the change.
stealth/space-bunny-alpha — closed resolved Merged PR #1352 restored local as a valid source-type, allowing remote parts to be overridden for local iteration; it addresses LP #1695886.
stealth/space-bunny-alpha — closed resolved PR #1352 was merged, adding local as a valid source-type so remote parts can be overridden for local iteration; resolves LP #1695886.
qwen/qwen3.6-35b-a3b — — Merged. Enables local as a valid source-type in snapcraft.yaml, allowing remote sources to be overridden for local iteration. Approved by two reviewers after discussing implementation and test requirements. Resolves LP #1695886.
qwen3.6-35b-a3b-mtp-q6 — — Merged to allow explicit local source-type overrides, fixing a schema validation regression that blocked fast iteration workflows. Approved after the author committed to adding an integration test to prevent future regressions.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#1774489 source-type: local is not documented snapcraft (launchpad) closed Documentation gap resolved: the forum docs were updated, and Snapcraft 9's YAML reference now documents source-type: local.
74%
#1695886 Schema prevents user from specifying source-type local snapcraft (launchpad) closed Fixed by PR #1352 (commit 2610a8ac4), restoring support for explicitly specifying source-type: local.
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.
70%
#1816397 Modifying snapcraft.yaml with parts using local sources get dirty snapcraft (launchpad) closed Fixed in PR snapcore/snapcraft#2475 (53f96dc71): local-source dirty checks now ignore snap-directory changes, preventing manifest-only edits from rebuilding parts.
70%