fix: allow for deep clones with source-commit
Metadata
Current evaluation
Merged #6067 as 8dd4ca40c, bumping Craft Parts to adopt #1476 and allow deep clones for source-commit builds.
Resolution: closed resolved
Reason: PR #6067 was merged as commit 8dd4ca40c. Its dependency bump incorporated canonical/craft-parts#1476 (f1e2c927), which avoids shallow fetching unless source-depth is set, enabling full-hash source-commit clones.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Bumps Craft Parts to get https://github.com/canonical/craft-parts/pull/1476.
---
- [ ] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md).
- [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [ ] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
- [ ] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #6067 as 8dd4ca40c, bumping Craft Parts to adopt #1476 and allow deep clones for source-commit builds. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in snapcraft#6067 (8dd4ca40c), bumping Craft Parts to canonical/craft-parts#1476 so shallow fetches occur only when source-depth is set, fixing source-commit deep clones. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/snapcraft#6067 (8dd4ca40c), bumping Craft Parts to adopt canonical/craft-parts#1476 so source-commit can use deep clones. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix that bumps the Craft Parts dependency to enable deep clones with source-commit. Approved by two reviewers, passed CI checks, and updated two files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a Craft Parts dependency bump to incorporate upstream PR #1476, resolving deep clone failures with source-commit. The maintainer integrated the fix after passing lint and test checks. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-parts#1476
(confidence 100%)
Merged Craft Parts fix adopted by the Snapcraft dependency bump.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1378 fix: shallow clone with source-commit if possible | craft-parts | merged | Merged PR #1378 as ae26318e: Git pulls now prefer a shallow fetch for source-commit when possible, with deep-fetch fallback, fixing #1360. | |
| #1476 fix(git-source): only shallow fetch if a source-depth is provided | craft-parts | merged | Merged as commit f1e2c927 (#1476): git-source now shallow-clones only when a non-zero source-depth is set, so full-hash source-commit no longer forces a shallow fetch. Released in craft-parts 2.28.1 and merged back via #1481. | |
| #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. |