← Back to issue list

Git source clones all history

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1536696
Type
issue
State
closed
Author
~kyrofa
Labels
Created
Updated
Closed

Current evaluation

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

Closed without implementation. The report that Snapcraft unnecessarily clones full Git history instead of fetching only the latest commit was abandoned due to prolonged inactivity.

Suggested action:

No scores available.

Issue body

When specifying the `source` of a part to be a Git repository, Snapcraft clones the entire branch/tag's history, which can potentially be massive. There's really no reason to do this-- Snapcraft only needs the most recent commit.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without implementation. The report that Snapcraft unnecessarily clones full Git history instead of fetching only the latest commit was abandoned due to prolonged inactivity.
qwen/qwen3.6-35b-a3b Closed without resolution. The request to optimize Snapcraft Git source cloning to fetch only the latest commit was abandoned due to lack of discussion.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The unnecessary full Git history cloning behavior was abandoned or superseded by updated source handling. No fix or merge was implemented.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#248 Git source: Make a shallow clone. snapcraft merged Merged changes to the git source that replace full history fetches with a depth-1 shallow clone, resolving Launchpad bug #1536696. The update modifies two files and received reviewer approval.
71%