← Back to issue list

Backport to 1.x: Git source: Make a shallow clone.

View original Github issue

Metadata

Project
snapcraft
Number
#250
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #250 backported #248 to 1.x, making Git sources use shallow clones instead of downloading full repository history.

Resolution: closed resolved

Reason: PR #250 was merged into the 1.x branch with the shallow-clone change from PR #248, whose implementation commit is 6ebd8e68d.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Backport of #248 for 1.x

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #250 backported #248 to 1.x, making Git sources use shallow clones instead of downloading full repository history.
stealth/space-bunny-alpha — closed resolved Merged into the 1.x branch via #250, backporting #248 so Git sources use depth-1 shallow clones instead of fetching full history.
stealth/space-bunny-alpha — closed resolved Merged into 1.x as canonical/snapcraft#250, backporting #248 to make Git source checkouts use shallow clones.
qwen/qwen3.6-35b-a3b — — Merged a backport of PR #248 to the 1.x branch, implementing shallow cloning for the Git source. The change modifies two files (+6/-6 lines) to optimize repository checkout.
qwen3.6-35b-a3b-mtp-q6 — — Merged a backport of PR #248 to the 1.x branch, implementing shallow cloning for the Git source to optimize repository fetches.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#248 (confidence 100%)

    Original merged Git shallow-clone change explicitly backported by PR #250.

Related issues

Issue Project State Summary Similarity
#258 Backport to 1.x: Git source: Support submodules. snapcraft merged Merged #258, backporting #249 to the 1.x branch to add recursive cloning and Git submodule updates for Git sources.
86%
#248 Git source: Make a shallow clone. snapcraft merged Merged #248 (commit 6ebd8e68d; merge 321b13277), changing Git sources from full clones to depth-1 shallow clones and resolving LP #1536696.
77%
#1536696 Git source clones all history snapcraft (launchpad) closed Fixed by merged PR canonical/snapcraft#248 (commit 6ebd8e68d, merge 321b13277): Git sources now use a depth-1 shallow clone instead of fetching full history. Maintainer kyrofa linked the PR as the fix for LP #1536696.
74%