← Back to issue list

fix: show better error when project file is missing

View original Github issue

Metadata

Project
snapcraft
Number
#4680
Type
pull request
State
closed
Author
syu-w
Labels
—
Created
Updated
Closed

Current evaluation

Merged in canonical/snapcraft#4680, improving the error shown when a project file is missing; the maintainer confirmed the code remained necessary for documentation links.

Resolution: closed resolved

Reason: PR #4680 was merged after approval, resolving the missing-project-file error behavior. A maintainer later confirmed the code was still needed to link the documentation.

Evaluated by: mr-cal-bot

No scores available.

Issue body

No description provided.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#4680, improving the error shown when a project file is missing; the maintainer confirmed the code remained necessary for documentation links.
stealth/space-bunny-alpha — closed resolved PR #4680 was merged after approval, improving the error shown when a project file is missing. The maintainer confirmed the code remains necessary for linking the documentation.
qwen/qwen3.6-35b-a3b — — Merged after approval, improving error messaging when a project file is missing. Code confirmed necessary for documentation linking.
qwen3.6-35b-a3b-mtp-q6 — — Closed after maintainer confirmed the improved error message for missing project files remains necessary. Code coverage passed.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4636 Better error message when we can't find snapcraft.yaml snapcraft open Missing snapcraft.yaml now raises ProjectFileMissingError, but its message lacks the requested documentation link; the original resolver was replaced by get_snap_project.
74%
#5256 docs: maintain project file terminology snapcraft merged Merged as commit 5330ae796 (head 19dff5b): docs sweep replacing 'snapcraft.yaml' with 'project file' where appropriate across 43 files (+792/-672), with snippet captions, indentation fixes, and a corrected Java example name.
72%
#5512 fix: don't crash if "snap" is a file snapcraft merged PR #5512 (commit 02e267fb9) merged: snapcraft now raises ProjectDirectoryTypeError with a clear message when ./snap is a file instead of crashing, fixing issue #5167.
71%
#5499 fix: evaluate variables in project file snapcraft merged Merged in canonical/snapcraft#5499 (commit abd5db829), restoring project-variable expansion and fixing #5491 in Snapcraft 8.9.2.
71%
#276 fix: show better error when project file is missing craft-application merged Merged #276 in commit c1f1f9c3, adding a specific missing project-file error with clearer details, resolution guidance, and an EX_NOINPUT exit status.
71%
#541 Improve the error message when a part binary is not found. snapcraft merged Merged canonical/snapcraft#541 via commit e76d91142, improving errors when a part binary cannot be found and resolving LP #1582367.
70%