sources: improve missing local source error message
Metadata
Current evaluation
Merged PR #322 improved missing local-source handling to report a source-not-found error instead of exposing a file-copy error.
Resolution: closed resolved
Reason: canonical/craft-parts#322 was merged after two approvals with no unresolved review comments. Its change updates missing local sources to surface the appropriate error message.
Evaluated by: mr-cal-bot
No scores available.
Issue body
When a local source does not exist, display the appropriate "source not found" error message instead of surfacing a file copy error.
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 PR #322 improved missing local-source handling to report a source-not-found error instead of exposing a file-copy error. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/craft-parts#322 (commit fe97aef3), improving missing local source errors by showing a source-not-found message instead of a file copy error. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Updates error handling to display a clear source not found message instead of a file copy error when a local source is missing. Approved by two reviewers, passed CI, and changed 17 lines across two files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix that replaces generic file copy errors with a clear "source not found" message when a local source file is missing. The change improves error reporting for missing local sources. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #377 Correct local source pulling | snapcraft | merged | Merged PR #377 corrected symlink-aware local source checks, preventing cleanup failures and allowing local sources to be pulled twice without an "is a symlink" error. | |
| #958 Add source name to error message | snapcraft | merged | Merged PR #958 improved unsupported-source errors by including the source value; change committed as 7059b900e. |