snapcraft-parser without git installed throw bad error
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Closed without resolution. The unhandled OSError when git is missing was not addressed, and the request for graceful dependency validation was abandoned due to prolonged inactivity.
Suggested action: —
No scores available.
Issue body
If I run snapcraft-parser without git, I get:
[Errno 2] No such file or directory: 'git'
This needs to be a more user-friendly error message suggesting to install the missing package. The same needs to happen for other missing deps.
To reproduce:
sudo apt remove git
sudo apt install snapcraft-parser
snapcraft-parser -i https://wiki.ubuntu.com/snapcraft/parts?action=raw
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The unhandled OSError when git is missing was not addressed, and the request for graceful dependency validation was abandoned due to prolonged inactivity. | |
| qwen/qwen3.6-35b-a3b | — | — | Requesting user-friendly error messages for missing dependencies like git was abandoned due to inactivity. No fixes or pull requests were submitted. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution due to inactivity. The requested improvement to handle missing dependencies like git with user-friendly error messages was never implemented and the issue was abandoned. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1660891 snapcraft-parser crashes when the origin-type is wrong | snapcraft (launchpad) | closed | Closed without comments or resolution. The parser crashed with a CalledProcessError when origin-type was incorrectly set to git for a local directory. Issue appears abandoned or fixed upstream. | |
| #1495893 snapcraft does not auto-install jsonschema | snapcraft (launchpad) | closed | Closed without resolution. The missing jsonschema dependency causing an ImportError was never addressed. The issue remains abandoned. | |
| #1539146 snapcraft dependencies are too big | snapcraft (launchpad) | closed | Closed without resolution. The maintainer flagged oversized runtime and build dependencies, recommending dynamic VCS installation and reassessment of several packages. No follow-up occurred, and the report was abandoned. | |
| #1496363 snapcraft fails to build because of missing build-dep for tests | snapcraft (launchpad) | closed | Abandoned. Closed without resolution due to a missing requests build dependency for tests. No comments or follow-up actions were recorded. | |
| #2085813 snapcraft not installable | snapcraft (launchpad) | closed | Abandoned and closed due to a GLIBC_2.38 runtime incompatibility during installation. No resolution or fix was provided. | |
| #1973146 snapcraftctl build fails with message "expected string or bytes-like object" | snapcraft (launchpad) | closed | Closed without comments or resolution details. Likely abandoned due to inactivity. No fix was implemented or documented for the snapcraftctl build TypeError. |