packages: add snap-related exceptions
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
Add exception classes for snap handling errors. These will be used
in `craft_parts.packages.snaps`.
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 |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Added exception classes for snap handling errors to craft_parts.packages.snaps. The pull request was merged by maintainer Claudio Matsuoka. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #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. | |
| #80 packages: handle packages with no candidate (CRAFT-219) | craft-parts | merged | Merged. Adds None checks for package candidates, raising PackageNotFoundError. Fixes unmarking crashes with ESM repositories. Port of snapcraft PR #3528. Approved by two reviewers, passed CI, merged with 112 additions and 21 deletions. | |
| #2492 store: handle invalid snap file errors | snapcraft | merged | Merged changes implementing error handling for corrupt or invalid snap files during package data extraction for signing or push. Approved by reviewer, passed CI checks, and successfully integrated to master, resolving SNAPCRAFT-GE. | |
| #46 tests: add fake snapd fixture | craft-parts | merged | Merged after two approvals and passing CI. Introduces a fake snapd fixture to test snap package handling in craft-parts.packages. Adds 212 lines across two files. Windows compatibility limitations were noted for separate follow-up. | |
| #1126 feat: source handler snap support | craft-parts | merged | 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. | |
| #161 snap: do not refresh already installed snaps | craft-parts | merged | Merged a port of snapcraft#3617 to craft-parts. The change prevents refreshing already installed snaps by removing two lines of code. Approved by one reviewer and passed CI checks. | |
| #1158 packaging: snapcraft as a snap | snapcraft | merged | Merged integration changes to build snapcraft as a snap. Modified 8 files with 147 additions and 10 deletions to package the tool itself as a snap. Review feedback was addressed prior to merge. | |
| #2752 errors: migrate handful of errors to SnapcraftException | snapcraft | merged | Merged. Migrates multiple error classes to SnapcraftException, adds a SnapcraftReportableException helper, simplifies error messages, and updates tests. Approved by a maintainer and passed CI checks. | |
| #5188 fix: improve error message from snapd pack | snapcraft | merged | Merged fix improving snapd pack error messages, resolving issue #4499. Approved by three reviewers, the update modifies seven files with 122 additions and 9 deletions to enhance error reporting. |