← Back to issue list

sources: add snap source handler

View original Github issue

Metadata

Project
craft-parts
Number
#61
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged in canonical/craft-parts#61 via commit 47fbdb86, adding a Snapcraft-derived handler and tests to download and extract files from snap packages.

Resolution: closed resolved

Reason: PR #61 was merged into main as merge commit 28aeb37d. Commit 47fbdb86 adds the Snap source handler and accompanying tests.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The snap source handler takes care or downloading and extracting files from a snap package source. The snap source handler and accompanying tests are a direct port of the corresponding files in Snapcraft. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in canonical/craft-parts#61 via commit 47fbdb86, adding a Snapcraft-derived handler and tests to download and extract files from snap packages.
stealth/space-bunny-alpha — closed resolved Merged in canonical/craft-parts#61 via commit 47fbdb86, adding a Snapcraft-derived handler and tests to download and extract snap package sources.
stealth/space-bunny-alpha — closed resolved Merged in canonical/craft-parts#61 via commit 47fbdb86, adding a Snapcraft-derived handler to download and extract snap package sources.
qwen/qwen3.6-35b-a3b — — Merged. Added a snap source handler to download and extract snap package files, ported from Snapcraft. Approved by three reviewers, passed CI, and added 314 lines across eight files.
qwen3.6-35b-a3b-mtp-q6 — — Merged addition of a snap source handler to download and extract files from snap packages. The code is a direct port from Snapcraft, authored by maintainer cmatsuoka.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1126 feat: source handler snap support craft-parts merged Merged #1126 via commit df7c82f0, adding source-handler support for declaring snaps required to process source types (CRAFT-4561).
79%
#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.
79%
#47 packages: add snap-related exceptions craft-parts merged Merged craft-parts#47 via commit 63183278, adding dedicated exception classes for snap-handling errors used by craft_parts.packages.snaps.
73%
#955 sources: convert to package. snapcraft merged Merged PR #955 (commit 0ef7dc218) converted snapcraft/internal/sources.py into a package, groundwork for LP bug #1648906. Follow-ups #957 and #961-#970 then split each source handler into its own module.
70%