← Back to issue list

Git source should check out a commit before recursing submodules

View original Github issue

Metadata

Project
craft-parts
Number
#898
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Bug
Created
2024-11-07 19:01:52+00:00
Updated
2026-03-24 20:53:26+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done Clone the remote, fetch by the commit, the recurse submodules. ### Why it needs to get done Craft-parts currently clones a project, recursively fetches submodules, then checks out a specific commit. Fetching submodules before switching to the commit is incorrect and can fail. @dariuszd21 can advise on this task as he has been working with these types of fetching scenarios. source: @tomponline via https://github.com/canonical/lxd-pkg-snap/pull/594/files#r1831605307

Evaluation history

No evaluation history available.