← Back to issue list

no way to use non-recursive git source

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1957767
Type
issue
State
closed
Author
~xnox
Labels
—
Created
Updated
Closed

Current evaluation

Merged in snapcore/snapcraft#3629, adding configurable Git submodule fetching so non-recursive clones can be requested.

Resolution: closed resolved

Reason: PR #3629 was merged via commit 383c1f1ce with the change “sources: make submodule fetching configurable,” directly addressing non-recursive Git sources.

Evaluated by: mr-cal-bot

No scores available.

Issue body

no way to use non-recursive git source I'd like to git clone non-recursive. There is no option to do that via snapcraft.yaml syntax. I have switched to override-pull but that seems to have incorrect, proxy-less environment, and failing to clone. When using snapcraft 6.0.1 (the one that does pull before build). Please pass proxy settings to override-pull in snapcraft 6.0.1 Please add yaml syntax to specify non-recursive git clone

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in snapcore/snapcraft#3629, adding configurable Git submodule fetching so non-recursive clones can be requested.
stealth/space-bunny-alpha — closed resolved Non-recursive Git sources are supported via `source-submodules: []` by merged PR canonical/snapcraft#3629; omitting the field retains recursive submodule fetching.
stealth/space-bunny-alpha — closed stale Request for non-recursive Git clones and proxy propagation to override-pull was closed as abandoned after inactivity, without a fix or replacement.
qwen/qwen3.6-35b-a3b — — Abandoned due to inactivity. The request for a non-recursive git clone option and proxy support in override-pull was closed without implementation or resolution.
qwen/qwen3.6-35b-a3b — — A feature request for non-recursive git clone syntax and proxy support in override-pull was closed without implementation. No fix or resolution was provided, leaving the request abandoned.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request for a non-recursive git clone option and proxy support in override-pull was abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Abandoned. The request for non-recursive git cloning and proxy passthrough in override-pull was closed without implementation due to inactivity.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#3629 (confidence 98%)

    The linked PR added configurable submodule fetching and was merged into Snapcraft.

  • Related To: snapcraft (launchpad)#1958282 (confidence 90%)

    The reporter's separate proxy-problem request was tracked under this Launchpad bug.

Related issues

Issue Project State Summary Similarity
#1536698 Git source doesn't support submodules snapcraft (launchpad) closed Git source submodule support was implemented and merged in ubuntu-core/snapcraft PR #249 (merge commit 1984cb339), using recursive cloning and submodule updates on pull.
80%
#249 Git source: Support submodules. snapcraft merged Merged canonical/snapcraft#249 via 1984cb339, adding recursive Git cloning and submodule updates on pull to resolve LP #1536698.
76%
#3635 sources: make submodule fetching configurable snapcraft merged Merged into snapcraft/7.0 as 4fabb9a1d, backporting #3629 to add configurable Git submodule fetching through source-submodules.
75%
#1694765 source-type: git uses --remote for submodules snapcraft (launchpad) closed Fixed by merged PR snapcore/snapcraft#1344 (commit a8500f718), removing --remote from Git submodule updates so superproject-recorded revisions are honored.
72%
#1979529 local git repositories cannot be cloned snapcraft (launchpad) closed Local Git sources became cloneable in Snapcraft 7.1.1; the fix was merged via snapcraft#3861 in commit 4481326d6.
72%
#1614520 parser fails when getting git sources that have merge conflicts snapcraft (launchpad) closed Fixed by snapcore/snapcraft#1052, merged as commit d22880fdc, making Git pulls more resilient to history changes and merge conflicts.
71%
#1640675 Add source option for git submodules snapcraft (launchpad) closed Feature request implemented: source-submodules added to git sources, merged as snapcraft PR #3629 (383c1f1ce) and craft-parts PR #169 (3891f255); shipped in Snapcraft 7 and 8. Maintainer closed the2016 Launchpad bug as done.
70%