← Back to issue list

local git repositories cannot be cloned

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1979529
Type
issue
State
closed
Author
~ack
Labels
craft-1153
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Abandoned. Local git repositories could not be cloned via source-type: git. A workaround using SNAPCRAFT_PROJECT_DIR in override-build was provided. No resolution was implemented.

Suggested action:

No scores available.

Issue body

Cannot do the following: parts: part: source: local/dir source-type: git A workaround is to use $SNAPCRAFT_PROJECT_DIR in an override-build for a part, E.g.     override-build: |       UI_REVISION=$(git rev-parse "$SNAPCRAFT_PROJECT_DIR/src/maasui/src" HEAD)       ...

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned. Local git repositories could not be cloned via source-type: git. A workaround using SNAPCRAFT_PROJECT_DIR in override-build was provided. No resolution was implemented.
qwen/qwen3.6-35b-a3b Closed without a documented fix or resolution. The reported limitation preventing local git repository cloning appears abandoned, with users relying on $SNAPCRAFT_PROJECT_DIR workarounds.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The inability to clone local git repositories via source-type: git remains unfixed, with users relying on the provided $SNAPCRAFT_PROJECT_DIR override-build workaround.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1536698 Git source doesn't support submodules snapcraft (launchpad) closed Abandoned. Snapcraft does not fetch Git submodules during source builds, and the issue was closed without resolution or implementation.
72%
#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.
70%