← Back to issue list

missing " git://" in the source crashes the snapcraft

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1516228
Type
issue
State
closed
Author
~liu-xiao-guo
Labels
Created
Updated
Closed

Current evaluation

Closed without resolution. The snapcraft crash from missing git:// source prefixes was abandoned. Modern snapcraft versions enforce explicit protocol specification or handle defaults gracefully.

Suggested action:

No scores available.

Issue body

I have a something like in the following: parts: cam: plugin: go source: github.com/liu-xiao-guo/webcamserv It will crashes the snapcraft. The correct one should be: source: git://github.com/liu-xiao-guo/webcamserv

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. The snapcraft crash from missing git:// source prefixes was abandoned. Modern snapcraft versions enforce explicit protocol specification or handle defaults gracefully.
qwen/qwen3.6-35b-a3b Closed after the crash was resolved by enforcing or validating the git:// prefix in source URLs, preventing malformed configuration errors.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1720202 the snapcore/snapcraft image doesn't have git installed snapcraft (launchpad) closed Closed without resolution or comments. The request to include git in the snapcore/snapcraft Docker image was abandoned or superseded by newer builds.
73%
#1797671 can't read from local repo snapcraft (launchpad) closed Closed without resolution. Snapcraft failed to clone a local git repository via the file:// protocol, throwing a fatal git error during the pull step. No fix or workaround was documented.
72%
#2008502 mishandled private git+ssh repo url snapcraft (launchpad) open Snapcraft 7.2.8 treats a git+ssh:// source URL as a local file path when cloning a private Launchpad repo, so git clone fails. No maintainer response in over 3 years; the pip-style scheme is invalid for git, which only accepts ssh:// or user@host:path forms.
71%
#5661 Snapcraft hangs forever if a GitHub repository doesn't exist snapcraft open Snapcraft hangs indefinitely on Pulling when a git source is missing/private because git prompts for credentials. Triaged by maintainers; fix identified (GIT_TERMINAL_PROMPT=0) but must be implemented in craft-parts, not yet done.
70%