← Back to issue list

feat: source handler snap support

View original Github issue

Metadata

Project
craft-parts
Number
#1126
Type
pull request
State
merged
Author
bepri
Labels
Created
Updated
Closed

Current evaluation

Added support for source types to specify required snaps for handling. Merged after approval by three reviewers and passing all CI checks. Changes span four files with 46 additions, resolving CRAFT-4561.

Suggested action:

No scores available.

Issue body

- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ----- Add support for source types providing a list of snaps necessary to handle that source. CRAFT-4561.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Added support for source types to specify required snaps for handling. Merged after approval by three reviewers and passing all CI checks. Changes span four files with 46 additions, resolving CRAFT-4561.
qwen3.6-35b-a3b-mtp-q6 Merged feature adding support for source types to specify required snaps for handling them, resolving CRAFT-4561. Submitted directly by maintainer bepri without additional comments.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#61 sources: add snap source handler craft-parts merged 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.
81%
#38 sources: add the local source handler craft-parts merged Merged the local source handler for pull and update operations on host filesystem sources. Ported from snapcraft, the change was approved by two reviewers, passed CI, and added 522 lines across three files.
76%
#149 sources: add the git source handler (CRAFT-588) craft-parts merged Successfully merged a pull request adding a git source handler to specify git repositories as a part source. Code and tests were ported from snapcraft with initialization and write methods removed. Approved and passed CI checks.
74%
#49 packages: add snap package support craft-parts merged Merged after implementing snap download and installation for stage and build snaps. Approved by two reviewers, passed CI, and added 1,072 lines across five files. Follows snapcraft conventions with future refactoring planned.
73%
#47 packages: add snap-related exceptions craft-parts merged Added exception classes for snap handling errors to craft_parts.packages.snaps. Approved by two reviewers, passed CI checks, and merged with 163 additions and 18 deletions across two files.
71%
#2604 sources: introduce SnapcraftSourceNotFoundError snapcraft merged Merged. Introduces SnapcraftSourceNotFoundError to improve error messaging for missing sources, chaining to FileNotFoundError. Adds unit tests, fixes formatting, and resolves internal tickets SNAPCRAFT-VV, VN, TJ, T9, and TE. Approved and CI-passed.
71%
#4 snap: introduce initial snap packaging (CRAFT-578) rockcraft merged Merged initial snap packaging implementation (CRAFT-578). Approved by one reviewer, passed CI checks, and added 86 lines across three files.
71%
#1577062 Add support for zip files snapcraft (launchpad) closed Implemented and merged zip file source support in Snapcraft. The feature extracts zip archives during the pull phase via the source-type parameter. Verification completed successfully.
71%
#508 feat: add snap sections inspector fetch-service merged Merged the addition of a Snap Store sections API inspector, resolving issue #512. Approved by two reviewers, passed all CI checks, and integrated by maintainer cmatsuoka.
70%
#2256 local source: don't include .snapcraft directory snapcraft merged Resolved LP: #1791773 by merging a change that excludes the .snapcraft directory from copying and part staleness checks. Approved, passed CI, and merged with a six-line update across two files.
70%