← Back to issue list

Git source doesn't support submodules

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1536698
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.

Abandoned. Snapcraft does not fetch Git submodules during source builds, and the issue was closed without resolution or implementation.

Suggested action:

No scores available.

Issue body

When specifying a `source` that is a Git repository that utilizes submodules, Snapcraft can't build the result as it doesn't fetch/check out the submodules.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned. Snapcraft does not fetch Git submodules during source builds, and the issue was closed without resolution or implementation.
qwen/qwen3.6-35b-a3b Snapcraft's inability to fetch Git submodules was abandoned after closure due to inactivity. No fix or workaround was implemented.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation or discussion. The Git submodule fetching limitation remains unresolved, indicating the issue was abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1817907 building part with git source-commit not found in master fails snapcraft (launchpad) closed Closed without resolution due to inactivity. Snapcraft fails to checkout non-master git commits without a prior fetch, leaving the issue abandoned.
75%
#1687967 git-tag does not support tags snapcraft (launchpad) closed Snapcraft incorrectly treated source tags as branches, causing clone failures. The report was closed without comments or resolution, indicating the issue was abandoned or rejected without a fix.
74%
#5840 fix(snapcraft): do not fetch git submodules during build (Fixes #5837) snapcraft closed Proposed changes to disable git submodule fetching during Snapcraft builds were closed without merging. The reviewer rejected the contribution, stating the underlying issue cannot be resolved at this time, despite successful local verification and CI passes.
74%
#1979529 local git repositories cannot be cloned snapcraft (launchpad) closed 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.
72%
#1720202 the snapcore/snapcraft image doesn't have git installed snapcraft (launchpad) closed Closed without resolution or comments. The request to include git in the snapcore/snapcraft Docker image was abandoned or superseded by newer builds.
71%
#1521878 Latest snapcraft cannot compile a project in the github snapcraft (launchpad) closed Closed without comments or resolution, likely abandoned due to inactivity. The reported GitHub source pull failure remains unaddressed.
70%
#1640675 Add source option for git submodules snapcraft (launchpad) open Feature request to add a source-submodules option to the git source so only listed submodules are cloned instead of all recursively. The requested option was implemented in merged PR canonical/snapcraft#3629, so the issue is outdated and ready to close.
70%