← Back to issue list

Expose the invalid build-package on error

View original Github issue

Metadata

Project
snapcraft
Number
#355
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #355 (commit 8bc9e0599, merge f4b75f95a) for LP bug #1547672: invalid build-packages now surface apt's KeyError so the offending package name is shown; approved by kyrofa.

Resolution: closed resolved

Reason: The PR was merged into main as merge commit f4b75f95a ("Merge pull request #355 from sergiusens/bugfix/1547672/mention-the-package") with commit 8bc9e0599 "Expose the invalid build-package on error", re-raising apt's KeyError to name the bad build-package. Reviewer kyrofa approved ("Much better! :+1:"), and the PR state is merged.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The error that results from using an invalid build-package is not very specific. This exposes the KeyError raised by apt. LP: #1547672 Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #355 (commit 8bc9e0599, merge f4b75f95a) for LP bug #1547672: invalid build-packages now surface apt's KeyError so the offending package name is shown; approved by kyrofa.
stealth/space-bunny-alpha — closed resolved Merged PR #355, exposing apt's KeyError for invalid build-packages so errors identify the offending package (commit 8bc9e0599).
qwen/qwen3.6-35b-a3b — — Merged to improve error reporting for invalid build-package configurations by exposing the underlying apt KeyError. Approved and integrated for clearer diagnostics.
qwen3.6-35b-a3b-mtp-q6 — — Merged changes exposing the underlying apt KeyError when an invalid build-package is specified. Improves error clarity for LP: #1547672. Approved by @kyrofa and merged into the codebase.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#f4b75f95a (confidence 90%)

    Merge commit f4b75f95a merging branch bugfix/1547672/mention-the-package into main.

Related issues

No related issues found above the similarity threshold.