← Back to issue list

packages: add snap-related exceptions

View original Github issue

Metadata

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

Current evaluation

Merged craft-parts#47 via commit 63183278, adding dedicated exception classes for snap-handling errors used by craft_parts.packages.snaps.

Resolution: closed resolved

Reason: PR #47 was merged through commit 63183278 with merge commit 69c55a83, adding the planned snap-related exception classes.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged craft-parts#47 via commit 63183278, adding dedicated exception classes for snap-handling errors used by craft_parts.packages.snaps.
stealth/space-bunny-alpha — closed resolved Merged PR #47 (merge69c55a83, commit 63183278) adding SnapInvalidFormat, SnapUnavailable, SnapInstallError, SnapDownloadError, SnapRefreshError, SnapGetAssertionError and SnapdConnectionError to craft_parts/packages/errors.py, later used by craft_parts.packages.snaps.
stealth/space-bunny-alpha — closed resolved Merged in craft-parts#47 (commit 63183278), adding exception classes for snap-handling errors in craft_parts.packages.
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
#61 sources: add snap source handler craft-parts merged Merged in canonical/craft-parts#61 via commit 47fbdb86, adding a Snapcraft-derived handler and tests to download and extract files from snap packages.
73%
#2752 errors: migrate handful of errors to SnapcraftException snapcraft merged Merged as be725892c: added SnapcraftReportableException, converted MissingStateClean, StepOutdatedError, SnapcraftEnvironmentError, SnapcraftDataDirectoryMissingError and SnapcraftMissingLinkerInBaseError to SnapcraftException, shortening messages and updating tests.
71%
#229 packages: add debug messages for snap install craft-parts merged Merged PR #229 via 13d5aca5, adding three debug messages for snap installation in craft_parts/packages/snaps.py.
70%